A business-aware cross-border data access acceleration method and system for international engineering enterprises
By identifying business scenarios in cross-border data access requests from international engineering companies, generating business scenario tags, and optimizing caching strategies and preloading, the problem of low caching strategy matching in cross-border data access is solved, improving access efficiency and stability.
Patent Information
- Application Number
- CN202611315240.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-27
- Publication Date
- 2026-11-20
AI Technical Summary
International engineering companies often experience significant differences in data access characteristics across different engineering businesses during cross-border data access processes. Furthermore, their caching and synchronization strategies are not well-matched with specific business scenarios, resulting in slow response times for users' first cross-regional access.
By acquiring access resource information and business context information from cross-border data access requests, the system identifies target business scenarios, generates business scenario tags, determines target caching strategies, preloading constraints, and cross-data center coordination strategies, utilizes edge cache nodes for data querying and preloading, and optimizes cross-data center cache synchronization and invalidation control.
It improves the efficiency and stability of cross-border data access, reduces repeated cross-border transmissions, lowers the waiting time for the first cross-regional access, and takes into account the data consistency and control requirements of sensitive data.
Smart Images

Figure CN123145013A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of network acceleration and data access optimization technology, and in particular to a business-aware cross-border data access acceleration method and system for international engineering enterprises. Background Technology
[0002] With the globalization of international engineering contracting, engineering companies typically deploy multiple data centers in different countries or regions. These regional data centers provide business system services such as contract management, financial approval, material procurement, project progress tracking, personnel management, and technical design to surrounding project offices and overseas personnel. In routine business scenarios, users can access the nearest data center in their region. However, in scenarios involving cross-continental business trips, global data aggregation, cross-regional business collaboration, and retrieval of historical engineering data, users still need to access remote data centers via cross-border networks. Due to the long distances and significant fluctuations in network conditions across borders, and the potential for multiple network nodes between different regions, this can easily lead to increased latency in business data access, decreased data transmission stability, and high bandwidth consumption.
[0003] Existing technologies typically employ methods such as data caching, content delivery networks (CDNs), edge node deployment, network path optimization, or data compression to improve the efficiency of remote data access. Data caching temporarily stores accessed data on nodes closer to the user, reducing the number of times data needs to be accessed repeatedly from remote data centers. CDNs or edge nodes distribute files or business resources to different regions, shortening the network distance between the user and the data. However, international engineering companies have diverse business types, and the data from different business operations varies significantly in terms of update frequency, data sensitivity, access methods, data volume, and consistency requirements. For example, contract documents are typically read-heavy and write-light, financial and personnel data have high requirements for consistency and security, project progress data is updated frequently, and technical documents such as engineering drawings and building information models have large data volumes. Existing data access acceleration methods typically employ the same or similar caching and synchronization strategies across different business processes. Cached objects are often based on pages or access addresses, making it difficult to select appropriate cache validity periods, granularity, and data consistency strategies according to specific business scenarios and user contexts. Furthermore, existing methods usually retrieve data from remote data centers only after a user initiates a request, lacking anticipation of subsequent user access needs and prone to long waiting times on first visits or when the access scenario changes. In addition, using a uniform data synchronization method between different data centers can lead to unnecessary data transfer, untimely cache updates, or sensitive data being stored across regions.
[0004] Therefore, in the process of cross-border data access for international engineering companies, the significant differences in data access characteristics among different engineering businesses, the low degree of matching between caching and synchronization strategies and specific business scenarios, and the slow response time for users' first cross-regional access have become urgent problems to be solved. Summary of the Invention
[0005] This application provides a business-aware cross-border data access acceleration method and system for international engineering enterprises, aiming to solve the problems of significant differences in data access characteristics of different engineering businesses, low matching degree between caching and synchronization strategies and specific business scenarios, and slow response time for users' first cross-regional access in the process of cross-border data access in international engineering enterprises.
[0006] Firstly, a method for accelerating business-aware cross-border data access for international engineering companies, the method comprising:
[0007] Obtain cross-border data access requests initiated by user terminals, extract access resource information from the cross-border data access requests, and obtain business context information corresponding to the user terminals;
[0008] Based on the access resource information and the business context information, the target business scenario corresponding to the cross-border data access request is identified, and a business scenario tag including business type, business subclass and context identifier is generated. The business type includes contract business, financial funds, material procurement, project progress, personnel management and technical design.
[0009] Based on the business scenario label, the target caching strategy, preloading constraint and cross-data center coordination strategy corresponding to the target business scenario are determined from the preset business awareness strategy matrix. The target caching strategy includes cache validity period, cache granularity and data consistency requirements.
[0010] According to the target caching strategy, the target business data corresponding to the cross-border data access request is queried in the edge cache node corresponding to the region where the user terminal is located, and a cache query result is obtained; when the cache query result shows that no valid cache data that meets the data consistency requirement is found, the target business data is obtained from the source data center where the target business data is stored, the target business data is written into the edge cache node according to the cache granularity, and the target business data is returned to the user terminal.
[0011] Obtain the historical access sequence corresponding to the user terminal, predict the access probability of at least one candidate business scenario based on the historical access sequence and the current business scenario label, and obtain the business scenario prediction result; determine the target preloading scenario based on the business scenario prediction result and the preloading constraint, and preload the candidate business data corresponding to the target preloading scenario to the edge cache node;
[0012] Based on the cross-data center coordination strategy, determine the cross-data center cache permissions and cache coordination method corresponding to the target business data, and perform cache synchronization, cache update, or cache invalidation control on the target business data according to the cross-data center cache permissions and the cache coordination method.
[0013] Optionally, in the above scheme, identifying the target business scenario corresponding to the cross-border data access request based on the access resource information and the business context information includes:
[0014] The Uniform Resource Locator (URL) path of the cross-border data access request is parsed to obtain candidate information of the business type corresponding to the URL path.
[0015] The resource identifier and query parameters in the cross-border data access request are parsed to obtain the business object characteristics corresponding to the cross-border data access request.
[0016] The project identifier, user role, and access time are extracted from the business context information to obtain a context feature set;
[0017] Based on the candidate information of the business type, the characteristics of the business object, and the context feature set, a matching is performed with the preset business scenario mapping relationship to obtain the business scenario label corresponding to the target business scenario.
[0018] Optionally, in the above scheme, the matching based on the candidate business type information, the business object features, and the context feature set with a preset business scenario mapping relationship includes:
[0019] The initial business type corresponding to the cross-border data access request is determined based on the candidate business type information.
[0020] Based on the characteristics of the business object, candidate business subclasses are determined from multiple business subclasses corresponding to the initial business type, and a context identifier is determined based on the characteristics of the business object and the context feature set.
[0021] The initial business type and the candidate business subclass are verified based on the context feature set to obtain the business scenario verification result;
[0022] Based on the business scenario verification results, the initial business type or the candidate business subclass is modified to obtain the target business type and the target business subclass;
[0023] The business scenario tag is generated based on the target business type, the target business subclass, and the context identifier, so that cross-border data access requests with the same Uniform Resource Locator (URL) path but different business context information correspond to different business scenario tags.
[0024] Optionally, in the above scheme, determining the target caching strategy, preloading constraint, and cross-data center coordination strategy corresponding to the target business scenario from a preset business awareness strategy matrix based on the business scenario label includes:
[0025] Based on the business type and business subclass in the business scenario tag, the business awareness strategy matrix is queried to obtain the basic business strategy group corresponding to the target business scenario. The basic business strategy group includes the initial cache validity period, initial cache granularity, initial data consistency requirements, initial preloading rules, and initial cross-data center coordination rules.
[0026] Obtain the data sensitivity level corresponding to the target business data, and determine the sensitivity constraint result based on the data sensitivity level;
[0027] Based on the sensitivity constraint results, the basic business strategy group is modified to obtain the target caching strategy, the preloading constraint, and the cross-data center coordination strategy;
[0028] Specifically, when the data sensitivity level reaches a preset sensitivity level, the effective cache duration is adjusted to within the preset duration, the preloading constraint is set to prohibit cross-data center preloading, and the cross-data center cache permission is set to prohibit.
[0029] Optionally, in the above scheme, the step of querying the business-aware strategy matrix based on the business type and business subclass in the business scenario tag to obtain the basic business strategy group corresponding to the target business scenario includes:
[0030] When the business type is contract business, the initial cache validity period is determined to be 30 minutes, the initial cache granularity is the query result level, and the initial data consistency requirement is eventual consistency.
[0031] When the business type is financial funds, the initial cache validity period is determined to be 5 minutes, the initial cache granularity is at the field level, and the initial data consistency requirement is strong consistency.
[0032] When the business type is material procurement, the initial cache validity period is determined to be 15 minutes, the initial cache granularity is list level, and the initial data consistency requirement is eventual consistency.
[0033] When the business type is project progress, the initial cache validity period is determined to be 60 seconds, the initial cache granularity is incremental, and the initial data consistency requirement is real-time consistency.
[0034] When the business type is personnel management, the initial cache validity period is determined to be 10 minutes, the initial cache granularity is row-level based on personnel identifiers, and the initial data consistency requirement is strong consistency.
[0035] When the business type is technical design, the initial cache validity period is determined to be 24 hours, the initial cache granularity is at the file version level, and the initial data consistency requirement is eventual consistency.
[0036] The initial cache validity period, initial cache granularity, and initial data consistency requirements that match the business type are combined to obtain the initial cache strategy in the basic business strategy group.
[0037] Optionally, in the above scheme, querying the target business data corresponding to the cross-border data access request in the edge cache node corresponding to the region where the user terminal is located, according to the target caching strategy, includes:
[0038] A cache key is generated based on the business subclass and context identifier in the business scenario tag, the query content corresponding to the cross-border data access request, and the user role.
[0039] The candidate cache data is obtained by querying the edge cache node according to the cache key;
[0040] Based on the cache validity duration and data consistency requirements in the target caching strategy, at least one of the cache time, version identifier, timestamp and source verification information of the candidate cache data is verified to obtain the cache validity verification result.
[0041] When the cache validity verification result indicates that the candidate cache data is valid, the candidate cache data is determined as the target service data, and the target service data is returned to the user terminal.
[0042] If the cache validity verification result indicates that no valid cache data is found, the target business data is obtained from the source data center, and the target business data is associated with the cache key and written to the edge cache node according to the cache granularity and the cache validity duration.
[0043] Optionally, in the above scheme, predicting the access probability corresponding to at least one candidate business scenario based on the historical access sequence and the current business scenario label includes:
[0044] Extract the business scenario tag sequence that the user accessed within a preset historical time period from the historical access sequence to obtain the historical business scenario sequence;
[0045] The predicted input information is obtained by combining the historical business scenario sequence, the current business scenario tag, the user role, and the current access time.
[0046] The predicted input information is input into a preset access prediction model to obtain the access probabilities corresponding to multiple candidate business scenarios.
[0047] The access probability corresponding to each candidate business scenario is compared with the preset first probability threshold and second probability threshold respectively to obtain the probability comparison result, wherein the first probability threshold is greater than the second probability threshold.
[0048] Based on the probability comparison results, candidate service scenarios with access probabilities greater than the first probability threshold are identified as high-priority preloading scenarios, candidate service scenarios with access probabilities not less than the second probability threshold and not greater than the first probability threshold are identified as low-priority preloading scenarios, and candidate service scenarios with access probabilities less than the second probability threshold are identified as non-preloading scenarios, thus obtaining the service scenario prediction results.
[0049] Optionally, in the above scheme, determining the target preloading scenario based on the business scenario prediction result and the preloading constraints, and preloading the candidate business data corresponding to the target preloading scenario to the edge cache node, includes:
[0050] Obtain the data sensitivity level of candidate business data corresponding to each candidate business scenario to obtain candidate data sensitivity information;
[0051] Based on the business type corresponding to each candidate business scenario and the candidate data sensitivity information, the business preloading rules corresponding to each candidate business scenario are determined from the business perception strategy matrix.
[0052] The high-priority preloading scenarios and the low-priority preloading scenarios are filtered according to the business preloading rules to obtain a target preloading scenario set;
[0053] Among them, contract and business data with a sensitivity level lower than the preset sensitivity level are allowed to be preloaded across data centers, financial and personnel management data are prohibited from being preloaded, material procurement data are preloaded according to the preset business time period, project progress data are preloaded according to the project subscription relationship, and hot files or building information model data in technical design data are preloaded.
[0054] A preloading task queue is generated based on the preloading priority of each target preloading scenario in the target preloading scenario set, and the corresponding candidate business data is loaded into the edge cache node according to the preloading task queue to obtain preloaded cache data.
[0055] Optionally, in the above scheme, determining the cross-datacenter caching permissions and caching coordination method corresponding to the target business data according to the cross-datacenter coordination strategy includes:
[0056] Obtain the data sensitivity level corresponding to the target business data; determine the cross-data center cache permissions and cache synchronization method corresponding to the target business data based on the business type in the business scenario tag, the data sensitivity level, and the cross-data center coordination strategy; and generate cross-data center coordination instructions.
[0057] When the business type is contract business, the target business data is asynchronously broadcast to multiple data centers according to the cross-data center coordination instruction, and the cached data is invalidated using version identifiers and timestamps to obtain the cached version information corresponding to the contract business data;
[0058] When the business type is financial funds, the target business data is restricted to being written to the source data center, and the source data is verified in real time when it is read to obtain the source verification result corresponding to the financial funds data. Furthermore, the target business data is prohibited from being cached and shared across data centers.
[0059] When the business type is material procurement, the target business data is written to the local data center first, and the target business data is delayed in being synchronized to other data centers to obtain the delayed synchronization status of the material procurement data.
[0060] When the business type is project progress, the changed part of the target business data is extracted to obtain incremental data, and the incremental data is synchronized to other data centers to obtain the incremental synchronization status corresponding to the project progress data.
[0061] When the business type is personnel management, user permission verification is performed on the access to the target business data, and the corresponding cache status is updated or cache invalidation information is generated according to the update information of the personnel management business data, and the target business data is prohibited from being shared across data centers.
[0062] When the business type is technical design, cross-data center version synchronization is performed based on the file version identifier, and the target business data is distributed through the content delivery network to obtain the file version synchronization status corresponding to the technical design data.
[0063] Based on the cache version information, the source verification result, the delay synchronization status, the incremental synchronization status, the cache invalidation information, or the file version synchronization status, update the cache status in each data center to obtain the cache coordination result corresponding to the target business data.
[0064] Secondly, a business-aware cross-border data access acceleration system for international engineering enterprises, the system being communicatively connected to multiple data centers distributed in different regions and at least one edge cache node, the system comprising:
[0065] The request acquisition module is used to acquire cross-border data access requests initiated by user terminals, extract access resource information from the cross-border data access requests, and acquire business context information corresponding to the user terminals.
[0066] The business scenario identification module is used to identify the target business scenario corresponding to the cross-border data access request based on the access resource information and the business context information, and generate a business scenario tag including business type, business subclass and context identifier. The business type includes contract business, financial funds, material procurement, project progress, personnel management and technical design.
[0067] The strategy determination module is used to determine the target caching strategy, preloading constraint and cross-data center coordination strategy corresponding to the target business scenario from the preset business awareness strategy matrix according to the business scenario label. The target caching strategy includes cache validity period, cache granularity and data consistency requirements.
[0068] The edge cache access module is used to query the target business data corresponding to the cross-border data access request in the edge cache node corresponding to the region where the user terminal is located, according to the target cache strategy, and obtain the cache query result; when the cache query result shows that no valid cache data that meets the data consistency requirement is found, the module retrieves the target business data from the source data center where the target business data is stored, writes the target business data into the edge cache node according to the cache granularity, and returns the target business data to the user terminal.
[0069] The hotspot prediction and preloading module is used to obtain the historical access sequence corresponding to the user terminal, predict the access probability of at least one candidate business scenario based on the historical access sequence and the current business scenario label, and obtain the business scenario prediction result; determine the target preloading scenario based on the business scenario prediction result and the preloading constraint, and preload the candidate business data corresponding to the target preloading scenario to the edge cache node;
[0070] The edge cache coordination module is used to determine the cross-data center cache permissions and cache coordination methods corresponding to the target business data according to the cross-data center coordination strategy, and to perform cache synchronization, cache update or cache invalidation control on the target business data according to the cross-data center cache permissions and the cache coordination methods.
[0071] Compared with the prior art, this application has at least the following beneficial effects:
[0072] Based on further analysis and research of existing technical problems, this application recognizes that in the cross-border data access process of international engineering enterprises, there are significant differences in data access characteristics among different engineering businesses, low matching degree between caching and synchronization strategies and specific business scenarios, and slow response times for users' first cross-regional access. By acquiring access resource information and corresponding business context information from cross-border data access requests, this application identifies target business scenarios and generates business scenario tags including business type, business subclass, and context identifier. This allows cache control to be driven by the actual engineering business accessed by the user and its context, rather than simply relying on a coarse processing based on the Uniform Resource Locator (URL) path. Furthermore, based on the business scenario tags, a target caching strategy is determined, including cache validity duration, cache granularity, and data consistency requirements. Accordingly, cache queries, validity checks, source data center acquisition, and data writing are performed at the edge cache nodes in the user terminal's region, enabling different engineering businesses to adopt strategies that match their access characteristics and consistency requirements. The system employs a caching approach to reduce redundant cross-border transmission of valid data. Simultaneously, it predicts the access probability of candidate business scenarios based on users' historical access sequences and current business scenario tags, and pre-loads potentially accessible candidate business data to edge cache nodes within pre-loading constraints. This allows users to prioritize retrieving relevant data from their local region during subsequent accesses, reducing waiting time when first entering subsequent business scenarios. Furthermore, it determines cross-data center caching permissions and coordination methods for target business data based on cross-data center coordination strategies, implementing cache synchronization, update, or invalidation control for target business data. This ensures that the cache status in multiple regional data centers is compatible with the consistency requirements and cross-regional storage limitations of business data. This improves the low matching degree, slow response times for first-time cross-regional user access, and redundant occupation of cross-border network resources caused by using unified caching and synchronization strategies for different engineering businesses, thereby enhancing the efficiency, stability, and controllability of cross-border business data access for international engineering companies. Attached Figure Description
[0073] Figure 1 A flowchart illustrating a business-aware cross-border data access acceleration method for international engineering enterprises, provided as an embodiment of this application;
[0074] Figure 2 A schematic diagram of the overall architecture of a business-aware cross-border data access acceleration system for international engineering companies, provided as an embodiment of this application;
[0075] Figure 3 This is a schematic diagram of a business scenario identification process provided in one embodiment of this application;
[0076] Figure 4 This is a schematic diagram of a service-aware strategy matrix provided in one embodiment of this application;
[0077] Figure 5 This is a schematic diagram of a hotspot prediction preloading process provided in one embodiment of this application. Detailed Implementation
[0078] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0079] In an application environment, international engineering companies can set up multiple data centers in different countries or regions, with each data center providing business data access services to project organizations and user terminals within its respective region. For example, data centers can be set up in Europe, Asia, and Africa, each used to host or access business data such as contract business, finance, material procurement, project schedule, personnel management, and technical design. User terminals typically access the data center closest to their current location; however, when users travel across continents, conduct global data aggregation, carry out cross-regional business collaboration, or retrieve remote historical data, user terminals may need to access business data stored in data centers in other regions via cross-border networks.
[0080] In this embodiment, the data center can also be called a DC; the cache validity period refers to the valid time during which business data is allowed to be directly read after it is written into the cache; the edge cache node refers to the data cache node set up in the area where the user terminal is located or on the side close to the user terminal; the source data center refers to the data center that stores the original data or authoritative data of the target business data; the content delivery network is used to distribute large files such as engineering drawings and building information models.
[0081] In one embodiment, such as Figure 1 and Figure 2 As shown, the user terminal initiates a cross-border data access request to the business system. This request can be for querying contract details, financial statements, purchase orders, project progress, personnel information, or downloading technical design documents. The cross-border data access request can use the Hypertext Transfer Protocol (HTTP) and carries information such as the Uniform Resource Locator (URL), resource identifier, query parameters, user identity information, and access credentials.
[0082] Upon receiving a cross-border data access request, the system extracts access resource information from the request. This access resource information may include one or more of the following: Uniform Resource Locator (ULR) path, resource identifier, query fields, query conditions, request method, file identifier, and file version identifier. For example, for the ULR path " / contract / detail / C-2024-EU-001", the system can extract the contract details access path and the contract identifier "C-2024-EU-001"; for a global financial statement access request, the system can extract the financial statement type, statistical time range, and the data center range to be aggregated from the ULR path and query parameters.
[0083] Simultaneously, the system obtains business context information corresponding to the user terminal. This business context information can be obtained from user sessions, authentication results, project management systems, organizational permission systems, or request header information, and may include one or more of the following: project identifier, user role, user's affiliated organization, user's current location, access time, and data access permissions. For example, a user role could be a project manager, finance personnel, procurement personnel, construction management personnel, or technical designer; the project identifier can be used to determine the specific engineering project the user is currently accessing.
[0084] The target business scenario corresponding to the cross-border data access request is identified based on access resource information and business context information. The business scenarios of international engineering companies can be divided into six business types: contract business, finance and funds, material procurement, project progress, personnel management, and technical design. Each of these six business types can be further configured with multiple business subcategories. In one configuration method, the six business types can be further configured into a total of eighteen business subcategories. Each business subcategory can be determined from business items such as contract viewing, contract modification, claim processing, contract approval, financial approval, financial vouchers, expense reimbursement, financial statements, procurement inquiry, purchase order, inventory inquiry, material acceptance, progress planning, construction log, progress acceptance, progress warning, personnel roster, performance management, payroll management, attendance management, drawing access, building information model access, technical solution access, and patent document access.
[0085] After identifying the target business scenario, business scenario tags are generated, including business type, business subclass, and context identifier. The context identifier indicates the specific business object corresponding to the current business access; it can be a project identifier, contract identifier, purchase order identifier, personnel identifier, document identifier, or document version identifier. For example, for a request from a European project manager in Asia to access European project contract details, business scenario tags including contract business, contract viewing, and the corresponding contract identifier can be generated.
[0086] Based on the business scenario tags, a pre-defined business-aware strategy matrix is queried to determine the target caching strategy, preloading constraints, and cross-datacenter coordination strategy corresponding to the target business scenario. The target caching strategy includes at least the cache validity period, cache granularity, and data consistency requirements. Cache granularity determines the data unit written to the edge cache node, which can be at the query result level, field level, list level, incremental level, row level, or file version level. Data consistency requirements can include eventual consistency, strong consistency, or real-time consistency.
[0087] Targeted caching strategies, preloading constraints, and cross-datacenter coordination strategies are not independent of each other, but are jointly selected based on business scenario tags. For example, contract-related business typically involves more read operations than write operations, so a longer cache validity period and query result-level caching can be used; financial and treasury business has high requirements for data accuracy, so a shorter cache validity period, field-level caching, and strong consistency checks can be used; project schedule business updates frequently, so incremental caching and real-time consistency requirements can be used; technical design business typically involves large files such as building information models and construction drawings, so caching can be done according to file versions and a longer cache validity period can be set.
[0088] After determining the target caching strategy, the target business data is queried from the edge cache nodes corresponding to the user terminal's region. Specifically, a cache key can be generated based on the business scenario tag, query content, and user role, and candidate cache data can be retrieved from the edge cache nodes based on the cache key. The candidate cache data is then validated for cache validity duration, version, timestamp, or source verification to obtain the cache query results.
[0089] When the cache query result indicates the existence of valid cached data that meets the data consistency requirements, the valid cached data is returned to the user terminal as the target business data. When the cache query result indicates that no valid cached data is found, the target business data is retrieved from the source data center. After retrieving the target business data, it is written to the edge cache node according to the cache granularity defined by the target caching strategy, and the corresponding cache validity period, version identifier, and timestamp are configured before the target business data is returned to the user terminal.
[0090] For example, when a European project manager travels to Asia and accesses contract details stored in a European data center, the initial access can retrieve the contract data from the European data center via a cross-border network, and the contract query results can be written to the corresponding edge cache node in the Asian region. Within the cache's validity period, when the user accesses the same contract details again, the data can be read directly from the corresponding edge cache node in the Asian region without having to repeatedly access the European data center.
[0091] Based on the completion of the current target business data access, the historical access sequence corresponding to the user terminal is obtained. The historical access sequence can record the business scenario tags accessed by the user sequentially within a preset historical time period. Based on the historical access sequence and the current business scenario tag, the access probability corresponding to at least one candidate business scenario is predicted, and the business scenario prediction result is obtained. In the prediction process, user role and current access time can also be combined to distinguish the business access patterns under different roles and different time periods.
[0092] The target preloading scenario is determined based on the business scenario prediction results and preloading constraints. For candidate business scenarios where the access probability reaches the corresponding probability condition and preloading is allowed, candidate business data is obtained from the corresponding source data center and preloaded to the edge cache node corresponding to the user terminal's region. For business data such as financial funds and personnel management that are prohibited from preloading or cross-data center preloading, cross-data center preloading is not performed even if the access probability is high.
[0093] Furthermore, cross-datacenter caching permissions and coordination methods corresponding to the target business data are determined based on the cross-datacenter coordination strategy. Cross-datacenter caching permissions can include allowing, restricting, or prohibiting cross-datacenter caching. Caching coordination methods can include broadcast synchronization, delayed synchronization, incremental synchronization, version synchronization, real-time source verification, cache update, or cache invalidation control. Therefore, the cache status in multiple data centers can be managed differently based on the data update frequency, sensitivity, and consistency requirements of different business types.
[0094] In a test environment, business-aware caching enables most duplicate accesses to be completed on edge cache nodes, achieving a duplicate access cache hit rate of approximately 80% and improving duplicate access response speed by about 5 times. Through hotspot prediction and preloading, first-screen loading time can be reduced from 3-5 seconds to approximately 0.5-1 second. By reducing duplicate cross-border data transmission, cross-border bandwidth costs can be reduced by more than 40%. By having edge cache nodes handle duplicate data accesses, the access load on the source data center can be reduced to 30%-50% of its original load. Specific performance data may vary depending on network environment, number of users, cache capacity, and business data scale.
[0095] Through the above implementation methods, the unified driving strategy of target caching, preloading constraints and cross-data center coordination strategy is driven by business scenario tags, enabling different engineering businesses to adopt access acceleration methods that match their access characteristics, data volume, update frequency and consistency requirements. At the same time, by edge cache query, hot data preloading and cross-data center cache coordination, the waiting time for repeated cross-border access and first cross-region access is reduced, thereby taking into account the efficiency of cross-border data access, data consistency and sensitive data control requirements.
[0096] In one embodiment, such as Figure 3 As shown, the identification of the target business scenario can be sequentially included in the following steps: Uniform Resource Locator (URL) path parsing, resource identifier and query parameter parsing, business context extraction, and business scenario matching.
[0097] First, the Uniform Resource Locator (URL) paths of cross-border data access requests are parsed to obtain candidate business type information. A mapping relationship between URL path fragments and business types can be pre-established. For example, a path fragment containing "contract" can be mapped to contract business, a path fragment containing "finance" to financial funds, a path fragment containing "purchase" or "inventory" to material procurement, a path fragment containing "progress" to project progress, a path fragment containing "employee" or "attendance" to personnel management, and a path fragment containing "drawing" or "bim" to technical design.
[0098] The candidate business type information obtained from Uniform Resource Locator (URL) path resolution is used to perform a coarse classification of business types, rather than being used directly as the final identification result. This is because the same URL path may serve different projects, different user roles, or different business objects, and the current business scenario cannot be fully determined based solely on the path.
[0099] Secondly, the resource identifiers and query parameters in the cross-border data access requests are parsed to obtain the characteristics of the business objects. Resource identifiers can be contract numbers, project numbers, report numbers, purchase order numbers, personnel numbers, document numbers, or document version numbers. Query parameters can include project identifiers, statistical periods, business status, approval stages, document versions, and data filtering conditions.
[0100] For example, in the Uniform Resource Locator path " / contract / detail / C-2024-EU-001", "C-2024-EU-001" can be identified as a contract identifier, and the current request can be used to determine access to the contract details, rather than a contract list query. For requests with a "project_id" query parameter, the project corresponding to the current request can be determined based on "project_id".
[0101] Next, the project identifier, user role, and access time are extracted from the business context information to obtain a context feature set. The project identifier is used to define the project to which the business data belongs; the user role is used to determine the user's responsibilities and access permissions in the business system; the access time can include weekdays or non-weekdays, working hours or non-working hours, and the local time of the user's current region.
[0102] Finally, the candidate business type information, business object characteristics, and context feature set are matched with the preset business scenario mapping relationship. The business scenario mapping relationship can store the correspondence between different business types, business subclasses, resource characteristics, and context conditions. After the matching is completed, the target business scenario is obtained, and a business scenario label is generated.
[0103] For example, for a request whose path is a contract details path, whose resource identifier is a contract number of a European project, whose user role is a project manager, and whose access time is during working hours, the target business scenario can be identified as the contract viewing business in contract business, and the corresponding contract number or project number can be determined as the context identifier.
[0104] The above implementation method no longer determines the business type solely based on the Uniform Resource Locator (URL) path. Instead, it comprehensively uses resource identifiers, query parameters, project identifiers, user roles, and access times to identify the target business scenario. This allows the business scenario identification results to reflect the business objects and business environment that the user is currently accessing, providing more accurate business scenario labels for subsequent selection of differentiated caching strategies.
[0105] In one embodiment, the initial business type corresponding to the cross-border data access request is first determined based on the business type candidate information. The initial business type can be one of the following: contract business, financial funds, material procurement, project schedule, personnel management, or technical design.
[0106] Based on the characteristics of the business object, candidate business subclasses are determined from multiple business subclasses corresponding to the initial business type. For example, when the initial business type is contract business, the candidate business subclasses can be further determined as contract viewing, contract modification, claim processing, or contract approval based on the request path, resource identifier, or request method; when the initial business type is technical design, the candidate business subclasses can be determined as drawing access, building information model access, or technical solution access.
[0107] The context identifier is determined based on the business object characteristics and the context feature set. If the business object characteristics already include an explicit resource identifier, the resource identifier or the project identifier associated with the resource identifier can be directly used as the context identifier. If the business object characteristics do not contain a complete context identifier, the context identifier can be supplemented and determined based on the user's currently selected project, the project identifier in the user session, or object associations in the business system.
[0108] After determining the initial business type, candidate business subclasses, and context identifiers, the initial business type and candidate business subclasses are validated based on the context feature set. For example, when the Uniform Resource Locator (URL) path points to a general approval page, the user role and the business system to which the object to be approved belongs can be used to determine whether the current approval is a contract approval, financial approval, or procurement approval; when the same drawing access path is used by different projects, the project identifier can be used to determine the project to which the drawing belongs, and the corresponding cached data and access permissions can be selected accordingly.
[0109] Based on the verification results, the initial business type or candidate business subclass is corrected to obtain the target business type and target business subclass. When the initial identification result is consistent with the business context, the initial business type and candidate business subclass can be retained; when the initial identification result is inconsistent with the business context, it can be corrected based on the project identifier, user role, or business affiliation of the resource to be accessed.
[0110] Finally, business scenario tags are generated based on the target business type, target business subclass, and context identifier. These tags can be stored in a structured data format, such as consisting of a business type field, a business subclass field, and a context identifier field. Business scenario tags can serve as query conditions for the business-aware strategy matrix and participate in cache key generation, access prediction, and cross-datacenter coordination.
[0111] The above implementation method first generates candidate service identification results, and then uses business context information to verify and correct the candidate service identification results. This can reduce identification errors caused by common paths, shared pages for multiple services, or the same Uniform Resource Locator (URL) path in different projects. It also allows access requests with the same path but different business contexts to correspond to different business scenario tags, thereby improving the accuracy of differentiated caching strategy selection.
[0112] In one embodiment, the business-aware policy matrix can be pre-stored in a policy configuration database or loaded into memory by a smart cache manager. The business-aware policy matrix uses business type and business subclass as query indexes and configures basic business policy groups for different business scenarios.
[0113] The basic business strategy group includes initial cache validity period, initial cache granularity, initial data consistency requirements, initial preloading rules, and initial cross-datacenter coordination rules. Initial cache validity period limits the availability time of cached data; initial cache granularity determines the unit of data written to the cache; initial data consistency requirements determine whether cached data requires source verification, version verification, or real-time updates; initial preloading rules determine whether business data is allowed to be preloaded and the preloading trigger conditions; initial cross-datacenter coordination rules determine whether business data is allowed to be cached across data centers and what cache coordination method to use.
[0114] By querying the business-aware strategy matrix based on the business type and business subclass in the business scenario tag, the basic business strategy group corresponding to the target business scenario can be obtained. For example, although the contract viewing business and the contract approval business both belong to contract business, caching permissions, preloading conditions, or consistency verification requirements can be set separately according to the specific business subclass.
[0115] Obtain the data sensitivity level corresponding to the target business data. The data sensitivity level can be determined by the data security labels, access control policies, or data classification and grading results in the business system. For example, general engineering business data can be set to a sensitivity level lower than the preset level, restricted data can be marked as L2, and sensitive data can be marked as L3 or higher.
[0116] Sensitivity constraints are determined based on data sensitivity levels. These constraints indicate whether it's necessary to shorten cache validity, increase data consistency requirements, prohibit preloading, or prohibit cross-datacenter caching. The sensitivity constraints do not replace the business-aware policy matrix; rather, they represent a secondary modification of the basic business policy group.
[0117] When the data sensitivity level does not reach the preset sensitivity level, the initial cache validity period, initial preloading rules, and initial cross-datacenter coordination rules in the basic business policy group can be retained. When the data sensitivity level reaches the preset sensitivity level, the cache validity period is adjusted to within the preset period. In one implementation, the preset sensitivity level can be L3, and the corresponding preset period can be 5 minutes.
[0118] For data that reaches a preset sensitivity level, set the preloading constraint to prohibit cross-datacenter preloading and set cross-datacenter caching permissions to prohibit. For sensitive data that requires strong consistency, it is also possible to require verification with the source datacenter on each read, or to generate cache invalidation information immediately when the source data changes.
[0119] For example, contract business data is generally allowed to be cached at the query result level and preloaded across data centers. However, when a specific contract document is marked as sensitive data, its effective caching duration can be shortened to less than 5 minutes, and it can be prohibited from being preloaded or cached in data centers in other regions.
[0120] Through the above implementation methods, basic business strategy groups are determined by business type and business subclass, and secondary corrections are made using data sensitivity levels. This ensures that cache validity period, cache granularity, data consistency requirements, preloading rules, and cross-data center coordination rules can simultaneously adapt to business access characteristics and data security requirements, preventing sensitive business data from being cached for a long time or shared across regions due to fixed caching strategies.
[0121] In one embodiment, such as Figure 4 As shown, the business awareness strategy matrix configures parameters in three dimensions—caching validity period, cache granularity, and data consistency requirements—for six business types: contract business, finance and funds, material procurement, project progress, personnel management, and technical design. This results in eighteen strategy parameter configurations for the six business types.
[0122] Typical data in contract-related business transactions includes contract texts, contract amendments, and claims documents. Access characteristics typically involve more read operations than write operations, and access is based on project or contract identifiers. For contract-related business transactions, the initial cache validity period can be set to 30 minutes, the initial cache granularity to the query result level, and the initial data consistency requirement to eventual consistency. For less sensitive contract-related business data, cross-datacenter preloading and cross-datacenter caching can be permitted.
[0123] Typical data for financial and cash transactions includes financial vouchers, bank statements, expense reports, and financial statements. Access to this data often involves numerous write operations and requires a high degree of data consistency. For financial and cash transactions, the initial cache validity period can be set to 5 minutes, the initial cache granularity to the field level, and the initial data consistency requirement to strong consistency. Financial and cash data should not undergo cross-datacenter preloading, and cross-datacenter cache sharing should be prohibited.
[0124] Typical data for material procurement operations includes purchase orders, inventory ledgers, and acceptance slips, and access to this data is usually concentrated within specific business periods or time windows. For material procurement operations, the initial cache validity period can be set to 15 minutes, the initial cache granularity to list level, and the initial data consistency requirement to eventual consistency. Material procurement data can be preloaded according to preset business periods, and cross-datacenter caching can be implemented when sensitivity constraints are met.
[0125] Typical data for project progress tracking includes schedule plans, construction logs, acceptance reports, and progress alerts. Access to this data is characterized by frequent writes and the need for real-time queries. For project progress tracking, the initial cache validity period can be set to 60 seconds, the initial cache granularity to incremental, and the initial data consistency requirement to real-time consistency. Project progress data can be pre-loaded according to project subscription relationships, and cross-datacenter cache coordination can be achieved using incremental synchronization.
[0126] Typical data for personnel management operations includes employee files, performance ratings, payroll information, and attendance records. This data is highly sensitive and requires strict user access control. For personnel management operations, the initial cache validity period can be set to 10 minutes, the initial cache granularity to row-level based on personnel identifiers, and the initial data consistency requirement to strong consistency. Personnel management data should not undergo cross-datacenter preloading, and cross-datacenter cache sharing should be prohibited.
[0127] Typical data for technical design work includes Building Information Models (BIM), construction drawings, technical solutions, and patent documents. These data files are large and have clear version management requirements. For technical design work, the initial cache validity period can be set to 24 hours, the initial cache granularity to file version level, and the initial data consistency requirement to eventual consistency. For frequently accessed BIM or engineering drawings, preloading can be implemented; for technical design data that allows cross-datacenter caching, version synchronization and a content delivery network can be used for distribution.
[0128] The aforementioned cache validity period can be configured based on enterprise network conditions, data update frequency, and security policies. The specific time parameters are used to illustrate one possible implementation and do not imply that all business data should use a fixed time under all circumstances. When the data sensitivity level reaches a preset sensitivity level, the corresponding parameters can be adjusted according to the aforementioned sensitivity constraints.
[0129] Through the above implementation method, the cache validity period, cache granularity and data consistency requirements are configured according to the data type, access frequency, file size and consistency requirements of different engineering business. This avoids the use of uniform cache parameters for all business, and enables contract queries, financial access, procurement lists, progress increments, personnel records and technical documents to be cached in an appropriate data unit and consistency manner.
[0130] In one embodiment, a cache key is generated based on the business subclass and context identifier in the business scenario tag, the query content corresponding to the cross-border data access request, and the user role. The query content can be normalized first, and then hashed to obtain the query identifier. The cache key can adopt a combined structure including the business subclass, context identifier, query identifier, and user role.
[0131] For example, the cache key for the contract viewing service could include the contract viewing subclass, the contract or project identifier, the query condition hash value, and the project manager role. By writing user roles into the cache key, it's possible to prevent users with different access permissions from directly sharing cached results that are inappropriate for their permission scope.
[0132] The system queries the edge cache node corresponding to the user terminal's region based on the cache key to obtain candidate cache data. If no data matching the cache key exists in the edge cache node, the candidate cache data can be set to empty, and a miss status is generated. If data matching the cache key exists, the system reads the candidate cache data along with its cache time, version identifier, timestamp, and source verification information.
[0133] Based on the cache validity period and data consistency requirements in the target caching strategy, candidate cached data is validated. For business data using eventual consistency, the focus can be on verifying whether the cache time has exceeded the cache validity period and whether the version identifier or timestamp has been updated by the expiration notification. For business data using strong consistency, a validation request can be sent to the source data center to compare the version identifier, update time, or key field status of the candidate cached data. For project progress data using real-time consistency, it can be verified whether the edge cache nodes have received the latest incremental data.
[0134] When the candidate cached data does not exceed the cache validity period and meets the corresponding version verification, timestamp verification or source verification requirements, a cache validity verification result for the candidate cached data is generated, the candidate cached data is determined as the target business data, and the target business data is returned to the user terminal.
[0135] When no candidate cache data is found, or the candidate cache data has exceeded the cache validity period, the version is inconsistent, the timestamp has expired, or the source verification fails, a cache validity verification result indicating that no valid cache data was found is generated. Subsequently, the target business data is obtained from the source data center, organized according to the cache granularity in the target caching strategy, and the target business data is associated with the cache key and written to the edge cache node, recording the cache time, version identifier, and timestamp.
[0136] Taking contract data access as an example, when a European project manager accesses contract data in a European data center from Asia, the business scenario tags can be contract business, contract viewing, and corresponding contract identifier. Based on the strategy corresponding to contract business, the cache validity period is set to 30 minutes, the cache granularity is set to query result level, and the data consistency requirement is set to eventual consistency. If the cache is not hit on the first access, the contract data is retrieved from the European data center and written to the edge cache node in the Asian region. If the same contract is accessed again within 30 minutes and the cache has not expired, the contract query result from the edge cache node can be directly returned. In one network environment, the latency for the first cross-continental access is approximately 200 milliseconds, and subsequent cache-hit access latency can be less than 10 milliseconds.
[0137] Taking global financial aggregation as an example, after identifying requests with the path " / finance / report / global", the financial statement business scenario within financial funds can be obtained. The corresponding target caching strategy can include a 5-minute cache validity period, field-level caching, and strong consistency requirements. Global financial aggregation data can be obtained in real time from multiple data centers and formed into a short-term field-level cache in controlled access nodes, but financial data is not replicated into a cache that can be shared across multiple regional data centers. Repeated accesses within 5 minutes can use the short-term field-level cache after real-time verification at the source; if more than 5 minutes have passed or the source data changes, data is retrieved again from the corresponding source data center.
[0138] By implementing the above methods, cache keys including business subclasses, context identifiers, query content, and user roles can be used to accurately distinguish different business objects and access permissions. Based on the cache validity period and data consistency requirements, cache time, version, timestamp, or source verification can be performed, which can improve the response speed of repeated cross-border access while ensuring the availability and consistency of cached data.
[0139] In one embodiment, such as Figure 5 As shown, the process first extracts the business scenario tag sequence accessed by the user within a preset historical time period from the historical access sequence, thus obtaining the historical business scenario sequence. The preset historical time period can be set according to the data volume and user access frequency, for example, obtaining the user's historical access records for the most recent 30 days.
[0140] The historical business scenario sequence is arranged according to access time, and each item can include business type, business subclass, and context identifier. For example, a project manager's historical business scenario sequence can include business scenarios that occur sequentially, such as contract viewing, financial approval, project progress inquiry, and re-viewing the contract.
[0141] The predicted input information is obtained by combining historical business scenario sequences, current business scenario tags, user roles, and current access time. The current access time can be converted into weekday type and time period information, such as weekday morning, weekday afternoon, or non-working hours. User role and time information can be used to distinguish the access patterns of different user groups at different times.
[0142] The access prediction model is used to output the access probabilities corresponding to multiple candidate business scenarios based on the prediction input information. In one optional implementation, the access transfer relationships between business scenarios in a historical business scenario sequence can be statistically analyzed, and the corresponding historical records can be filtered according to the current business scenario label, user role, and time period. The access probability is determined based on the proportion of each candidate business scenario appearing in the filtered results. In another optional implementation, a sequence prediction model capable of processing the business scenario label sequence and outputting a category probability distribution can also be used. The specific structure of the access prediction model is not limited, as long as it can output the access probabilities of candidate business scenarios based on the historical business scenario sequence and the current business context.
[0143] The access probability corresponding to each candidate business scenario is compared with a first probability threshold and a second probability threshold, respectively, where the first probability threshold is greater than the second probability threshold. In one implementation, the first probability threshold can be set to 0.5, and the second probability threshold can be set to 0.3.
[0144] When the access probability corresponding to a candidate business scenario is greater than the first probability threshold, the candidate business scenario is identified as a high-priority preloading scenario; when the access probability is not less than the second probability threshold and not greater than the first probability threshold, the candidate business scenario is identified as a low-priority preloading scenario; when the access probability is less than the second probability threshold, the candidate business scenario is identified as a non-preloading scenario. The business scenario prediction result is composed of each candidate business scenario and its preloading priority.
[0145] For example, in a scenario where the current business scenario is contract viewing, the user role is a project manager, and the current time is a weekday afternoon, the access prediction model can output an access probability of 0.65 for contract viewing, 0.25 for project progress tracking, and 0.10 for financial transactions. Based on a first probability threshold of 0.5 and a second probability threshold of 0.3, contract viewing can be identified as a high-priority preloading scenario, while project progress tracking and financial transactions can be identified as non-preloading scenarios.
[0146] Through the above implementation method, the business scenarios that may be accessed in the future are predicted based on the user's historical business scenario sequence, current business scenario tag, user role and access time. The candidate business scenarios are divided into different preloading priorities by two probability thresholds, so that the preloaded resources are preferentially allocated to business data with higher access probability, reducing the bandwidth and cache space occupation caused by invalid preloading.
[0147] In one embodiment, after determining the prediction result of the business scenario, the data sensitivity level of the candidate business data corresponding to each candidate business scenario is obtained to obtain the candidate data sensitivity information. The data sensitivity level can be obtained from the data security label, the business system to which the candidate business data belongs, and the access permission policy.
[0148] Based on the business type and data sensitivity information corresponding to each candidate business scenario, the business awareness strategy matrix is queried to determine the business preloading rules corresponding to each candidate business scenario. The business preloading rules should at least indicate whether preloading is allowed, whether cross-datacenter preloading is allowed, and the corresponding preloading trigger conditions.
[0149] For contract and business data, cross-datacenter preloading is permitted when the data sensitivity level is lower than a preset sensitivity level. For example, frequently accessed low-sensitivity contract details or contract lists can be preloaded into the edge cache node corresponding to the user's current region. When contract and business data reaches the preset sensitivity level, cross-datacenter preloading is not performed.
[0150] For financial and personnel management data, which have high consistency requirements and sensitivity, the business preloading rule is set to prohibit preloading to prevent financial fields and personnel records from being copied to other areas in advance due to prediction results.
[0151] For material procurement data, preloading can be performed according to preset business time periods. For example, during the procurement processing period on weekday mornings, the purchase order list, inventory list, or pending acceptance list corresponding to the project can be preloaded, while preloading is not performed during non-business time periods.
[0152] For project progress data, preloading can be performed based on project subscription relationships. Project subscription relationships are used to record projects that a user follows or is responsible for. When prediction results indicate that a user may access project progress services, the latest incremental progress data for the corresponding project can be retrieved in advance, without loading progress data for projects the user has not subscribed to.
[0153] For technical design data, preloading can be performed on frequently accessed files or building information model (BIM) data. Frequently accessed files can be determined based on the number of visits, the number of projects participated in, or user interest within a preset time period. During preloading, a specific version is retrieved based on the file version identifier to avoid using older versions as preloaded cache data.
[0154] Based on the business preloading rules, high-priority preloading scenarios and low-priority preloading scenarios are filtered to obtain the target preloading scenario set. If a business scenario has a high access probability but does not meet the business preloading rules, it will not be added to the target preloading scenario set; if a business scenario meets the preloading rules but is determined to be a non-preloading scenario, it will also not be added to the target preloading scenario set.
[0155] A preloading task queue is generated based on the preloading priority of each target preloading scenario in the target preloading scenario set. Higher priority preloading tasks are placed before lower priority preloading tasks. For tasks with the same priority, they can be further sorted according to predicted access probability, data volume, estimated access time, or remaining cache space.
[0156] Candidate service data is retrieved from the corresponding source data center according to the preloaded task queue, and then loaded into the edge cache node corresponding to the region where the user terminal is located to obtain preloaded cache data. When writing preloaded cache data, the cache granularity, cache validity period, version identifier, and timestamp are set according to the corresponding target cache strategy.
[0157] Taking the aforementioned project manager access prediction as an example, if the access probability for the contract viewing service is 0.65 and the sensitivity level of the contract data is lower than the preset sensitivity level, high-priority preloading can be executed immediately. When the user subsequently accesses the contract details, the target service data has already been stored in the edge cache node corresponding to the user's region, and can be returned directly. In one network environment, the local access latency after preloading can be less than 10 milliseconds.
[0158] By combining access probability judgment with business type restrictions and data sensitivity constraints, preloading is only performed on candidate business data that have a high probability of access and are allowed to be preloaded. This can shorten the waiting time for users when they first access subsequent business scenarios and prevent financial data, personnel management data or other sensitive data from being unnecessarily copied across regions due to prediction results.
[0159] In one embodiment, the data sensitivity level corresponding to the target business data is first obtained. Based on the business type, data sensitivity level, and cross-data center coordination strategy in the business scenario tag, the cross-data center cache permissions and cache synchronization method corresponding to the target business data are determined, and cross-data center coordination instructions are generated.
[0160] When the data sensitivity level reaches the preset sensitivity level, cross-datacenter caching permissions are set to disabled. For data with a sensitivity level lower than the preset sensitivity level, the specific cache synchronization method is determined based on the business type. Cross-datacenter coordination instructions can include the target datacenter, cache synchronization method, data range, version identifier, execution time, and cache expiration conditions.
[0161] When the business type is contract-related, the target business data can be asynchronously broadcast to multiple data centers. Asynchronous broadcasting can be performed after the source data is written, ensuring that other data centers receive the updated data within a preset synchronization time. In one implementation, the latency of asynchronous broadcasting is controlled to within 5 seconds. Contract-related cached data is configured with both a version identifier and a timestamp. By comparing the version identifier and timestamp, it is determined whether the cached data needs to be updated or expired, thus obtaining the cached version information corresponding to the contract-related data.
[0162] When the business type is finance and funds, the target business data is restricted to being written to the source data center, and the finance and funds data is not replicated to other data centers as a shareable cache. When a user reads the finance and funds data, real-time validation is performed on the source data to obtain the source validation result corresponding to the finance and funds data. The short-term field-level cache formed in the controlled access node is only used when the source validation passes and it is within the cache's valid duration.
[0163] When the business type is material procurement, the target business data is first written to the local data center, and then synchronized to other data centers after a preset delay time or when network resources meet the requirements, resulting in a delayed synchronization status for the material procurement data. Delayed synchronization is suitable for procurement lists, inventory ledgers, or acceptance records that have a tolerance for short-term data differences.
[0164] When the business type is project progress, the current target business data is compared with the previous version data, and the changed parts (added, deleted, or modified) are extracted to obtain incremental data. Only the incremental data is synchronized to other data centers, without repeatedly sending the unchanged complete project progress data, thus obtaining the incremental synchronization status corresponding to the project progress data.
[0165] When the business type is personnel management, user permission verification is performed on access to the target business data, and the corresponding cache status is updated or cache invalidation information is generated based on the update information of the personnel management business data. Real-time synchronization in personnel management can be used to synchronize permission status, data update information, or cache invalidation notifications, without forming personnel business data into a cross-datacenter shared cache. Therefore, while ensuring timely updates of permission status and cache status, cross-datacenter cache sharing of personnel management data is prohibited.
[0166] When the business type is technical design, cross-datacenter version synchronization is performed based on the file version identifier. For large files such as building information models and construction drawings, file distribution can be achieved through a content delivery network. Edge cache nodes store technical design data according to the file version identifier; when a new version is generated in the source data center, version update information is sent to the corresponding data center, and the old version cache is updated or invalidated based on the access frequency to obtain the file version synchronization status.
[0167] Based on the cached version information corresponding to contract business data, the source verification results corresponding to financial data, the delayed synchronization status corresponding to material procurement data, the incremental synchronization status corresponding to project progress data, the cache expiration information corresponding to personnel management data, or the file version synchronization status corresponding to technical design data, update the cache status in each data center to obtain the cache coordination result corresponding to the target business data.
[0168] Through the above implementation methods, asynchronous broadcasting, source-end real-time verification, delayed synchronization, incremental synchronization, permission verification and failure control, and version synchronization are adopted for contract business, financial funds, material procurement, project progress, personnel management and technical design, respectively. This ensures that cross-data center cache coordination matches the consistency requirements, sensitivity and data volume of business data, reduces invalid cross-border data transmission, and avoids data lag or cross-regional sharing of sensitive data caused by using a unified synchronization method.
[0169] In one embodiment, such as Figure 2 As shown, the business-aware cross-border data access acceleration system communicates with multiple data centers distributed across different regions and at least one edge cache node. These data centers can be located in Europe, Asia, Africa, or other business coverage areas. The system includes a request acquisition module, a business scenario identification module, a policy determination module, an edge cache access module, a hotspot prediction and preloading module, and an edge cache coordination module.
[0170] The request acquisition module can be deployed on the business system access gateway or edge access node. This module receives cross-border data access requests initiated by user terminals, extracts access resource information such as the Uniform Resource Locator (URL) path, resource identifier, query parameters, and query content from the cross-border data access requests, and obtains business context information such as project identifier, user role, and access time from user sessions, authentication systems, or project management systems.
[0171] The business scenario identification module is used for execution Figure 3 The business scenario identification process is illustrated. The business scenario identification module may include a path parsing unit, a business object parsing unit, a context extraction unit, and a business scenario matching unit. The path parsing unit obtains candidate business type information, the business object parsing unit obtains business object features, the context extraction unit obtains a context feature set, and the business scenario matching unit generates business scenario tags that include business type, business subclass, and context identifier based on the above information.
[0172] The strategy determination module may include a business-aware strategy matrix and a sensitivity correction unit. The business-aware strategy matrix is based on... Figure 4The format shown stores the cache validity period, cache granularity, data consistency requirements, preloading rules, and cross-datacenter coordination rules for six different business types. The sensitivity correction unit modifies the basic business strategy group based on the data sensitivity level of the target business data, and outputs the target caching strategy, preloading constraints, and cross-datacenter coordination strategy.
[0173] The edge cache access module communicates with the edge cache node corresponding to the region where the user terminal is located. The edge cache access module is used to generate cache keys, query candidate cache data, perform cache validity checks, and return valid cache data or retrieve target business data from the source data center based on the cache query results. The edge cache access module is also used to write target business data to the edge cache node according to the cache granularity and cache validity duration specified in the target cache strategy.
[0174] The hotspot prediction preloading module is used for execution Figure 5 The hotspot prediction preloading process is illustrated. The hotspot prediction preloading module obtains the historical access sequence corresponding to the user terminal and generates prediction input information by combining the current business scenario tag, user role, and access time. It then outputs the access probability of candidate business scenarios through the access prediction model. Based on the access probability, preloading constraints, and the data sensitivity level of the candidate business data, the hotspot prediction preloading module generates a preloading task queue and preloads the candidate business data that meets the conditions to the edge cache nodes.
[0175] The edge cache coordination module communicates with multiple data centers and edge cache nodes. Based on cross-data center coordination policies, the module determines the cross-data center cache permissions and coordination methods for the target business data, and performs asynchronous broadcasting, real-time source-end verification, delayed synchronization, incremental synchronization, cache updates, cache invalidation control, or file version synchronization.
[0176] from Figure 2 As shown in the logical functional relationships, the request acquisition module and the business scenario identification module jointly perform the function of the business scenario identifier; the strategy determination module and the edge cache access module jointly perform the function of the intelligent cache manager; the hotspot prediction and preloading module performs the function of the hotspot prediction and preloading; and the edge cache coordination module performs the function of the edge cache coordinator. Data is exchanged between the modules through business scenario tags, target caching strategies, business scenario prediction results, and cache coordination results.
[0177] During system operation, the request acquisition module sends access resource information and business context information to the business scenario identification module; the business scenario identification module sends business scenario tags to the policy determination module; the policy determination module sends the target caching policy to the edge cache access module, sends the preloading constraints to the hotspot prediction preloading module, and sends the cross-data center coordination policy to the edge cache coordination module; the edge cache access module, the hotspot prediction preloading module, and the edge cache coordination module respectively complete data access, prediction preloading, and cross-data center cache coordination.
[0178] Through the above implementation methods, business scenario identification, caching strategy determination, edge cache access, hotspot prediction preloading, and cross-data center cache coordination are configured as mutually collaborative functional modules. This enables the system to automatically select differentiated access acceleration strategies based on the engineering business scenario currently accessed by the user, and to complete business-aware data access and cache management across multiple regional data centers and edge cache nodes, thereby improving the scalability of system deployment and the efficiency of cross-border business data access.
[0179] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
Claims
1. A method for accelerating business-aware cross-border data access for international engineering enterprises, characterized in that, The method includes: Obtain cross-border data access requests initiated by user terminals, extract access resource information from the cross-border data access requests, and obtain business context information corresponding to the user terminals; Based on the access resource information and the business context information, the target business scenario corresponding to the cross-border data access request is identified, and a business scenario tag including business type, business subclass and context identifier is generated. The business type includes contract business, financial funds, material procurement, project progress, personnel management and technical design. Based on the business scenario label, the target caching strategy, preloading constraint and cross-data center coordination strategy corresponding to the target business scenario are determined from the preset business awareness strategy matrix. The target caching strategy includes cache validity period, cache granularity and data consistency requirements. According to the target caching strategy, the target business data corresponding to the cross-border data access request is queried in the edge cache node corresponding to the region where the user terminal is located, and a cache query result is obtained; when the cache query result shows that no valid cache data that meets the data consistency requirement is found, the target business data is obtained from the source data center where the target business data is stored, the target business data is written into the edge cache node according to the cache granularity, and the target business data is returned to the user terminal. Obtain the historical access sequence corresponding to the user terminal, predict the access probability of at least one candidate business scenario based on the historical access sequence and the current business scenario label, and obtain the business scenario prediction result; determine the target preloading scenario based on the business scenario prediction result and the preloading constraint, and preload the candidate business data corresponding to the target preloading scenario to the edge cache node; Based on the cross-data center coordination strategy, determine the cross-data center cache permissions and cache coordination method corresponding to the target business data, and perform cache synchronization, cache update, or cache invalidation control on the target business data according to the cross-data center cache permissions and the cache coordination method.
2. The method for accelerating business-aware cross-border data access for international engineering enterprises according to claim 1, characterized in that, The step of identifying the target business scenario corresponding to the cross-border data access request based on the access resource information and the business context information includes: The Uniform Resource Locator (URL) path of the cross-border data access request is parsed to obtain candidate information of the business type corresponding to the URL path. The resource identifier and query parameters in the cross-border data access request are parsed to obtain the business object characteristics corresponding to the cross-border data access request. The project identifier, user role, and access time are extracted from the business context information to obtain a context feature set; Based on the candidate information of the business type, the characteristics of the business object, and the context feature set, a matching is performed with the preset business scenario mapping relationship to obtain the business scenario label corresponding to the target business scenario.
3. The method for accelerating business-aware cross-border data access for international engineering enterprises according to claim 2, characterized in that, The matching process based on the candidate business type information, the business object features, and the context feature set with a preset business scenario mapping relationship includes: The initial business type corresponding to the cross-border data access request is determined based on the candidate business type information. Based on the characteristics of the business object, candidate business subclasses are determined from multiple business subclasses corresponding to the initial business type, and a context identifier is determined based on the characteristics of the business object and the context feature set. The initial business type and the candidate business subclass are verified based on the context feature set to obtain the business scenario verification result; Based on the business scenario verification results, the initial business type or the candidate business subclass is modified to obtain the target business type and the target business subclass; The business scenario tag is generated based on the target business type, the target business subclass, and the context identifier, so that cross-border data access requests with the same Uniform Resource Locator (URL) path but different business context information correspond to different business scenario tags.
4. The method for accelerating business-aware cross-border data access for international engineering enterprises according to claim 1, characterized in that, The step of determining the target caching strategy, preloading constraint, and cross-datacenter coordination strategy corresponding to the target business scenario from a preset business awareness strategy matrix based on the business scenario label includes: Based on the business type and business subclass in the business scenario tag, the business awareness strategy matrix is queried to obtain the basic business strategy group corresponding to the target business scenario. The basic business strategy group includes the initial cache validity period, initial cache granularity, initial data consistency requirements, initial preloading rules, and initial cross-data center coordination rules. Obtain the data sensitivity level corresponding to the target business data, and determine the sensitivity constraint result based on the data sensitivity level; Based on the sensitivity constraint results, the basic business strategy group is modified to obtain the target caching strategy, the preloading constraint, and the cross-data center coordination strategy; Specifically, when the data sensitivity level reaches a preset sensitivity level, the effective cache duration is adjusted to within the preset duration, the preloading constraint is set to prohibit cross-data center preloading, and the cross-data center cache permission is set to prohibit.
5. The method for accelerating business-aware cross-border data access for international engineering enterprises according to claim 4, characterized in that, The step of querying the business awareness strategy matrix based on the business type and business subclass in the business scenario tag to obtain the basic business strategy group corresponding to the target business scenario includes: When the business type is contract business, the initial cache validity period is determined to be 30 minutes, the initial cache granularity is the query result level, and the initial data consistency requirement is eventual consistency. When the business type is financial funds, the initial cache validity period is determined to be 5 minutes, the initial cache granularity is at the field level, and the initial data consistency requirement is strong consistency. When the business type is material procurement, the initial cache validity period is determined to be 15 minutes, the initial cache granularity is list level, and the initial data consistency requirement is eventual consistency. When the business type is project progress, the initial cache validity period is determined to be 60 seconds, the initial cache granularity is incremental, and the initial data consistency requirement is real-time consistency. When the business type is personnel management, the initial cache validity period is determined to be 10 minutes, the initial cache granularity is row-level based on personnel identifiers, and the initial data consistency requirement is strong consistency. When the business type is technical design, the initial cache validity period is determined to be 24 hours, the initial cache granularity is at the file version level, and the initial data consistency requirement is eventual consistency. The initial cache validity period, initial cache granularity, and initial data consistency requirements that match the business type are combined to obtain the initial cache strategy in the basic business strategy group.
6. The method for accelerating business-aware cross-border data access for international engineering enterprises according to claim 1, characterized in that, The step of querying the target business data corresponding to the cross-border data access request in the edge cache node corresponding to the region where the user terminal is located, according to the target caching strategy, includes: A cache key is generated based on the business subclass and context identifier in the business scenario tag, the query content corresponding to the cross-border data access request, and the user role. The candidate cache data is obtained by querying the edge cache node according to the cache key; Based on the cache validity duration and data consistency requirements in the target caching strategy, at least one of the cache time, version identifier, timestamp and source verification information of the candidate cache data is verified to obtain the cache validity verification result. When the cache validity verification result indicates that the candidate cache data is valid, the candidate cache data is determined as the target service data, and the target service data is returned to the user terminal. If the cache validity verification result indicates that no valid cache data is found, the target business data is obtained from the source data center, and the target business data is associated with the cache key and written to the edge cache node according to the cache granularity and the cache validity duration.
7. The method for accelerating business-aware cross-border data access for international engineering enterprises according to claim 1, characterized in that, The step of predicting the access probability corresponding to at least one candidate business scenario based on the historical access sequence and the current business scenario label includes: Extract the business scenario tag sequence that the user accessed within a preset historical time period from the historical access sequence to obtain the historical business scenario sequence; The predicted input information is obtained by combining the historical business scenario sequence, the current business scenario tag, the user role, and the current access time. The predicted input information is input into a preset access prediction model to obtain the access probabilities corresponding to multiple candidate business scenarios. The access probability corresponding to each candidate business scenario is compared with the preset first probability threshold and second probability threshold respectively to obtain the probability comparison result, wherein the first probability threshold is greater than the second probability threshold. Based on the probability comparison results, candidate service scenarios with access probabilities greater than the first probability threshold are identified as high-priority preloading scenarios, candidate service scenarios with access probabilities not less than the second probability threshold and not greater than the first probability threshold are identified as low-priority preloading scenarios, and candidate service scenarios with access probabilities less than the second probability threshold are identified as non-preloading scenarios, thus obtaining the service scenario prediction results.
8. The method for accelerating business-aware cross-border data access for international engineering enterprises according to claim 7, characterized in that, The step of determining the target preloading scenario based on the business scenario prediction result and the preloading constraints, and preloading the candidate business data corresponding to the target preloading scenario to the edge cache node, includes: Obtain the data sensitivity level of candidate business data corresponding to each candidate business scenario to obtain candidate data sensitivity information; Based on the business type corresponding to each candidate business scenario and the candidate data sensitivity information, the business preloading rules corresponding to each candidate business scenario are determined from the business perception strategy matrix. The high-priority preloading scenarios and the low-priority preloading scenarios are filtered according to the business preloading rules to obtain a target preloading scenario set; Among them, contract and business data with a sensitivity level lower than the preset sensitivity level are allowed to be preloaded across data centers, financial and personnel management data are prohibited from being preloaded, material procurement data are preloaded according to the preset business time period, project progress data are preloaded according to the project subscription relationship, and hot files or building information model data in technical design data are preloaded. A preloading task queue is generated based on the preloading priority of each target preloading scenario in the target preloading scenario set, and the corresponding candidate business data is loaded into the edge cache node according to the preloading task queue to obtain preloaded cache data.
9. The method for accelerating business-aware cross-border data access for international engineering enterprises according to claim 1, characterized in that, The step of determining the cross-datacenter caching permissions and caching coordination method corresponding to the target business data according to the cross-datacenter coordination strategy includes: Obtain the data sensitivity level corresponding to the target business data; determine the cross-data center cache permissions and cache synchronization method corresponding to the target business data based on the business type in the business scenario tag, the data sensitivity level, and the cross-data center coordination strategy; and generate cross-data center coordination instructions. When the business type is contract business, the target business data is asynchronously broadcast to multiple data centers according to the cross-data center coordination instruction, and the cached data is invalidated using version identifiers and timestamps to obtain the cached version information corresponding to the contract business data; When the business type is financial funds, the target business data is restricted to being written to the source data center, and the source data is verified in real time when it is read to obtain the source verification result corresponding to the financial funds data. Furthermore, the target business data is prohibited from being cached and shared across data centers. When the business type is material procurement, the target business data is written to the local data center first, and the target business data is delayed in being synchronized to other data centers to obtain the delayed synchronization status of the material procurement data. When the business type is project progress, the changed part of the target business data is extracted to obtain incremental data, and the incremental data is synchronized to other data centers to obtain the incremental synchronization status corresponding to the project progress data. When the business type is personnel management, user permission verification is performed on the access to the target business data, and the corresponding cache status is updated or cache invalidation information is generated according to the update information of the personnel management business data, and the target business data is prohibited from being shared across data centers. When the business type is technical design, cross-data center version synchronization is performed based on the file version identifier, and the target business data is distributed through the content delivery network to obtain the file version synchronization status corresponding to the technical design data. Based on the cache version information, the source verification result, the delay synchronization status, the incremental synchronization status, the cache invalidation information, or the file version synchronization status, update the cache status in each data center to obtain the cache coordination result corresponding to the target business data.
10. A business-aware cross-border data access acceleration system for international engineering enterprises, characterized in that: The system communicates with multiple data centers distributed in different regions and at least one edge cache node. The system includes: The request acquisition module is used to acquire cross-border data access requests initiated by user terminals, extract access resource information from the cross-border data access requests, and acquire business context information corresponding to the user terminals. The business scenario identification module is used to identify the target business scenario corresponding to the cross-border data access request based on the access resource information and the business context information, and generate a business scenario tag including business type, business subclass and context identifier. The business type includes contract business, financial funds, material procurement, project progress, personnel management and technical design. The strategy determination module is used to determine the target caching strategy, preloading constraint and cross-data center coordination strategy corresponding to the target business scenario from the preset business awareness strategy matrix according to the business scenario label. The target caching strategy includes cache validity period, cache granularity and data consistency requirements. The edge cache access module is used to query the target business data corresponding to the cross-border data access request in the edge cache node corresponding to the region where the user terminal is located, according to the target cache strategy, and obtain the cache query result; when the cache query result shows that no valid cache data that meets the data consistency requirement is found, the module retrieves the target business data from the source data center where the target business data is stored, writes the target business data into the edge cache node according to the cache granularity, and returns the target business data to the user terminal. The hotspot prediction and preloading module is used to obtain the historical access sequence corresponding to the user terminal, predict the access probability of at least one candidate business scenario based on the historical access sequence and the current business scenario label, and obtain the business scenario prediction result; determine the target preloading scenario based on the business scenario prediction result and the preloading constraint, and preload the candidate business data corresponding to the target preloading scenario to the edge cache node; The edge cache coordination module is used to determine the cross-data center cache permissions and cache coordination methods corresponding to the target business data according to the cross-data center coordination strategy, and to perform cache synchronization, cache update or cache invalidation control on the target business data according to the cross-data center cache permissions and the cache coordination methods.
