A data processing method, device, equipment and readable storage medium

By updating and matching security control policies, the problem of IP addresses conflicts between different LANs in the security control platform is solved, and resource conservation and tenant management are achieved for tenants' multiple LANs.

CN114615079BActive Publication Date: 2024-11-29SANGFOR TECH INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210333092.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-31
Publication Date
2024-11-29
Estimated Expiration
2042-03-31

AI Technical Summary

Technical Problem

When the existing security control platform manages LANs of multiple tenants, the intranet IP addresses in different LANs may be the same, resulting in waste of resources and inconvenient tenant management, and it is impossible to effectively distinguish the traffic of different LANs.

Method used

By obtaining the original data packets in the target LAN of the target tenant, updating the data packets to determine the tenant and the LAN, matching the security control policy based on the new data packet, using the matching policies for security control, and solving the problem of intranet IP address conflicts. This enables multiple LANs to use a service stack for traffic auditing and other services.

Benefits of technology

It realizes refined control of traffic in different LANs, saves resources of the security control platform, simplifies tenant management, and avoids waste of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114615079B_ABST
    Figure CN114615079B_ABST
Patent Text Reader

Abstract

The present application discloses a data processing method, device, equipment and readable storage medium. After obtaining the original data packet in any target LAN of any target tenant, the present application updates the original data packet to a new data packet that can determine the tenant and LAN to which the original data packet belongs, identifies which LAN of which tenant the current traffic comes from based on the new data packet, and subsequently uses the matched security management and control strategy to perform security management on the new data packet. This solution can also locate the Internet terminal corresponding to the current traffic in combination with the intranet IP address in the data packet, thereby solving the problem of intranet IP conflicts in different LANs. On this basis, multiple LANs of a tenant can use one service stack to perform services such as traffic auditing, which can save resources and is also beneficial to tenant management. The data processing device, equipment and readable storage medium provided by the present application also have the above-mentioned technical effects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a data processing method, device, equipment and readable storage medium. Background Art

[0002] Currently, the security management and control platform can perform security management and control on the LANs of multiple tenants. For example, it can set up a firewall for a tenant's LAN, analyze intranet traffic, and perform identity authentication on intranet terminals.

[0003] Among them, tenants are enterprises or individuals who rent various services provided by the security management and control platform. Therefore, the services provided by the security management and control platform to each tenant will be isolated. For example: a tenant uses a service stack, and each service stack is isolated from each other. If a tenant has multiple LANs that are all controlled by the security management and control platform, since the intranet IP addresses in different LANs may be the same, the service stack's analysis of traffic needs to locate the terminal in the intranet based on the intranet IP address. In order to distinguish the same IP addresses in different LANs of a tenant, the current security management and control platform regards different LANs of a tenant as different tenants and sets up service stacks for them separately, but this method will cause a waste of resources and is not conducive to tenant management.

[0004] Therefore, how to save service resources in the security management and control platform is a problem that technical personnel in this field need to solve. Summary of the invention

[0005] In view of this, the purpose of this application is to provide a data processing method, device, equipment and readable storage medium to save service resources in the security management and control platform. The specific scheme is as follows:

[0006] In a first aspect, the present application provides a data processing method, which is applied to a security management and control platform, including:

[0007] Get the original data packet in any target LAN of any target tenant;

[0008] Updating the original data packet to obtain a new data packet capable of determining the tenant and the local area network to which the original data packet belongs;

[0009] A security control policy is matched based on the new data packet, and security control is performed on the new data packet using the matched security control policy.

[0010] Optionally, updating the original data packet to obtain a new data packet capable of determining the tenant and the local area network to which the original data packet belongs includes:

[0011] Modify the intranet IP address in the original data packet into a virtual IP address having a mapping relationship with the tenant identifier of the target tenant, the local area network identifier of the target local area network, and the intranet IP address, to obtain the new data packet;

[0012] Accordingly, the matching of the security control policy based on the new data packet includes:

[0013] Parse the new data packet to obtain the virtual IP address, determine the tenant identifier, the LAN identifier and the intranet IP address based on the mapping relationship, and match the security management and control policy based on the tenant identifier, the LAN identifier and the intranet IP address.

[0014] Optionally, updating the original data packet to obtain a new data packet capable of determining the tenant and the local area network to which the original data packet belongs includes:

[0015] Encapsulating the original data packet, the tenant identifier of the target tenant, and the local area network identifier of the target local area network to obtain the new data packet;

[0016] Accordingly, the matching of the security control policy based on the new data packet includes:

[0017] The new data packet is parsed to obtain the tenant identifier, the local area network identifier, and the intranet IP address in the original data packet, and the security management and control policy is matched based on the tenant identifier, the local area network identifier, and the intranet IP address.

[0018] Optionally, encapsulating the original data packet, the tenant identifier of the target tenant, and the local area network identifier of the target local area network to obtain the new data packet includes:

[0019] According to a preset protocol, the tenant identifier and the local area network identifier are encapsulated as a protocol header field, and the original data packet is encapsulated as a protocol data entity to obtain the new data packet.

[0020] Optionally, the security management and control platform includes multiple nodes, and the target local area network is connected to any node.

[0021] Optionally, the configuration process of the security management and control policy includes:

[0022] Obtain the security control policy corresponding to the intranet IP address in the target LAN of the target tenant;

[0023] A matching relationship is established between the security management and control policy and the tenant identifier, the local area network identifier, and the intranet IP address.

[0024] Optionally, performing security control on the new data packet by using the matched security control policy includes:

[0025] The security control policy is used to perform traffic audit on the data entity in the new data packet to obtain an audit log corresponding to the intranet IP address in the target LAN of the target tenant.

[0026] In a second aspect, the present application provides a data processing device, which is applied to a security management and control platform, including:

[0027] An acquisition module, used to acquire original data packets in any target LAN of any target tenant;

[0028] An updating module, used for updating the original data packet to obtain a new data packet capable of determining the tenant and the local area network to which the original data packet belongs;

[0029] The security control module is used to match the security control policy based on the new data packet, and perform security control on the new data packet using the matched security control policy.

[0030] In a third aspect, the present application provides an electronic device, including:

[0031] Memory for storing computer programs;

[0032] The processor is used to execute the computer program to implement the data processing method disclosed above.

[0033] In a fourth aspect, the present application provides a readable storage medium for storing a computer program, wherein the computer program implements the aforementioned disclosed data processing method when executed by a processor.

[0034] From the above scheme, it can be seen that the present application provides a data processing method, which is applied to a security management and control platform, including: obtaining the original data packet in any target local area network of any target tenant; updating the original data packet to obtain a new data packet that can determine the tenant and local area network to which the original data packet belongs; matching the security management and control policy based on the new data packet, and using the matched security management and control policy to perform security management on the new data packet.

[0035] It can be seen that after obtaining the original data packet in any target LAN of any target tenant, the present application will update the original data packet to a new data packet that can determine the tenant and LAN to which the original data packet belongs. Then, based on this new data packet, it can be identified which LAN of which tenant the current traffic comes from, and the corresponding security control policy can be matched later, and the new data packet can be securely controlled using the matched security control policy. Since the data packet will carry the intranet IP address in the LAN, after the present application identifies which LAN of which tenant the traffic comes from, it can locate the Internet terminal in the LAN in combination with the intranet IP address in the data packet, thus solving the intranet IP address conflict problem in different LANs. Since the scheme can identify which IP address in which LAN of which tenant the current traffic comes from, there is no need to consider the intranet IP address conflict problem in different LANs, so that multiple LANs of a tenant can use one service stack to perform services such as traffic auditing, which can save resources and is also beneficial to tenant management.

[0036] Correspondingly, a data processing device, equipment and readable storage medium provided by the present application also have the above-mentioned technical effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0038] Figure 1 A flow chart of a data processing method disclosed in this application;

[0039] Figure 2 A data processing schematic diagram disclosed in this application;

[0040] Figure 3 This is another data processing schematic diagram disclosed in this application;

[0041] Figure 4 A schematic diagram of a data encapsulation format disclosed in this application;

[0042] Figure 5 A schematic diagram of a data processing device disclosed in this application;

[0043] Figure 6 A schematic diagram of an electronic device disclosed in this application;

[0044] Figure 7 This is a schematic diagram of another electronic device disclosed in this application. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0046] At present, since the intranet IP addresses in different LANs of a tenant may be the same, and the service stack in the security control platform needs to locate the terminal in the intranet based on the intranet IP address to analyze the traffic. Therefore, in order to distinguish the same IP addresses in different LANs of a tenant, the current security control platform regards different LANs of a tenant as different tenants and sets up service stacks for them respectively, but this method will cause waste of resources and is not conducive to tenant management. To this end, the present application provides a data processing solution that enables multiple LANs of a tenant to use a service stack for services such as traffic auditing, saving service resources in the security control platform.

[0047] See also Figure 1 As shown, the embodiment of the present application discloses a data processing method, which is applied to a security management and control platform, including:

[0048] S101. Acquire an original data packet in any target LAN of any target tenant.

[0049] It should be noted that the security management and control platform includes multiple nodes, which are distributed in different geographical locations. If a tenant wants his local area network to be managed by the security management and control platform, he can connect his local area network to any node, generally the nearest one. Therefore, the target local area network in this embodiment is connected to any node in the security management and control platform.

[0050] S102: Update the original data packet to obtain a new data packet capable of identifying the tenant and local area network to which the original data packet belongs.

[0051] Source IP and destination IP are necessary fields in the data packet, so step S102 only needs to change the original data packet into a new data packet that can determine the tenant and LAN to which the original data packet belongs, and then based on the new data packet, it can determine: source IP, destination IP, tenant and LAN to which the data packet belongs, so that the terminal accessing the Internet in the LAN can be identified. Since the above multiple information is determined for a data packet, even if the intranet IP address as the source IP or destination IP in the two data packets is the same, the two can be distinguished. For example: the information determined for data packet 1 includes: tenant A, LAN B, and the packet sending IP is C. The information determined for data packet 2 includes: tenant A, LAN C, and the packet sending IP is C. It can be seen that even if data packets 1 and 2 both belong to tenant A, and the packet sending IPs are both C, it can still be identified that: data packet 1 is sent by a terminal with an IP of C in LAN B of tenant A, and data packet 2 is sent by a terminal with an IP of C in LAN C of tenant A. It can be seen that after obtaining the tenant, LAN, and intranet IP address to which the data packet belongs, there is no need to consider the conflict of intranet IP addresses in different LANs, so this embodiment solves this problem.

[0052] The original data packet may be a data packet sent by an Internet access terminal in the local area network, or a data packet flowing into the local area network from the Internet.

[0053] S103: Match the security control policy based on the new data packet, and use the matched security control policy to perform security control on the new data packet.

[0054] Based on the intranet IP address, the traffic analysis is located at the terminal in the intranet, and the local area network of each tenant can be more finely controlled. In a specific implementation, the new data packet is security controlled using the matched security control policy, including: using the security control policy to perform traffic audit on the data entity in the new data packet, and obtaining the audit log corresponding to the intranet IP address in the target local area network of the target tenant.

[0055] Among them, the security control policy can be configured by each tenant. Multiple IP addresses in a LAN can match the same security control policy, or different IP addresses in a LAN can match different security control policies. The security control policy can be used for: traffic with security risks, traffic that needs to be intercepted, etc., and at the same time specify: specific information of intercepted traffic, specific information of risky traffic, defense suggestions for risky traffic, etc. The security control policy can also be used for: intelligent perception of internal risks such as illegal terminal access, illegal Internet access, sensitive data leakage, terminal access control, etc.

[0056] It can be seen that after obtaining the original data packet in any target LAN of any target tenant, this embodiment will update the original data packet to a new data packet that can determine the tenant and LAN to which the original data packet belongs. Then, based on this new data packet, it can be identified which LAN of which tenant the current traffic comes from, and the corresponding security control policy can be matched later, and the new data packet can be securely controlled using the matched security control policy. Since the data packet will carry the intranet IP address in the LAN, after the application identifies which LAN of which tenant the traffic comes from, it can locate the Internet terminal in the LAN in combination with the intranet IP address in the data packet, thus solving the intranet IP address conflict problem in different LANs. Since the solution can identify which IP address in which LAN of which tenant the current traffic comes from, there is no need to consider the intranet IP address conflict problem in different LANs, so that multiple LANs of a tenant can use one service stack to perform services such as traffic auditing, which can save resources and is also beneficial to tenant management.

[0057] Based on the above embodiments, it should be noted that there are two ways to enable a data packet to indicate or determine the tenant and local area network to which it belongs: method one, adding relevant identification of the tenant and local area network to which the data packet belongs; method two, modifying certain fields in the data packet, and at the same time making the modified fields have a mapping relationship with the tenant and local area network to which the data packet belongs.

[0058] In a specific implementation, the original data packet is updated to obtain a new data packet that can determine the tenant and LAN to which the original data packet belongs, including: modifying the intranet IP address in the original data packet to a virtual IP address that has a mapping relationship with the tenant identifier of the target tenant, the LAN identifier of the target LAN, and the intranet IP address to obtain a new data packet; accordingly, matching the security management and control policy based on the new data packet includes: parsing the new data packet to obtain the virtual IP address, determining the tenant identifier, the LAN identifier and the intranet IP address based on the mapping relationship, and matching the security management and control policy based on the tenant identifier, the LAN identifier and the intranet IP address.

[0059] For details, please see Figure 2 , Figure 2 Corresponding to the above method 2. Figure 2 As shown, any intranet IP in a branch (i.e., LAN) is mapped to a virtual IP, and the virtual IP has a corresponding relationship with the branch, thereby identifying branch 1 and branch 2 of tenant A. The virtual IP address is specified by the platform, and the platform can specifically set a virtual IP pool.

[0060] Reference Figure 2, method 2 establishes the correspondence between the drainage account and the branch. When the data of each branch is diverted to DP through the drainage tunnel established by the drainage account, DP can know the drainage account information to which the corresponding drainage traffic belongs. The allocation of a globally unique virtual IP (globally unique within a tenant and repeatable between different tenants) is performed through DP to solve the problem of traffic IP conflicts. The mapping relationship between the virtual IP and the original intranet IP and the drainage account is synchronized to the security stack through DP, so that the security stack determines the original intranet IP and the branch to which the traffic corresponds based on the virtual IP, and performs corresponding policy matching and log recording.

[0061] In order to ensure that all traffic in and out of a branch flows through the security management and control platform, a traffic diverter can be set up in the branch and a corresponding traffic diversion account can be configured for management. Figure 2 Branch 1 of tenant A corresponds to drainage account 1, and branch 2 of tenant A corresponds to drainage account 2. "Branch 1" and / or "drainage account 1" can be used as the LAN identifier of branch 1, and even the port number connected between DP and branch 1 can be used as the LAN identifier of branch 1. Of course, different LAN identifiers can also be manually assigned to different LANs.

[0062] The security control platform is an upper-level management platform, so the traffic is actually directed to each node of the supporting platform (i.e. Figure 2 POP nodes in the network). The intranet traffic of tenant A is aggregated in one node, and the aggregated traffic can be transmitted to the security stack of tenant A through the DP (traffic distributor) in the node. The security stack is pre-configured with various traffic control policies, so the security stack of tenant A can perform relevant processing on the intranet traffic of tenant A. Among them, before DP transmits the traffic to the security stack of tenant A, it changes the traffic data packet, that is, the intranet IP address in the data packet is modified to the virtual IP address mapped by the intranet IP address. Then, after DP sends the modified packet to the security stack of tenant A, the security stack of tenant A can determine based on the modified packet and the mapping relationship stored in advance: which tenant, which branch and which IP the packet comes from.

[0063] like Figure 2 As shown in the figure, a data packet uniquely corresponds to an IP in a tenant's LAN, a control policy uniquely corresponds to an IP in a tenant's LAN, and the logs recorded according to the control policy uniquely correspond to an IP in a tenant's LAN. In this way, traffic can be finely controlled without considering IP conflicts in different intranets.

[0064] In a specific implementation, the original data packet is updated to obtain a new data packet that can determine the tenant and LAN to which the original data packet belongs, including: encapsulating the original data packet, the tenant identifier of the target tenant, and the LAN identifier of the target LAN to obtain a new data packet; accordingly, matching the security control policy based on the new data packet includes: parsing the new data packet to obtain the tenant identifier, the LAN identifier, and the intranet IP address in the original data packet, and matching the security control policy based on the tenant identifier, the LAN identifier, and the intranet IP address. Among them, encapsulating the original data packet, the tenant identifier of the target tenant, and the LAN identifier of the target LAN to obtain a new data packet includes: according to a preset protocol, encapsulating the tenant identifier and the LAN identifier as a protocol header field, encapsulating the original data packet as a protocol data entity, and obtaining a new data packet.

[0065] For details, please see Figure 3 , Figure 3 Corresponding to the above method 1. Figure 3 , Method 1 establishes the correspondence between the diversion account and the branch. When the data of each branch is diverted to DP through the diversion tunnel established by the diversion account authentication, DP can know the diversion account information to which the corresponding diversion traffic belongs. After DP encapsulates the traffic, tenant information and branch information with a private protocol, it sends the encapsulation result to the security stack so that the security stack can directly match the tenant information, branch information and original intranet IP in the encapsulation result, and perform corresponding policy matching and log recording.

[0066] Specifically, DP re-encapsulates the data packet sent by any intranet IP in a branch (i.e., LAN) according to the preset protocol, and encapsulates the branch ID and the ID of the tenant to which the branch belongs in the data packet. Then, after DP sends the encapsulated packet to the security stack of tenant A, the security stack of tenant A can determine based on the encapsulated packet: which tenant, which branch, and which IP the packet comes from. The preset protocol can be a self-designed private protocol, and the format of the encapsulated packet is as follows: Figure 4 shown. Figure 4 The data in the data packet is the original data packet.

[0067] Comparison Figure 2 and Figure 3 It can be found that method 1 and method 2 can achieve the same purpose. That is, a data packet uniquely corresponds to an IP in a tenant's LAN, a control policy uniquely corresponds to an IP in a tenant's LAN, and the logs recorded according to the control policy uniquely correspond to an IP in a tenant's LAN. In this way, traffic can be finely controlled without considering the IP conflict problem of different intranets. The security stack of the same tenant can distinguish and identify different LANs, and policy configuration and log records can also be distinguished accordingly. The security stack of a tenant has the ability to manage multiple branches.

[0068] because Figure 2 and Figure 3 This example introduces tenant A, so the tenant IDs of other tenants are not shown. In fact, a tenant can only see its own relevant information, so each tenant can be distinguished by different branches by default. However, from the perspective of the platform, different tenants need to be distinguished based on tenant IDs.

[0069] In a specific implementation, the configuration process of the security control policy includes: obtaining the security control policy corresponding to the intranet IP address in the target LAN of the target tenant; establishing a matching relationship between the security control policy and the tenant identifier, LAN identifier, and intranet IP address.

[0070] A data processing device provided in an embodiment of the present application is introduced below. The data processing device described below and the data processing method described above can be referenced to each other.

[0071] See also Figure 5 As shown, the embodiment of the present application discloses a data processing device, which is applied to a security management and control platform, including:

[0072] The acquisition module 501 is used to acquire the original data packet in any target local area network of any target tenant;

[0073] An updating module 502, configured to update an original data packet to obtain a new data packet capable of determining the tenant and the local area network to which the original data packet belongs;

[0074] The security control module 503 is used to match the security control policy based on the new data packet, and perform security control on the new data packet using the matched security control policy.

[0075] In a specific implementation, the update module is specifically used to:

[0076] Modify the intranet IP address in the original data packet to a virtual IP address that has a mapping relationship with the tenant ID of the target tenant, the LAN ID of the target LAN, and the intranet IP address to obtain a new data packet;

[0077] Accordingly, the security control module is specifically used for:

[0078] Parse the new data packet to obtain the virtual IP address, determine the tenant ID, LAN ID and intranet IP address based on the mapping relationship, and match the security management and control policy based on the tenant ID, LAN ID and intranet IP address.

[0079] In a specific implementation, the update module is specifically used to:

[0080] Encapsulate the original data packet, the tenant identifier of the target tenant, and the LAN identifier of the target LAN to obtain a new data packet;

[0081] Accordingly, the security control module is specifically used for:

[0082] The new data packet is parsed to obtain the tenant ID, LAN ID and the intranet IP address in the original data packet, and the security control policy is matched based on the tenant ID, LAN ID and intranet IP address.

[0083] In a specific implementation, the update module is specifically used to:

[0084] According to the preset protocol, the tenant identifier and the local area network identifier are encapsulated as a protocol header field, and the original data packet is encapsulated as a protocol data entity to obtain a new data packet.

[0085] In a specific implementation, the security management and control platform includes multiple nodes, and the target local area network is connected to any node.

[0086] In a specific implementation, the configuration process of the security management and control policy includes:

[0087] Obtain the security control policy corresponding to the intranet IP address in the target LAN of the target tenant;

[0088] Establish a matching relationship between security management and control strategies and tenant IDs, LAN IDs, and intranet IP addresses.

[0089] In a specific implementation, the security control module is specifically used to:

[0090] Use the security control policy to perform traffic audit on the data entity in the new data packet and obtain the audit log corresponding to the intranet IP address in the target LAN of the target tenant.

[0091] Among them, for more specific working processes of each module and unit in this embodiment, reference can be made to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0092] It can be seen that this embodiment provides a data processing device, which solves the problem of intranet IP address conflicts in different local area networks, so that multiple local area networks of a tenant can use one service stack to perform services such as traffic auditing, which can save resources and is also beneficial to tenant management.

[0093] An electronic device provided in an embodiment of the present application is introduced below. The electronic device described below and the data processing method and device described above can refer to each other.

[0094] See also Figure 6 As shown, the embodiment of the present application discloses an electronic device, including:

[0095] Memory 601, used for storing computer programs;

[0096] The processor 602 is used to execute the computer program to implement the method disclosed in any of the above embodiments.

[0097] Please refer to Figure 7 , Figure 7 Another electronic device schematic diagram provided for this embodiment, the electronic device may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 322 (for example, one or more processors) and memory 332, one or more storage media 330 (for example, one or more mass storage devices) storing application programs 342 or data 344. Among them, the memory 332 and the storage medium 330 can be short-term storage or permanent storage. The program stored in the storage medium 330 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the data processing device. Furthermore, the central processor 322 can be configured to communicate with the storage medium 330 to execute a series of instruction operations in the storage medium 330 on the electronic device 301.

[0098] The electronic device 301 may further include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input / output interfaces 358, and / or one or more operating systems 341. For example, Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.

[0099] exist Figure 7 In the embodiment, the application 342 may be a program for executing the data processing method, and the data 344 may be data required or generated for executing the data processing method.

[0100] The steps in the data processing method described above can be implemented by the structure of an electronic device.

[0101] A readable storage medium provided in an embodiment of the present application is introduced below. The readable storage medium described below and the data processing method, device and equipment described above can refer to each other.

[0102] A readable storage medium is used to store a computer program, wherein the computer program, when executed by a processor, implements the data processing method disclosed in the above embodiment. For the specific steps of the method, reference can be made to the corresponding contents disclosed in the above embodiment, and no further description will be given here.

[0103] The "first", "second", "third", "fourth", etc. (if any) referred to in this application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods or devices.

[0104] It should be noted that the descriptions involving "first", "second", etc. in this application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0105] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0106] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of readable storage medium known in the art.

[0107] Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A data processing method, characterized in that: Applied to security management and control platforms, including: Get the original data packet in any target LAN of any target tenant; The original data packet is updated to obtain a new data packet capable of determining the tenant and the local area network to which the original data packet belongs; and a terminal accessing the Internet in the local area network is identified based on the new data packet; Matching a security control policy based on the new data packet, and performing security control on the new data packet using the matched security control policy; The updating of the original data packet to obtain a new data packet capable of determining the tenant and the local area network to which the original data packet belongs includes: Modify the intranet IP address in the original data packet into a virtual IP address having a mapping relationship with the tenant identifier of the target tenant, the local area network identifier of the target local area network, and the intranet IP address, to obtain the new data packet; Accordingly, the matching of the security control policy based on the new data packet includes: Parsing the new data packet to obtain the virtual IP address, determining the tenant identifier, the local area network identifier and the intranet IP address based on the mapping relationship, and matching the security management and control policy based on the tenant identifier, the local area network identifier and the intranet IP address; or The updating of the original data packet to obtain a new data packet capable of determining the tenant and the local area network to which the original data packet belongs includes: Encapsulating the original data packet, the tenant identifier of the target tenant, and the local area network identifier of the target local area network to obtain the new data packet; Accordingly, the matching of the security control policy based on the new data packet includes: The new data packet is parsed to obtain the tenant identifier, the local area network identifier, and the intranet IP address in the original data packet, and the security management and control policy is matched based on the tenant identifier, the local area network identifier, and the intranet IP address.

2. The data processing method according to claim 1, characterized in that: The encapsulating the original data packet, the tenant identifier of the target tenant, and the local area network identifier of the target local area network to obtain the new data packet includes: According to a preset protocol, the tenant identifier and the local area network identifier are encapsulated as a protocol header field, and the original data packet is encapsulated as a protocol data entity to obtain the new data packet.

3. The data processing method according to claim 2, characterized in that: The security management and control platform includes multiple nodes, and the target local area network is connected to any node.

4. The data processing method according to any one of claims 1 to 3, characterized in that: The configuration process of the security control strategy includes: Obtain the security control policy corresponding to the intranet IP address in the target LAN of the target tenant; A matching relationship is established between the security management and control policy and the tenant identifier, the local area network identifier, and the intranet IP address.

5. A data processing device, characterized in that: Applied to security management and control platforms, including: An acquisition module, used to acquire original data packets in any target LAN of any target tenant; An updating module, configured to update the original data packet to obtain a new data packet capable of determining the tenant and the local area network to which the original data packet belongs; and to identify the terminal accessing the Internet in the local area network based on the new data packet; A security control module, used to match the security control policy based on the new data packet, and perform security control on the new data packet using the matched security control policy; Wherein, the update module is specifically used for: Modify the intranet IP address in the original data packet into a virtual IP address having a mapping relationship with the tenant identifier of the target tenant, the local area network identifier of the target local area network, and the intranet IP address, to obtain the new data packet; Accordingly, the security control module is specifically used to: Parsing the new data packet to obtain the virtual IP address, determining the tenant identifier, the local area network identifier and the intranet IP address based on the mapping relationship, and matching the security management and control policy based on the tenant identifier, the local area network identifier and the intranet IP address; or Wherein, the update module is specifically used for: Encapsulating the original data packet, the tenant identifier of the target tenant, and the local area network identifier of the target local area network to obtain the new data packet; Accordingly, the security control module is specifically used to: The new data packet is parsed to obtain the tenant identifier, the local area network identifier, and the intranet IP address in the original data packet, and the security management and control policy is matched based on the tenant identifier, the local area network identifier, and the intranet IP address.

6. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to execute the computer program to implement the data processing method according to any one of claims 1 to 4.

7. A readable storage medium, characterized in that: Used to store a computer program, wherein when the computer program is executed by a processor, the data processing method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Mapping method and system and related device

    CN107733765A

  • Translating Network Attributes of Packets in a Multi-Tenant Environment

    US20160094514A1