Method and system for access control and data authority isolation facing multi-service domain
By constructing a semantic relationship model of business domains and dynamic access control policies, the problem of permission configuration caused by changes in the relationship between user roles and business domains is solved, realizing fine-grained data permission management and adapting to dynamic changes in multi-business domain scenarios.
Patent Information
- Application Number
- CN202611674281.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-28
- Publication Date
- 2026-11-27
AI Technical Summary
In existing enterprise digital platforms, when the relationship between user roles and business domains changes, the permission configuration cannot be dynamically adjusted, resulting in redundant or insufficient permissions, which cannot meet actual business needs.
Construct a semantic relationship model for business domains, dynamically adjust data access permission boundaries through the associated data of users, business domains, business scenarios and data resources, generate dynamic access control policies, and implement permission control in conjunction with interface gateways and database proxies.
It improves the matching degree between permission configuration and business collaboration relationship, reduces permission redundancy and insufficiency, realizes fine-grained data permission control, and adapts to dynamic changes in multi-business domain scenarios.
Smart Images

Figure CN123179378A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic digital data processing technology, and in particular to a method and system for access control and data permission isolation for multiple service domains. Background Technology
[0002] As enterprises continue to advance their digital transformation, they typically build multiple information systems tailored to different business scenarios to support activities such as marketing operations, engineering management, equipment maintenance, customer service, and financial management. With the increasing number of business systems and the expanding scale of business data, enterprises gradually form a digital operation system composed of multiple business domains. Each business domain manages data resources with different business attributes and access requirements. For example, the marketing domain mainly involves user information, marketing activities, and user behavior data; the engineering domain mainly involves equipment information, construction process data, and engineering management data; the operations domain mainly involves business operation data and service process data; and the financial domain mainly involves transaction settlement and fund management data.
[0003] In existing enterprise digital platforms, role-based access control (RBAC) is typically used to manage user access permissions. This method establishes a mapping relationship between users, roles, and permissions, assigns corresponding functional operation permissions to users based on their roles, and configures the range of data that users can access by combining organizational structure, department scope, or preset data rules, thereby restricting access to different business modules and business data.
[0004] For example, in an enterprise operations platform, different user roles can be set up, such as administrator, operations personnel, engineers, and finance personnel, and corresponding business function permissions can be configured for each role. Simultaneously, data access conditions can be set based on the user's region, department, or business scope, ensuring that users can only view data content relevant to their responsibilities. Through these methods, data permission isolation between different business domains can be achieved to a certain extent.
[0005] In existing technologies, user roles and business responsibilities are typically managed according to pre-configured relationships, without establishing a dynamic correlation mechanism between changes in business domain relationships and changes in permission boundaries. When an enterprise adds a new business domain, adjusts the division of business domains, or expands a business process from a single business domain to cross-business domain collaboration, the permission scope corresponding to the original roles cannot be automatically adjusted according to the new business domain relationships.
[0006] For example, in a digital operations platform, initially, operations personnel are only responsible for charging orders and site operation data within the operations domain. Therefore, the system only configures their access permissions to operations domain data. Later, when user profiling and precision marketing are added, the operations workflow needs to link some user tag data from the marketing domain. At this point, the actual business responsibilities of operations personnel have expanded to cross-operations and marketing domain data collaboration. However, the existing permission model still follows the original role configuration, only allowing access to operations domain data, resulting in the inability to obtain the data required for the business. Directly expanding the scope of role permissions may grant users data access capabilities beyond their actual responsibilities, causing permission redundancy.
[0007] Therefore, during the operation of the digital platform, when changes occur in business process call relationships, data resource association relationships, and cross-business domain data access relationships, it is impossible to recalculate the user's corresponding data access scope based on the dynamically changing data association relationships within the system, resulting in a mismatch between permission policies and actual data access needs. Summary of the Invention
[0008] Based on this, the present invention provides a method and system for access control and data permission isolation for multiple business domains, which enables users' data access permissions to better adapt to the dynamic changes in the relationship between business domains, and helps to reduce the situation of insufficient or redundant permissions while meeting the actual business access needs.
[0009] Firstly, a method for access control and data permission isolation across multiple business domains is provided. This method includes: S1, acquiring user-related data, business domain data, business scenario data, and data resource data from the enterprise's digital operation platform; S2, constructing a business domain semantic relationship model based on the user-related data, business domain data, business scenario data, and data resource data. The business domain semantic relationship model includes user nodes, business domain nodes, business scenario nodes, and data resource nodes, and establishing corresponding association edges based on the data association relationships between nodes; S3, acquiring business call data and data interaction data during the operation of the enterprise's digital operation platform, and establishing corresponding association edges based on the business call data and data interaction data. Interactive data determines the association status between business domains, and updates the business association edge status between corresponding business domain nodes in the business domain semantic relationship model according to the association status; S4, when the association status between business domains changes, the user participating in the corresponding cross-business domain business scenario in the business domain whose association status has changed is identified as the target user, and the data resource association path corresponding to the target user is determined in the updated business domain semantic relationship model; S5, the data access permission boundary corresponding to the target user is determined according to the data resource association path, and a dynamic access control policy is generated according to the data access permission boundary; S6, the target user's access to data resources is controlled according to the dynamic access control policy.
[0010] Secondly, it provides an access control and data permission isolation system for multiple business domains. This system includes: a data acquisition module for acquiring user-related data, business domain data, business scenario data, and data resource data from the enterprise's digital operation platform; a model building module for constructing a business domain semantic relationship model based on the user-related data, business domain data, business scenario data, and data resource data. This model includes user nodes, business domain nodes, business scenario nodes, and data resource nodes, and establishes corresponding association edges based on the data relationships between nodes; and a status monitoring module for acquiring business call data and data interaction data during the operation of the enterprise's digital operation platform, and establishing corresponding association edges based on the business call data and data interaction data. The mutual data module determines the association status between business domains and updates the business association edge status between corresponding business domain nodes in the business domain semantic relationship model based on the association status. The path search module is used to identify users participating in the corresponding cross-business domain business scenario in the business domain whose association status has changed as target users when the association status between business domains changes, and to determine the data resource association path corresponding to the target user in the updated business domain semantic relationship model. The permission calculation module is used to determine the data access permission boundary corresponding to the target user based on the data resource association path, and to generate a dynamic access control policy based on the data access permission boundary. The access control execution module is used to control the target user's access to data resources according to the dynamic access control policy.
[0011] The beneficial effects achieved by the provided technical solution include at least the following:
[0012] (1) Existing access control methods typically determine user permissions based on fixed roles, business domain affiliation, or pre-configured access rules. When the actual collaboration relationship between business domains changes, the original permission configuration may not reflect the current business needs in a timely manner. This invention constructs a business domain semantic relationship model through user association data, business domain data, business scenario data, and data resource data, and determines the association status between business domains by combining business call data and data interaction data generated during platform operation. When the association status of a business domain changes, the affected target user and its corresponding data resource association path are determined in the updated business domain semantic relationship model, and the data access permission boundary and dynamic access control policy are determined accordingly. Thus, changes in the actual operating relationship between business domains can be incorporated into the permission adjustment process, which is conducive to improving the matching degree between permission configuration and the current business collaboration relationship, and reducing the possibility that the original permissions have not been adjusted for a long time after the business relationship changes.
[0013] (2) When business relationships change, directly reconfiguring all permissions of the target user can easily expand the scope of permission adjustment and may also affect other business permissions that are still valid. This invention determines a set of candidate data resources based on the data resource nodes corresponding to the valid association path, and forms a set of target permissions by combining the corresponding data access constraints; at the same time, it obtains the current dynamic permission set corresponding to the business domain relationship that has undergone the current association status change, determines the access permissions to be added and the access permissions to be revoked by the difference between the two sets, and forms corresponding permission granting instructions and permission revocation instructions. This processing method limits the scope of permission adjustment to the dynamic permissions related to the current business domain association change, which helps to reduce the situation of repeatedly configuring all permissions of the user and reduces the possibility of affecting existing permissions under other business relationships.
[0014] (3) Existing access control uses data tables, databases, or the entire data resource as a unified authorization object in some scenarios, resulting in relatively coarse-grained permissions. This invention, after determining the candidate data resource set, further obtains the data field attributes, the sensitivity level corresponding to the data fields, and the data requirements of the current business scenario. Based on this, it performs field-level access condition determination on the data fields in the candidate data resources, adding the access permissions corresponding to data fields that meet the access conditions to the target permission set, and identifying data fields that do not meet the access conditions as restricted access fields. In this way, the field-level access scope can be further refined based on the resource-level permission scope, allowing the determination of permission boundaries to consider both business requirements and differences in field attributes. This helps reduce the occurrence of data fields with low relevance to the current business scenario requirements entering the accessible scope and provides support for fine-grained data permission control in multi-business domain scenarios. Attached Figure Description
[0015] Figure 1 This is an access control and data permission isolation method for multiple service domains provided in Embodiment 1 of the present invention;
[0016] Figure 2 This is a flowchart for determining the business domain association status according to Embodiment 1 of the present invention;
[0017] Figure 3 This is a schematic diagram of a multi-service domain semantic relationship graph provided in Embodiment 1 of the present invention;
[0018] Figure 4 This is a graph of the relationship strength dual-threshold hysteresis determination process provided in Embodiment 1 of the present invention;
[0019] Figure 5 This is a graph of the relationship formation and release event window response provided in Embodiment 1 of the present invention;
[0020] Figure 6 This is a path filtering funnel and gating contribution attribution diagram provided in Embodiment 1 of the present invention;
[0021] Figure 7 This is a data access control statistics chart provided in Embodiment 1 of the present invention;
[0022] Figure 8 This is a load-latency linkage diagram for online access decision-making provided in Embodiment 1 of the present invention;
[0023] Figure 9 This is a dual-channel closed-loop statistical diagram of the dynamic permission lifecycle provided in Embodiment 1 of the present invention;
[0024] Figure 10 This is a boundary error rate and latency verification diagram for strategy replay provided in Embodiment 2 of the present invention. Detailed Implementation
[0025] To further illustrate the technical means and effects of the present invention in achieving its intended purpose, the following detailed description of the specific implementation methods, structures, features, and effects of the present invention, in conjunction with the accompanying drawings and preferred embodiments, is provided below.
[0026] This invention provides a method and system for access control and data permission isolation for multiple business domains, which is executed by a data permission control system. The data permission control system can be deployed at the data access entry point of an enterprise digital operation platform, or at a unified identity authentication platform, data middleware, interface gateway, or database access proxy node. It is used to obtain the associated data between users, business systems, business processes, and data resources, and dynamically adjust the data access permissions of target users based on the business call relationships and data interaction relationships generated during the actual operation of the enterprise digital operation platform.
[0027] Enterprise digital operation platforms are typically divided into multiple business domains based on business responsibilities, such as operations, marketing, customer service, finance, and production management. A business domain refers to the scope of data and business processing defined according to the enterprise's business functions or data management responsibilities. One business domain can correspond to one business system or multiple business systems with the same or similar business responsibilities. Different business domains usually maintain their own data resources and access permissions. However, in cross-departmental business processes, joint business processing, or the execution of temporary special tasks, new business calls and data exchange relationships may be formed between different business domains. Therefore, this embodiment redefines the data access permission boundaries corresponding to the current business needs based on the changes in the actual operating relationships between business domains.
[0028] The data resources involved in this embodiment all come from the enterprise's internal authorized business systems. For data involving personal information or external users, after obtaining the corresponding processing basis, necessary desensitization, de-identification, or access restrictions can be implemented in accordance with the enterprise's applicable data security rules. The permission calculation process in this embodiment is mainly based on data resource identifiers, data field attributes, business scenario requirements, and business relationships.
[0029] Specifically, access control can be implemented through application interface gateway interceptors or database proxies deployed on the backend data access chain; when the resource, field, or operation type requested by a data access request exceeds the corresponding data access permission boundary, the interface gateway can block the corresponding request.
[0030] Example 1: As Figure 1 The flowchart shown is a method for access control and data permission isolation for multiple business domains. The method in this embodiment specifically includes the following steps: S1, obtaining user association data, business domain data, business scenario data, and data resource data from the enterprise digital operation platform; user association data is data used to describe the relationship between users and organizations, positions, business domains, and current business tasks, and may include user identifier, department identifier, position identifier, role identifier, business domain identifier, and currently participating business scenario identifier; business domain data is used to describe different business functional areas within the enterprise, including business domain identifier, business domain name, business system, and business responsibility scope.
[0031] A business scenario refers to a set of business activities in which multiple users, business domains, and data resources jointly participate around a specific business objective. Business scenario data includes at least a scenario identifier, scenario status, participating business domains, and required data resources. The business scenario status can be divided into not started, in execution, and finished. In this embodiment, the business scenario is in the execution state, which means that the corresponding business activity has started but has not yet ended. Data resource data is used to describe data objects under access control in the enterprise digital operation platform, which may include databases, data tables, data views, data interfaces, and specific data fields. In addition to setting a unified data resource identifier, each data resource also records the identifier of its respective business domain.
[0032] Since users, business domains, business scenarios, and data resources may use different identifiers in different systems, a unified identifier processing is first performed before establishing a semantic relationship model for business domains. For example, the same user in different business systems may be represented by employee number, system account, or email address, and they are mapped to a unified user identifier based on the enterprise user master data; data tables and interfaces in different databases are mapped to a unified data resource identifier through data asset coding.
[0033] S2. Construct a business domain semantic relationship model based on user-related data, business domain data, business scenario data, and data resource data. The business domain semantic relationship model is a structured relationship model used to describe the semantic relationships between users, business domains, business scenarios, and data resources. It can be implemented using graph databases, relational tables in relational databases, or in-memory graph structures. Specifically, users, business domains, business scenarios, and data resources are represented as user nodes, business domain nodes, business scenario nodes, and data resource nodes, respectively. User-related edges, business-related edges, scenario participation edges, and resource requirement edges are established based on the data relationship between nodes.
[0034] When a user belongs to or participates in a business domain, a user association edge is established between the corresponding user node and the business domain node; when a business domain participates in a business scenario, a scenario participation edge is established between the corresponding business domain node and the business scenario node, and the participation type of the business domain in the business scenario can be recorded; when a business scenario needs to use a certain data resource, a resource requirement edge is established between the corresponding business scenario node and the data resource node, and the corresponding data requirement relationship, required fields, or access method is recorded.
[0035] For business association edges between business domain nodes, in a preferred approach, candidate business association edges can be pre-established between business domain nodes that may have business collaboration, based on enterprise business process configuration or historically confirmed cross-domain collaboration relationships, and the initial state of the candidate business association edges can be set to the unassociated state. During operation, they can be updated to the valid association state or the unassociated state based on business call data and data interaction data. When a valid business association is formed by a combination of business domains that did not exist before is identified during operation, a new business association edge can also be dynamically established.
[0036] like Figure 3 As shown, the established business domain semantic relationship model can be further represented from two levels: domain-level relationships and associated edges. Figure 3 Subgraph A is a domain semantic relationship skeleton graph, where each business domain is represented by a business domain node, and the number of user nodes, business scenario nodes and data resource nodes associated with the corresponding business domain node are counted or labeled; the lines between different business domain nodes correspond to business association edges, and the line type or line color is used to distinguish whether the business association edge is in a valid association state during the current runtime. Figure 3 Subgraph B is used to count the number of user-related edges, business-related edges, scenario participation edges, and resource requirement edges in the business domain semantic relationship model.
[0037] The above approach can unify user affiliation relationships, business collaboration relationships, business scenario relationships, and data resource demand relationships scattered across different business systems into a business domain semantic relationship model, providing a relational foundation for determining data resource association paths based on changes in business domain association status.
[0038] S3 acquires business call data and data interaction data during the operation of the enterprise digital operation platform, calculates business domain association parameters based on the business call data and data interaction data, determines the association status between business domains based on the business domain association parameters, and updates the business association edge status between corresponding business domain nodes in the business domain semantic relationship model based on the association status.
[0039] Specifically, since interface gateway logs or service call logs typically record the call service identifier, a mapping relationship is further established between the business system identifier, the business service identifier, and the business domain identifier. For example, the operation service Service-A is mapped to the first business domain D1, and the marketing tag service Service-B is mapped to the second business domain D2. Here, the first business domain D1 is the operation domain, and the second business domain D2 is the marketing domain. Subsequently, when parsing the interface call logs, the business domain to which the caller belongs can be determined based on the caller service identifier and the callee service identifier, thereby converting the call records between services into call records between business domains.
[0040] Business call data originates from data interaction links that have undergone service-level authorization. It does not rely on dynamic field weights generated for the target user by this method and can come from interface gateway logs, service call logs, and process engine logs. This includes the caller service identifier, the callee service identifier, the called interface, the call time, the call result, and the identifier of the business process instance to which it belongs. Using the established mapping relationship, the caller and the callee are mapped to the corresponding business domains, thereby statistically analyzing the interface call relationships between different business domains. The number of data interface calls only counts business interface calls that have successfully completed. Duplicate log records with the same call identifier are counted only once, and failed calls and retry records are not counted repeatedly. Data interaction data can come from the data exchange platform, database access logs, or message queue logs, including information such as the data sender, data receiver, data resource identifier, data volume, and interaction time. The data exchange volume uses the effective business payload actually transmitted in successful business calls, and the sending and receiving records of the same data exchange are not accumulated repeatedly.
[0041] Furthermore, the business domain includes a first business domain and a second business domain. The association status between business domains is determined based on business call data and data interaction data, including:
[0042] Within each preset time period, the number of data interface calls initiated by the first business domain to the second business domain, the number of times the first business domain, as the access initiating business domain, and the second business domain, as the resource providing business domain, jointly participate in the same business process instance, and the amount of data exchanged from the first business domain to the second business domain are obtained. Among them, if both the first business domain and the second business domain have at least one successful business processing record in the same process instance within a statistical period, the process instance is counted once. Multiple nodes or multiple calls in the same process instance are not counted repeatedly. The preset time period refers to the data statistics window used to calculate the business domain association parameters once, and its specific value can be determined according to the historical business call frequency.
[0043] The number of data interface calls, the number of instances jointly participating in the same business process, and the amount of data exchange are standardized. Based on the standardization results, business domain association parameters pointing from the first business domain to the second business domain are calculated. In one implementation, historical operational data is used to calculate the 5th percentile P5 and the 95th percentile P95 of the three indicators. The current indicator value X is standardized according to (X-P5) / (P95-P5), with results less than 0 set to 0 and results greater than 1 set to 1. When the number of historical samples for a certain business domain is insufficient, similar business domain pairs or the overall historical data of the enterprise platform can be used as standardization reference samples. When P95 is greater than P5, standardization is performed according to the aforementioned formula. When P95 equals P5 and both values are c, if the current indicator value X is less than c, the corresponding standardized value is set to 0; if X equals c, the corresponding standardized value is set to 0.5; if X is greater than c, the corresponding standardized value is set to 1.
[0044] The standardized data interface call count, the number of times participants jointly entered the same business process instance, and the data exchange volume are weighted and summed to obtain the business domain association parameter pointing from the first business domain to the second business domain. The business domain association parameter is calculated only for complete statistical windows where business call logs, process logs, and data interaction logs have all been collected for the current statistical period and where necessary identifiers can be parsed correctly. If the statistical window is incomplete, the business domain association parameter is not calculated, the current association state remains unchanged, and the cumulative counts of consecutive establishment and termination periods are reset to zero. The next complete statistical window serves as the starting point for a new consecutive period. In one specific implementation, the weights corresponding to the data interface call count, the number of times participants jointly entered the same business process instance, and the data exchange volume are all set to 1 / 3, and the business domain association parameter is the arithmetic mean of the three standardized indicators. The above weights are only one specific implementation; in other implementations, they can be set to other non-negative values whose weights sum to 1, depending on business needs.
[0045] like Figure 2The flowchart illustrating the determination of the business domain association status further includes determining the association status from the first business domain to the second business domain based on the business domain association parameters, including:
[0046] When the business domain association parameter corresponding to the consecutive preset number of establishment cycles is not lower than the preset association threshold, the association status from the first business domain to the second business domain will be updated to a valid association status. When the business domain association parameter corresponding to the consecutive preset number of de-establishment cycles is lower than the preset de-establishment threshold, the association status from the first business domain to the second business domain will be updated to a de-association status. When neither the update condition for a valid association status nor the update condition for a de-association status is met, if a previous association status record exists, the previous association status from the first business domain to the second business domain will be maintained; if no previous association status record exists, the de-association status will be used as the initial association status. The association status includes a valid association status and a de-association status. The preset de-association threshold is lower than the preset association threshold. The preset de-association threshold and the preset association threshold can be calibrated by the distribution of association parameters in historical samples. The consecutive preset number of establishment cycles and the consecutive preset number of de-establishment cycles are set according to the fluctuation of historical business domain association parameters and the allowed permissions to adjust the response time.
[0047] like Figure 4 As shown, the above state judgment process can be further represented by a double-threshold hysteresis decision curve. Figure 4 Subgraph A shows the interaction behavior of business domains during continuous operation, where the horizontal axis uses the running day as a statistical display scale, and the vertical axis represents the number of interactions such as interface calls and the amount of data exchange. Figure 4 Subgraph B shows how the relationship strength calculated from the above operating data changes with the operating day, and also shows the association threshold and the release threshold, which together form a hysteresis interval. Figure 4 Subgraph C shows the relationship state time sequence and the corresponding effective relationship state window obtained after the relationship strength reaches the corresponding threshold and is confirmed after a continuous preset period; Figure 4 The subgraph D further marks the relationship formation trigger point and the relationship release trigger point, so as to indicate that after the relationship strength reaches the corresponding threshold, it still needs to be confirmed through continuous cycles before the state switch is executed.
[0048] Furthermore, to observe the changing patterns of relationship formation and release events across multiple business domains before and after state transitions, event windows of preset lengths can be established around each state transition moment; for example... Figure 5 As shown, the moment when the state actually changes is defined as the relative change day 0, and the relationship strength of several operating days or preset statistical periods before and after the change day is statistically analyzed. Figure 5Subplot A shows the average relationship strength of multiple formation or release events over relative transition times, and confidence intervals can be calculated based on each event sample to form a confidence band, which is used to represent the uncertainty range of the average relationship strength; Figure 5 Subgraph B shows the difference in average relation strength between relation formation events and relation release events at the same relative transformation position.
[0049] When the association status changes, the status of the business association edge pointing from the first business domain to the second business domain in the business domain semantic relationship model is updated synchronously. For business domain pairs that meet the valid association conditions for the first time and do not have candidate business association edges, a new business association edge can be established and set as valid. For existing business association edges, their status and status update time are updated directly. For business association edges that enter the deassociation state, their historical relationship records can be retained, but they are no longer allowed to participate in the search for valid data resource association paths.
[0050] S4. When the association status between business domains changes, the user participating in the corresponding cross-business domain business scenario in the business domain where the association status changes is identified as the target user, and the data resource association path corresponding to the target user is determined in the updated business domain semantic relationship model.
[0051] Taking the change in the association state between the first business domain D1 and the second business domain D2 as an example, firstly, query the user nodes that have user association edges with either the first business domain D1 or the second business domain D2. Further, the target user range can be narrowed down by combining the currently executing business scenario. For example, if there are 100 users in the first business domain D1, and the current cross-domain collaboration between the first business domain D1 and the second business domain D2 only occurs in business scenario S1, with only 20 actual participating users in S1, then these 20 users can be identified as the target users. For the target user U1, the path search starts from its user node, sequentially tracing the user association edges between the target user's corresponding user node and the first business domain node, the business association edges where the association state changes between the first and second business domain nodes, the scenario participation edges between the second business domain node and the business scenario node, and the resource demand edges between the business scenario node and the data resource node belonging to the second business domain. The path search can be implemented using breadth-first search or depth-first search. The path is retained only when the business scenario, business call direction, and resource-providing business domain all match. In addition, all users whose source paths contain the identifier of the edge associated with this change should be found from the dynamic permission source record and included in the target user scope to perform the old permission revocation check; for users who are no longer participating in the business scenario, after performing the old permission revocation check, their new target permissions are taken as an empty set.
[0052] Obtain the target association path from the user node corresponding to the target user to the data resource node via the business domain node and the business scenario node. The target association path contains the business domain node corresponding to the business domain whose association status has changed. Determine the corresponding set of data resource nodes based on the target association path. The business domain to which the data resource belongs must be consistent with the last business domain node in the path.
[0053] S5 determines the data access permission boundaries corresponding to the target user based on the data resource association path, and generates dynamic access control policies based on the data access permission boundaries.
[0054] Furthermore, the data access permission boundaries for the target user are determined based on the data resource association path, including:
[0055] The data resource nodes at the end of each valid association path are merged to determine the candidate data resource set, and the association relationship between each candidate data resource and the corresponding valid association path is retained. The candidate data resource only indicates that the above data resource is associated with the current business relationship.
[0056] The final set of field access permissions that meet the field-level access conditions is denoted as the target permission set corresponding to the target user; the target permission set is used as the data access permission boundary of the target user under the current business domain association relationship and business scenario; the data access permission boundary can be represented as a set of multiple permission tuples, each permission tuple including user identifier, business scenario identifier, business association edge identifier, data resource identifier, field identifier, access operation, and access method.
[0057] like Figure 6 As shown, data access requests that enter the permission determination process can be used as candidate requests, and a hierarchical gating process can be formed according to the aforementioned associated paths and permission rules. Figure 6 Subgraph A is a funnel diagram of candidate request gating at each level. Path gating is used to determine whether a valid candidate path can be formed between the user, business domain, business scenario, and data resource corresponding to the request; relationship gating is used to determine whether all business association edges in the path are in a valid association state; resource gating is used to determine whether the ownership relationship of the requested data resource and data access constraints meet the current business scenario; field sensitivity gating is used to determine whether the corresponding field can be accessed in its original value, restricted access, or denied access based on the scenario-field requirement mapping, field attributes, and sensitivity level. After each level of gating, the number of requests that can still enter the next judgment stage is counted. Figure 6 Subgraph B further counts the number of requests excluded by each level of gating, which is used to represent the relative contribution of different gating conditions to the narrowing of the permission scope.
[0058] Furthermore, such as Figure 7 As shown, the results of field-level access control can be statistically analyzed according to the field sensitivity level. Figure 7 Subgraph A is classified horizontally by different field sensitivity levels, and the proportion of three types of decisions—allow, field restriction, and denial—is statistically analyzed. Allow means that the corresponding field and access operation are within the target permission set and can be executed in accordance with the policy. Field restriction means that the requested data resource itself is allowed to be accessed, but specific fields need to be removed, desensitized, or other restricted access methods are used. Denial means that the corresponding request does not have the required resource or field access permissions. Figure 7 Subgraph B counts the actual number of field access requests received under different field sensitivity levels, which is used to observe the permission isolation results by combining the request load of fields at each sensitivity level.
[0059] The system obtains the current set of dynamic permissions dynamically granted to the target user based on the association relationships between business domains where the association status has changed. This current set of dynamic permissions is determined by recordings in the dynamic permission source record where the validity identifier is valid and the business association edge identifier is related to the current change. A set difference calculation is performed between the target permission set and the current dynamic permission set to determine the access permissions to be added and the access permissions to be revoked. The dynamic access control policy includes policy instructions for granting the access permissions to be added and revoking the access permissions to be revoked. When granting the access permissions to be added, a dynamic permission source record is generated, which includes at least the user identifier, business scenario identifier, business association edge identifier, permission tuple identifier, and validity identifier. When revoking the corresponding access permissions, the validity identifier is updated to invalid.
[0060] Furthermore, based on the data access constraints corresponding to the candidate data resource set, the target permission set corresponding to the target user is determined, including:
[0061] Obtain the data field attributes and data sensitivity levels corresponding to each data field in the candidate data resource set; based on the association between each candidate data resource and its corresponding valid association path, obtain the data requirements of the business scenario corresponding to the business scenario node in the valid association path corresponding to each candidate data resource.
[0062] Based on data requirements, data field attributes, and data sensitivity levels, field-level access conditions are determined for data fields in the candidate data resource set. Data fields that meet the field-level access conditions are added to the target permission set, while data fields that do not meet the field-level access conditions are identified as restricted access fields.
[0063] Furthermore, after path search, the process includes validity screening of the target associated paths and determining valid associated paths. Validity screening includes:
[0064] The target association path is obtained by searching the semantic relationship model of the business domain. First, it is determined whether the business scenario corresponding to the business scenario node in the target association path is in the execution state. Second, it is determined whether the association status between the business domains corresponding to each business association edge in the target association path is a valid association status. Third, it is determined whether the data resource node corresponding to the target association path meets the preset data access constraints. Finally, when any filtering condition is not met, the corresponding target association path is deleted, and the target association path that meets all the validity filtering conditions is determined as a valid association path.
[0065] Data access constraints are access restriction rules that are pre-associated with data resources or data fields. For each data resource, at least the following information can be recorded: whether cross-business domain access is allowed, the set of business scenarios that are allowed to use the resource, the range of data sensitivity levels that are allowed to be accessed, the types of operations that are allowed, and whether anonymized access is required. The above constraints can be established based on the enterprise's data asset catalog, data classification and grading rules, and data security audit results.
[0066] S6 controls target users' access to data resources based on dynamic access control policies and continuously updates dynamic permissions according to the business operation status.
[0067] When the interface gateway or database proxy receives a data access request, it reads the user identifier, business scenario, data resource, data field and operation type in the request, and queries the corresponding dynamic access control policy. When the request is within the target permission range, it executes the access method specified by the policy. When the request exceeds the permission range, it can block the request, or restrict the actual returned results for query requests through field filtering or desensitization.
[0068] To observe the decision-making process and execution latency of dynamic access control policies under actual operational load, the access control execution module can record the access decision type, request arrival time, decision completion time, and number of requests for each access. For example... Figure 8 As shown, Figure 8 Subgraph A is calculated based on the percentage of three types of access decisions—allow, field restriction, and denial—on the runtime day, and its change over the runtime is represented by the stacked area. Figure 8 Subgraph B maps the daily request count to the access control decision latency, where the left vertical axis represents the median and 95th percentile latency of the access control decision, and the right vertical axis represents the number of data access requests on the corresponding operating day; the decision latency can be counted from the time the data access control system receives the parsed data access request and ends when the access control decision of allow, field restriction, or denial is obtained.
[0069] Furthermore, after controlling the target user's access to data resources according to the dynamic access control policy, the system acquires business call data and data interaction data during the operation of the enterprise digital operation platform, recalculates business domain association parameters, and updates the association status between business domains and the business association edge status between corresponding business domain nodes in the business domain semantic relationship model based on the business call data and data interaction data. When the business scenario in which the target user participates ends, or the association status between the target user and the corresponding business domain changes from a valid association status to a de-association status, the system re-executes the data resource association path search, path validity filtering, and field-level permission calculation; it acquires the access permissions currently held by the target user, granted by the dynamic access control policy corresponding to the ended business scenario, or granted by the dynamic access control policy corresponding to the business domain association relationship that has been updated to a de-association status, and determines the access permissions as the current dynamic permission set; it then determines the access permissions in the current dynamic permission set that exceed the redefined data access permission boundaries and revokes the determined access permissions.
[0070] In a preferred embodiment, the addition and revocation of dynamic permissions can employ different execution channels. For permissions involving highly sensitive data, first-time cross-business domain access, or those requiring manual confirmation according to enterprise security policies, the permissions generated by the dynamic access control policy are submitted to the manual approval channel and take effect after approval. For permissions to be revoked due to the end of the business scenario or the termination of the business relationship, the access control execution module can automatically revoke them. It should be noted that manual approval is not a mandatory step for all dynamically added permissions; enterprises can decide whether ordinary dynamically added permissions take effect automatically based on the data resource sensitivity level and security policy.
[0071] like Figure 9 As shown, the lifecycle of the aforementioned dynamic permissions can be statistically analyzed using both fast and slow channels. Figure 9 Subgraph A calculates the time delay from the triggering time to the actual effective time for new permissions requiring manual approval and automatic revocation permissions, and represents the difference in effectiveness speed between the two channels in the form of cumulative distribution. Manual approval for new permissions corresponds to the slow channel, and automatic revocation corresponds to the fast channel. Figure 9 Subgraph B statistically analyzes two types of trigger signals: changes in the state of business domain relationships and the end of business scenarios. The formation of a relationship or the addition of a new requirement can correspond to the addition of new permissions, while the dissolution of a relationship or the end of a business scenario can correspond to the revocation of permissions. To avoid a few abnormally high counts affecting the graph scale, Figure 9 Subgraph B can truncate the bar statistics according to the preset display limit, while the actual statistical quantity in the background is still fully recorded.
[0072] This application provides an access control and data permission isolation system for multiple business domains, including:
[0073] The data acquisition module is used to acquire user-related data, business domain data, business scenario data, and data resource data from the enterprise's digital operation platform.
[0074] The model building module is used to construct a business domain semantic relationship model based on user-related data, business domain data, business scenario data, and data resource data. The business domain semantic relationship model includes user nodes, business domain nodes, business scenario nodes, and data resource nodes, and establishes corresponding association edges based on the data association relationships between nodes.
[0075] The status monitoring module is used to acquire business call data and data interaction data during the operation of the enterprise digital operation platform, determine the association status between business domains based on the business call data and data interaction data, and update the business association edge status between corresponding business domain nodes in the business domain semantic relationship model according to the association status.
[0076] The path search module is used to identify users participating in the corresponding cross-business domain business scenario in the business domain where the association status changes when the association status changes, and to determine the data resource association path corresponding to the target user in the updated business domain semantic relationship model.
[0077] The permission calculation module is used to determine the data access permission boundaries of the target user based on the data resource association path, and generate dynamic access control policies based on the data access permission boundaries.
[0078] The access control enforcement module is used to control target users' access to data resources according to dynamic access control policies.
[0079] Example 2: Based on Example 1, before granting the new access permission, it also includes:
[0080] Retrieve historical data access request records, and filter historical data access requests from these records that do not show changes in current user participation relationships, business scenario status, data access constraints, and data field attributes, and use these as target historical data access requests.
[0081] The system replicates the target user's current permission state and applies the pending access permissions from the dynamic access control policy to the replicated permission state to obtain the baseline permission state. It then applies the pending access permissions to the baseline permission state to obtain the simulated permission state. Based on the simulated permission state, it performs simulated access judgment on historical data access requests from the target user to obtain the simulated access result. Simultaneously, it forms a reference permission state by combining the basic access permissions retained in the baseline permission state with the dynamic access permissions corresponding to other currently effective business relationships. The reference permission state does not include the pending access permissions corresponding to this dynamic access control policy. Based on the reference permission state, it performs access judgment on historical data access requests from the target user to obtain the reference access result. The simulated access result and the reference access result also include access method information for the corresponding data fields, with access methods including at least the original value access method and the restricted access method. When the access method permissions corresponding to the simulated access result are higher than those corresponding to the reference access result, it is determined to be an inconsistent result.
[0082] Compare the simulated access results with the corresponding reference access results; count the number of data access requests that were allowed in the reference access results but restricted in the simulated access results, and the number of data access requests that were restricted in the reference access results but allowed in the simulated access results, and calculate the false restriction rate and false allow rate respectively.
[0083] When the number of corresponding reference samples is 0, the corresponding error rate is not calculated, and it is determined that there are not enough samples of the corresponding type for this historical replay; when there are not enough samples of any type that need to be verified, the access permissions to be added this time are not issued.
[0084] In one implementation, the preset historical time range is the most recent 30 days, the false restriction threshold is 2%, and the false allowance threshold is 0.5%. When the false restriction rate is not higher than the false restriction threshold and the false allowance rate is not higher than the false allowance threshold, it is determined that the dynamic access control policy meets the preset execution conditions, and the new access permission is granted. Otherwise, the new access permission is not granted, and the target historical data access request that is inconsistent with the simulated access result and the reference access result is recorded. The failure of historical simulation verification only prevents the release of the new access permission this time, and does not change the existing basic access permissions and the dynamic access permissions corresponding to other business relationships.
[0085] like Figure 10 As shown, the boundary error rate and decision latency of the policy replay results can be jointly verified; Figure 10Subgraph A represents the false restriction rate and false permission rate corresponding to each version of the dynamic access control policy. The horizontal axis starts from the zero error rate. For cases where the number of observed errors in the historical replay samples is zero, the upper confidence limit of the corresponding error rate can be calculated based on the number of valid samples. For example, the upper bound of the error rate under the preset confidence level can be determined by using the binomial distribution confidence interval method and represented by the horizontal line segment, thereby avoiding directly treating the true error probability as zero just because no errors were observed in the limited historical samples. Figure 10 Subgraph B statistically analyzes the 95th percentile decision latency of each strategy version during the historical replay process, and uses a box plot to represent the distribution of latency for all strategy versions, while also marking the specific value points for each strategy version.
[0086] For access permissions to be revoked due to the end of a business scenario, the termination of a business association status, or the current data access constraints no longer being met, the revocation will not be restricted by the above historical simulation verification results and will be executed in accordance with the dynamic access control policy. Inconsistent results found in historical simulation verification are only used to prompt for verification of business requirement configuration and data access constraints, and are not directly used to modify the target permission set or data access permission boundary.
[0087] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention in any way. Although the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the present invention. Any simple modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the scope of the present invention.
Claims
1. A method for access control and data permission isolation across multiple business domains, executed by a data permission control system, characterized in that: The method includes: S1, acquire user-related data, business domain data, business scenario data, and data resource data from the enterprise's digital operation platform; S2, construct a business domain semantic relationship model based on user association data, business domain data, business scenario data and data resource data. The business domain semantic relationship model includes user nodes, business domain nodes, business scenario nodes and data resource nodes, and establish corresponding association edges based on the data association relationships between nodes. S3: Obtain business call data and data interaction data during the operation of the enterprise digital operation platform; determine the association status between business domains based on the business call data and data interaction data; and update the business association edge status between corresponding business domain nodes in the business domain semantic relationship model based on the association status. S4. When the association status between business domains changes, the user participating in the corresponding cross-business domain business scenario in the business domain where the association status changes is identified as the target user, and the data resource association path corresponding to the target user is determined in the updated business domain semantic relationship model. S5. Determine the data access permission boundaries of the target user based on the data resource association path, and generate dynamic access control policies based on the data access permission boundaries. S6 controls the target user's access to data resources based on dynamic access control policies.
2. The access control and data permission isolation method for multiple service domains according to claim 1, characterized in that, The business domains include a first business domain and a second business domain. Determining the association status between business domains based on business call data and data interaction data includes: Get the number of data interface calls initiated by the first business domain to the second business domain; The number of times that the first business domain, as the access initiating business domain, and the second business domain, as the resource providing business domain, jointly participate in the same business process instance; Obtain the amount of data exchanged from the first service domain to the second service domain; The number of data interface calls, the number of times they jointly participate in the same business process instance, and the amount of data exchange are standardized, and the business domain association parameters pointing from the first business domain to the second business domain are calculated based on the standardization results. The association status from the first business domain to the second business domain is determined based on the business domain association parameters.
3. The access control and data permission isolation method for multiple service domains according to claim 2, characterized in that, The step of determining the association status from the first business domain to the second business domain based on the business domain association parameters includes: Continuously acquire business domain-related parameters according to a preset time period; When the business domain association parameter corresponding to the number of consecutive preset establishment cycles is not lower than the preset association threshold, the association status from the first business domain to the second business domain will be updated to a valid association status. When the business domain association parameter corresponding to the number of consecutive preset cancellation cycles is lower than the preset cancellation threshold, the association status from the first business domain to the second business domain will be updated to the cancellation status. When the conditions for updating the valid association status and the conditions for updating the deassociation status are not met, if there is a previous association status record, the previous association status from the first business domain to the second business domain is maintained; if there is no previous association status record, the deassociation status is used as the initial association status. The preset de-association threshold is lower than the preset association threshold, and the association status includes a valid association status and a de-association status.
4. The access control and data permission isolation method for multiple service domains according to claim 1, characterized in that, The associated edges include user associated edges, business associated edges, scenario participation edges, and resource demand edges; The determination of the data resource association path corresponding to the target user includes: The user node corresponding to the target user is used as the starting point for path search; Path search is performed along the user association edge between the user node corresponding to the target user and the first business domain node, the business association edge between the first business domain node and the second business domain node where the association state changes, the scenario participation edge between the second business domain node and the business scenario node, and the resource demand edge between the business scenario node and the data resource node belonging to the second business domain. Obtain the target association path from the user node corresponding to the target user to the data resource node via the business domain node and the business scenario node. The target association path includes the business domain node corresponding to the business domain whose association status has changed. The corresponding set of data resource nodes is determined based on the target association path.
5. The access control and data permission isolation method for multiple service domains according to claim 4, characterized in that, Following the path search, the process also includes validity filtering of the target associated paths, which includes: Determine whether the business scenario corresponding to the business scenario node in the target associated path is in an execution state; Determine whether the association status between the business domains corresponding to each business association edge in the target association path is a valid association status; Determine whether the data resource nodes corresponding to the target associated path meet the preset data access constraints. If any filtering condition is not met, the corresponding target associated path is deleted, and the target associated path that meets all filtering conditions is determined as a valid associated path.
6. The access control and data permission isolation method for multiple service domains according to claim 5, characterized in that, The step of determining the data access permission boundaries corresponding to the target user based on the data resource association path includes: Determine the candidate data resource set based on the data resource nodes corresponding to the valid association paths; Determine the target permission set corresponding to the target user based on the data access constraints corresponding to the candidate data resource set. Define the target permission set as the data access permission boundary corresponding to the target user; Obtain the set of currently dynamic permissions that have been dynamically granted to the target user based on the association relationships between business domains where the association status has changed; Calculate the set difference between the target permission set and the current dynamic permission set to determine the permission permissions to be added and the permission permissions to be revoked. The dynamic access control policy includes policy instructions for granting new access permissions and revoking access permissions.
7. The access control and data permission isolation method for multiple service domains according to claim 6, characterized in that, The step of determining the target permission set corresponding to the target user based on the data access constraints corresponding to the candidate data resource set includes: Obtain the data field attributes and data sensitivity levels corresponding to each data field in the candidate data resource set; Obtain the data requirements of the business scenario corresponding to the business scenario node in the valid association path; Based on data requirements, data field attributes, and data sensitivity levels, field-level access conditions are determined for data fields in the candidate data resource set. Add the field access permissions corresponding to the data fields that meet the field-level access conditions to the target permission set, and identify the data fields that do not meet the field-level access conditions as restricted access fields.
8. The access control and data permission isolation method for multiple service domains according to claim 7, characterized in that, Before granting the new access permissions, the following is also included: Retrieve historical data access request records, and filter historical data access requests that have not changed in terms of current user participation relationship, business scenario status, data access constraints, and data field attributes from the historical data access request records as target historical data access requests; Copy the target user's current permission state, apply the access permissions to be revoked in the dynamic access control policy to the copied permission state to obtain the baseline permission state, and apply the access permissions to be added to the baseline permission state to obtain the simulated permission state. Based on the simulated permission status, the target historical data access request is simulated to determine the simulated access result. Based on the baseline permission status, the target historical data access request is accessed to determine the reference access result. The simulated access results are compared with the corresponding reference access results, and the dynamic access control policy is judged to meet the preset execution conditions based on the comparison results. When the preset execution conditions are met, the new access permissions are granted. If the preset execution conditions are not met, the new access permission will not be granted, and the target historical data access request whose simulated access result is inconsistent with the corresponding reference access result will be recorded. The access permissions to be revoked are not subject to the preset execution conditions.
9. The access control and data permission isolation method for multiple service domains according to claim 3, characterized in that, After controlling the target user's access to data resources according to the dynamic access control policy, it also includes: Acquire business call data and data interaction data during the operation of the enterprise digital operation platform, and update the association status between business domains and the business association edge status between corresponding business domain nodes in the business domain semantic relationship model based on the business call data and data interaction data. When the business scenario in which the target user participates ends, or when the association status between the target user and the business domain corresponding to the target user changes from a valid association status to a de-association status, the data resource association path and data access permission boundaries corresponding to the target user are redefined. Obtain the access permissions currently held by the target user that are granted by the dynamic access control policy corresponding to the ended business scenario, or the access permissions granted by the dynamic access control policy corresponding to the business domain association relationship that has been updated to a de-associated state, and determine the access permissions as the current dynamic permission set; Determine which data access permissions in the current dynamic permission set exceed the redefined data access permission boundaries, and revoke the determined access permissions.
10. An access control and data permission isolation system for multiple business domains, characterized in that: include: The data acquisition module is used to acquire user-related data, business domain data, business scenario data, and data resource data from the enterprise's digital operation platform. The model building module is used to build a business domain semantic relationship model based on user association data, business domain data, business scenario data and data resource data. The business domain semantic relationship model includes user nodes, business domain nodes, business scenario nodes and data resource nodes, and establishes corresponding association edges based on the data association relationships between nodes. The status monitoring module is used to acquire business call data and data interaction data during the operation of the enterprise digital operation platform, determine the association status between business domains based on the business call data and data interaction data, and update the business association edge status between corresponding business domain nodes in the business domain semantic relationship model according to the association status. The path search module is used to identify users participating in the corresponding cross-business domain business scenario in the business domain where the association status changes when the association status changes, and to determine the data resource association path corresponding to the target user in the updated business domain semantic relationship model. The permission calculation module is used to determine the data access permission boundaries of the target user based on the data resource association path, and generate dynamic access control policies based on the data access permission boundaries. The access control enforcement module is used to control target users' access to data resources according to dynamic access control policies.
