A tenant security access control method, device and electronic equipment

CN122247753BActive Publication Date: 2026-10-13NSFOCUS INFORMATION TECHNOLOGY CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610664504.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-05-14
Publication Date
2026-10-13
Estimated Expiration
2046-05-14

AI Technical Summary

Technical Problem

[0003]实施中,上述采用隧道ID从租户映射表提取映射租户标识,再查询租户ID的访问控制表项的方式,需要在云端针对企业边缘网关维护大量租户映射表项,进而会影响到数据的查询性能和转发性能

Benefits of technology

[0027]上述第二方面至第五方面中的各个方面以及各个方面可能达到的技术效果请参照上述针对第一方面或第一方面中的各种可能方案可以达到的技术效果说明,这里不再重复赘述。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122247753B_ABST
    Figure CN122247753B_ABST
Patent Text Reader

Abstract

The application provides a tenant security access control method and device and electronic equipment, and relates to the technical field of communication. In the application, a traffic message sent by a tenant is received, the traffic message includes a source address and a destination address, the source address includes a service subscription identifier field; the source address is parsed, a first field value corresponding to the service subscription identifier field is extracted from the source address, and each target security service subscribed by the tenant is determined based on the first field value; each target security service is called respectively, security detection is performed on a traffic data packet corresponding to the traffic message, and a corresponding detection result is obtained; the detection result includes detection pass and detection fail; a protection strategy corresponding to the detection result is called to process the traffic message. In this way, the business requirement of high-performance transmission of tenant isolation across multiple regions in an IPv6 network environment can be met.
Need to check novelty before this filing date? Find Prior Art

Claims

1. A tenant secure access control method, characterized in that, include: Receive traffic packets sent by tenants; The traffic packet includes a source address and a destination address, and the source address includes a service subscription identifier field; The traffic packets are IPv6 traffic packets; The source address is parsed, and the value of the first field corresponding to the service subscription identifier field is extracted from the source address. Based on the value of the first field, the target security services subscribed by the tenant are determined. The service subscription identifier field includes multiple bits, each bit corresponding to a security service, and different values ​​of each bit are used to characterize whether the corresponding security service has been subscribed to. Each target security service is invoked to perform security checks on the traffic data packets corresponding to the traffic packets, and the corresponding check results are obtained; the check results include checks passed and checks failed. The protection policy corresponding to the detection result is invoked to process the traffic packets; The invocation of the protection policy corresponding to the detection result to process the traffic packets includes: The number of target security services that fail the detection is determined among the target security services mentioned above. Based on the pre-configured relationship between the quantity and the protection policy, the protection policy corresponding to the target quantity is determined, and the determined protection policy is invoked to process the traffic packets. The destination address includes an execution result identifier field; determining the number of target security services among the target security services whose detection result is a failed detection includes: The destination address is parsed, and the second field value corresponding to the execution result identifier field is extracted from the source address. The second field value is then reset based on the detection results corresponding to each security service. The non-zero value in the reset second field value indicates that the detection result of the corresponding security service is a failure. Perform a bitwise AND operation on the first field value and the reset second field value, and determine the number of non-zero values ​​in the result as the target number; After determining the number of target security services among the target security services whose detection results are unsuccessful, the method further includes: Restore the value of the second field to its original value before the reset.

2. The method as described in claim 1, characterized in that, The source address and destination address each include an enterprise identifier field and an enterprise branch identifier field; before parsing the source address and extracting the first subscription field value corresponding to the service subscription identifier field from the source address, the method further includes: The first enterprise identifier corresponding to the enterprise identifier field and the first enterprise branch identifier corresponding to the enterprise branch identifier field are parsed from the source address. Parse the second enterprise identifier corresponding to the enterprise identifier field and the second enterprise branch identifier corresponding to the enterprise branch identifier field from the destination address; Based on the first enterprise identifier, the first enterprise branch identifier, the second enterprise identifier, and the second enterprise branch identifier, it is determined that the source address and the destination address correspond to the same tenant.

3. The method as described in claim 1, characterized in that, The process involves determining the protection policy corresponding to the target number based on a pre-configured relationship between the quantity and the protection policy, and then invoking the determined protection policy to process the traffic packets, including: If the target number is lower than the first preset threshold, the traffic packet is forwarded to the server corresponding to the destination address; If the target number is not lower than the first preset threshold and is lower than the second preset threshold, the traffic packet is rate-limited and forwarded to the server corresponding to the destination address, and an alarm message is generated to be fed back to the tenant. If the target number is not lower than the second preset threshold, the traffic packets are blocked and an alarm message is generated to be fed back to the tenant. The value of the second preset threshold is greater than that of the first preset threshold.

4. The method as described in claim 1, characterized in that, Before receiving the traffic packets sent by the tenant, the method further includes: In response to the enterprise information entry request sent by the tenant, generate an enterprise identifier and an enterprise branch identifier corresponding to the tenant; In response to the tenant's subscription operation for the security service, a subscription identifier is generated in the service subscription identifier field corresponding to the tenant; In response to the terminal information input request sent by the tenant, a terminal identifier corresponding to the terminal to be input is generated, and the terminal identifier to be input is associated with the enterprise identifier, the enterprise branch identifier and the subscription identifier; In response to an address allocation request sent by a terminal to be allocated, the enterprise identifier, enterprise branch identifier, and subscription identifier associated with the terminal to be allocated are determined based on the terminal identifier of the terminal to be allocated carried in the address allocation request. The addressing algorithm is used to process the enterprise identifier, enterprise branch identifier, and subscription identifier associated with the determined terminal to be assigned, to obtain the address information corresponding to the terminal to be assigned, and then the address information is sent to the terminal to be assigned.

5. The method according to any one of claims 1 to 4, characterized in that, After processing the traffic packets by invoking the protection policy corresponding to the detection result, the method further includes: Generate a security log corresponding to the tenant, the security log including: the enterprise identifier, enterprise branch identifier, terminal identifier, server identifier, detection result, and protected traffic size corresponding to the traffic packet; and, Among the target security services, the target security service whose detection result is "failed" is identified, and the tenant is billed based on the identified target security service.

6. A tenant security access control device, characterized in that, include: The message receiving module is used to receive traffic messages sent by tenants; The traffic packet includes a source address and a destination address, and the source address includes a service subscription identifier field; The traffic packets are IPv6 traffic packets; The address resolution module is used to resolve the source address, extract the first field value corresponding to the service subscription identifier field from the source address, and determine the target security services subscribed by the tenant based on the first field value; The service subscription identifier field includes multiple bits, each bit corresponding to a security service, and different values ​​of each bit are used to characterize whether the corresponding security service has been subscribed to. The security detection module is used to call the security services of each target respectively to perform security detection on the traffic data packets corresponding to the traffic packets, and obtain the corresponding detection results; the detection results include detection passed and detection failed. The message processing module is used to call the protection policy corresponding to the detection result and process the traffic message; The message processing module is used to determine the number of target security services among the target security services whose detection result is that they fail the detection. Based on the pre-configured relationship between the quantity and the protection policy, the protection policy corresponding to the target quantity is determined, and the determined protection policy is invoked to process the traffic packets. The message processing module is used to parse the destination address, extract the second field value corresponding to the execution result identifier field from the source address, and reset the second field value based on the detection results corresponding to each security service; wherein, the non-zero value in the reset second field value is used to indicate that the detection result corresponding to the corresponding security service is a failure. Perform a bitwise AND operation on the first field value and the reset second field value, and determine the number of non-zero values ​​in the result as the target number; Restore the value of the second field to its original value before the reset.

7. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, when executing a computer program stored in the memory, implements the method steps of any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method described in any one of claims 1-5.

Citation Information

Patent Citations

  • Message detection method and device, electronic equipment and storage medium

    CN114095224A

  • Security resource scheduling method and device, electronic equipment and storage medium

    CN114244842A