Distributed ERP platform portal reconstruction access method and system
By creating a service address management module on the ERP platform and using federated graph neural network technology and secure aggregation algorithms, the problem of scattered user access entrances in the distributed ERP platform is solved, efficient, safe, and flexible enterprise resource management is achieved, and improved The access efficiency and data processing capabilities of the ERP platform.
Patent Information
- Application Number
- CN202411110079.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-08-14
AI Technical Summary
Traditional centralized ERP platforms face challenges in handling large-scale concurrent requests, data processing capabilities, and system scalability, and distributed deployment results in scattered user access entrances. Users need to log in repeatedly to switch between different business domains, making the operation cumbersome and inefficient. low.
Create a service address management module for managing all business domains on the ERP platform, build a business domain service address graph network model based on federated graph neural network technology, and train the graph neural network through secure aggregation algorithms and asynchronous update mechanisms to achieve high efficiency, security, and flexibility Enterprise resource management, simplifying address maintenance and responding quickly to system changes.
It achieves centralized management of all business domain addresses, improves the access efficiency of the ERP platform, reduces user login complexity and operation time, and improves data processing efficiency and system performance.
Smart Images

Figure CN118631889B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of information management technology, and in particular to a distributed ERP platform portal reconstruction access method and system. Background Art
[0002] At present, computer management technology has been widely used in all walks of life. Among them, the development of information management system has provided convenience for various enterprises. ERP platform, as a software solution designed to help enterprises integrate and automate business processes, has been widely used in various enterprises.
[0003] As enterprises expand in size and their business becomes more complex, traditional centralized ERP platforms face challenges in handling large-scale concurrent requests, data processing capabilities, and system scalability. Distributed deployment has become a key means to improve the performance, reliability, and flexibility of ERP platforms. However, distributed deployment also brings about the problem of decentralized user access portals. Users need to log in repeatedly to switch between different business domains, which is cumbersome and inefficient. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides a distributed ERP platform portal reconstruction access method and system, which can improve the access efficiency of ERP.
[0005] An embodiment of the present invention provides a distributed ERP platform portal reconstruction access method, comprising:
[0006] A service address management module for managing all business domains is created on the ERP platform, including: based on the federated graph neural network technology, a business domain service address graph network model and an initial graph neural network are constructed at the entrance of the ERP platform, the graph network model includes multiple nodes, and the interaction relationship between each node; wherein one node corresponds to one business domain; an initial feature vector is assigned to each node, and the initial feature vector includes: business domain type, load status, average response time, memory usage, network throughput, error rate and server address of the business domain; the initial feature vector of each node is input into the initial graph neural network, and the graph neural network is trained to obtain the graph neural network; the graph neural network is arranged in each business domain; the local data set of each business domain obtained is converted into the initial feature vector corresponding to each business domain, and based on the training parameters of each business domain, the graph neural network is trained using a secure aggregation algorithm and an asynchronous update mechanism to obtain multiple business domain management models as the service address management module; wherein the secure aggregation algorithm is used to maintain the independence of data between each business domain, and the asynchronous update mechanism is used to maintain the independence of updates between each business domain management model;
[0007] Obtaining a user's access request and determining the user's permission level based on the user's role;
[0008] According to the authority level of the user, determining the service request content adapted to the access request through the service address management module;
[0009] According to the user authority level and the service request content, as well as the server load, geographical location, and network status, based on a preset routing algorithm, the service request content is provided to the user through the service address management module.
[0010] The embodiment of the present invention also provides a distributed ERP platform portal reconstruction access system, including:
[0011] A creation unit, adapted to create a service address management module for managing all business domains on an ERP platform, comprising: constructing a business domain service address graph network model and an initial graph neural network at the entrance of the ERP platform based on the federated graph neural network technology, wherein the graph network model comprises a plurality of nodes and the interaction relationship between each node; wherein one node corresponds to one business domain; allocating an initial feature vector to each node, wherein the initial feature vector comprises: business domain type, load status, average response time, memory usage, network throughput, error rate and server address of the business domain; inputting the initial feature vector of each node into the initial graph neural network, training the graph neural network to obtain a graph neural network; arranging the graph neural network to each business domain; converting the local data sets of each business domain obtained into the initial feature vectors corresponding to each business domain, and training the graph neural network based on the training parameters of each business domain, using a secure aggregation algorithm and an asynchronous update mechanism, obtaining a plurality of business domain management models as the service address management module; wherein the secure aggregation algorithm is used to maintain the independence of data between each business domain, and the asynchronous update mechanism is used to maintain the independence of updates between each business domain management model;
[0012] an acquisition unit, adapted to acquire an access request from a user and determine the permission level of the user according to the role of the user;
[0013] The processing unit is adapted to determine the service request content that matches the access request through the service address management module according to the user's authority level; and provide the service request content to the user through the service address management module based on a preset routing algorithm according to the user's authority level and the service request content, as well as the server load, geographical location, and network status.
[0014] Compared with the prior art, the technical solution of the embodiment of the present invention has the following advantages:
[0015] In the distributed ERP platform portal reconstruction access method provided by the embodiment of the present invention, by creating a service address management module for managing all business domains on the ERP platform, it is possible to configure, store and allocate all business domain addresses. This centralized management not only simplifies the maintenance of addresses, but also facilitates rapid response to system changes. When a request is obtained, the user's authority level can be determined according to the user's role, so that the service address management module can be used to determine the business request content that matches the access request. Therefore, the service address management module can be used to provide the user with the business request content based on the server load, geographical location, network status, and the preset routing algorithm. That is, under the control of the service address management module, efficient, secure and flexible enterprise resource management is achieved, data processing efficiency is improved, and thus the access efficiency of ERP can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a flow chart of a distributed ERP platform portal reconstruction access method in an embodiment of the present invention;
[0017] Figure 2 It is a flow chart of a method for creating a service address management module of the present invention;
[0018] Figure 3 It is a flow chart of a method for confirming the content of a business request of the present invention;
[0019] Figure 4 It is a structural diagram of a distributed ERP platform portal reconstruction access system in an embodiment of the present invention. DETAILED DESCRIPTION
[0020] As described in the background art, in the existing deployment solutions of distributed ERP platforms, users need to log in repeatedly when switching between different business domains, which is cumbersome and inefficient.
[0021] In order to solve the above technical problems, an embodiment of the present invention provides a distributed ERP platform portal reconstruction access method, including: creating a service address management module for managing all business domains on the ERP platform; obtaining a user's access request, and determining the user's authority level according to the user's role; determining the business request content that matches the access request through the service address management module according to the user's authority level; providing the business request content to the user through the service address management module based on a preset routing algorithm according to the user's authority level and the business request content, as well as the server load, geographical location, and network status.
[0022] By adopting the above method, the service address management module can realize the configuration, storage and allocation of all business domain addresses. This centralized management not only simplifies the maintenance of addresses, but also facilitates rapid response to system changes. When a request is obtained, the user's authority level can be determined according to the user's role, so that the service address management module can determine the business request content that matches the access request. Therefore, the service address management module can provide the user with the business request content according to the server load, geographical location, network status, and the preset routing algorithm. That is, under the control of the service address management module, efficient, secure and flexible enterprise resource management is realized, data processing efficiency is improved, and thus the access efficiency of ERP can be improved.
[0023] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and understandable, the present invention is described below with reference to the accompanying drawings.
[0024] See also Figure 1 A flowchart of a distributed ERP platform portal reconstruction access method according to an embodiment of the present invention is shown in FIG. Figure 1 As shown, the following steps can be performed:
[0025] S11, create a service address management module on the ERP platform for managing all business domains.
[0026] Specifically, the ERP platform has multiple different business domains (such as financial business domain, human resources business domain), and different business domains have different characteristics and are distributed on different deployment nodes. Therefore, a service address management module can be established to manage all business domains. The service address management module can be responsible for the configuration, storage and allocation of service addresses of all business domains. This centralized management not only simplifies the address maintenance work, but also facilitates rapid response to system changes, such as the increase or decrease of business domains, adjustment of service addresses, etc.
[0027] In this embodiment, a service address management module may be created at the entrance of the ERP platform.
[0028] S12, obtaining the user's access request, and determining the user's authority level according to the user's role.
[0029] Specifically, in the same time period or different time periods, there are a large number of users accessing the same ERP platform, or even different business domains of the same ERP platform. Based on different roles, users have different viewing permissions. Therefore, when it is determined that there are users accessing the ERP platform, the permission level can be determined based on the user role.
[0030] For example, for an enterprise, if the user is determined to be an ordinary employee, his / her authority level is only to view the basic data of this department (such as some job grade divisions, some personnel information, etc.); if the user is determined to be the general manager, his / her authority level is the highest, and he / she can view or modify information in all business domains.
[0031] In short, user roles correspond to permission levels.
[0032] S13, determining the service request content that matches the access request through the service address management module according to the authority level of the user.
[0033] Specifically, after determining the authority level of the user, the service address management module may extract the service request content that matches the access request from the service domain corresponding to the user role and the authority level according to the role of the user.
[0034] S14, according to the user authority level and the service request content, as well as the server load, geographical location, and network status, based on a preset routing algorithm, the service address management module provides the service request content to the user.
[0035] Specifically, considering that a large number of users may access the same ERP platform within the same time period, a variety of routing algorithms (such as hash routing, consistent hashing, shortest path algorithm, etc.) can be used based on the server load, geographical location, and network status of the ERP platform to find the best service node to ensure that requests are processed as quickly and reliably as possible, so that users can obtain business request content immediately.
[0036] In short, the present invention can accurately and efficiently route user requests to the correct service instance by creating business domain service address management, unified management of all business domain functions and permissions, and functional service distribution mechanism, so that users can obtain the content of business requests immediately. That is, a chain logic chain of positioning service-verifying permissions-distributing requests is formed, thereby improving the access efficiency of ERP.
[0037] In this embodiment, when a distributed ERP platform is used, different business domains are located at different deployment points. Figure 2 A flowchart of a method for creating a service address management module in an embodiment of the present invention is shown in FIG. Figure 2 As shown, the following steps can be performed:
[0038] S21, based on the federated graph neural network technology, construct a business domain service address graph network model and an initial graph neural network at the entrance of the ERP platform.
[0039] The graph network model includes multiple nodes and the interaction relationship between each node.
[0040] Specifically, the business domain service address graph network model can represent the service topology of the entire ERP platform. By configuring the parameter information of the graph network model, it can represent the interaction relationship between various business domains.
[0041] More specifically, the graph network model may include multiple nodes and the interaction relationship between each node. One node corresponds to one business domain (for example, one node may represent the business domain of the financial module, and another node may represent the business domain of the human resources module). In this way, the graph network model can represent the interaction relationship between each business domain.
[0042] In this embodiment, the interaction relationship includes at least one of the following: direct calling relationship: if service A frequently calls service B, there will be an edge between them; data dependency relationship: if service C needs to use the data generated by service D, there will also be an edge between them; load balancing relationship: there may be edges between multiple service instances that provide the same function, indicating that they can share the load with each other.
[0043] It should be noted that this graph network model is not static, but will be dynamically updated as the ERP platform runs. For example, new nodes will be added when new services are added, and the edge structure will be adjusted when service relationships change.
[0044] S22, assigning an initial feature vector to each node.
[0045] Specifically, by assigning an initial feature vector to each node, the current state of each node can be described from multiple different dimensions.
[0046] For example, the initial feature vector may include: business domain type (for example, financial services may be coded as 1, and human resources services may be coded as 2), load status (indicating the load level of the current service instance, such as CPU usage or the number of requests currently being processed), average response time (indicating the average time for the service instance to process a request, which can be expressed in milliseconds), memory usage (indicating the memory occupancy of the current service instance), network throughput (indicating the network communication volume of the service instance), error rate (indicating the ratio of service errors in the recent period of time), and server address of the business domain (indicating the data center or geographical location where the server is located).
[0047] Thus, these features are combined into a vector, for example [1, 0.7, 150, 0.6, 500, 0.01, 2].
[0048] S23, inputting the initial feature vector of each node into a preset initial graph neural network, training the graph neural network, and obtaining a graph neural network.
[0049] Specifically, the initial graph neural network can learn the complex relationships between the initial feature vectors of each node, and based on these complex relationships, the graph neural network can make the best decisions (for example, optimal service routing, load prediction).
[0050] In this embodiment, the initial graph neural network may include: an input layer for receiving the initial feature vectors of each node; a graph convolution layer, which is the core of the graph neural network, and usually has multiple graph convolution layers. For example, the first layer of graph convolution is used to process the initial feature vector and learn the local structural features of the node; the second layer of graph convolution is used to learn a wider range of structural features based on the output of the first layer; an activation function is used to apply a nonlinear activation function (such as ReLU) after each graph convolution layer to increase the expressive power of the model; a fully connected layer, located after the graph convolution layer, may include a first fully connected layer: converting the output of the graph convolution into a vector of fixed dimension, and other additional fully connected layers to further process features and increase the depth of the model; an output layer, whose output dimension depends on the specific task. For example, if the task is to predict the optimal choice of a service instance, the output may be a probability distribution.
[0051] S24, deploying the graph neural network to each business domain.
[0052] Specifically, the graph neural network model can be deployed in each independent business domain, so that the graph neural network model can learn based on the local data of each business domain and maintain the independence of data in different business domains.
[0053] In this embodiment, the graph neural network architecture can be copied to each business domain, and initially, the model structure of all business domains is the same, but the parameters are randomly initialized.
[0054] S25, converting the acquired local data sets of each business domain into the initial feature vectors corresponding to each business domain, and based on the training parameters of each business domain, adopting the security aggregation algorithm and the asynchronous update mechanism, training the graph neural network to obtain multiple business domain management models as the service address management module.
[0055] Specifically, the local data set corresponding to each business domain can be obtained (such as service instance information within the business domain, the relationship between service instances, and performance indicators), and specific training parameters (such as learning rate, batch size, etc.) can be configured for each business domain taking into account the differences between different business domains. Then, when the trigger conditions of local training (such as time interval-based and event-driven) are triggered, the graph neural network is trained by configuring sufficient computing resources for the graph neural network of each business domain.
[0056] More specifically, a secure aggregation algorithm is used to maintain the independence of data between business domains. The implementation method of the secure aggregation algorithm is as follows: add noise to the local updates of each business domain to prevent the original data from being inferred through model updates; then, use a secure multi-party protocol to enable multiple business domains to jointly calculate the aggregation results without exposing their respective original updates, and perform homomorphic encryption before sending data between different business domains to ensure the security of the update transmission process; then, design a verification process to ensure that all business domains participating in the aggregation comply with the protocol to prevent malicious behavior.
[0057] An asynchronous update mechanism is adopted to maintain the independence of updates between management models of various business domains. The implementation steps of the asynchronous update mechanism are as follows: configure version numbers for the global model and the graph neural network of each business domain, and set an update queue so that each business domain can submit its own graph neural network update request at any time; then, design a merge strategy that can handle different versions of graph neural network update requests from each business domain, and dynamically adjust the influence weight of each business domain in the global model according to the update frequency and quality of each business domain; then, propagate the merged global model update back to the graph neural network of each business domain, so as to obtain the business domain management model of each business domain, so that multiple business domain management models constitute the service address management module.
[0058] It should be noted that during the update process, an interruption recovery mechanism can be used to ensure that the update process can be restored in the event of a network failure or system crash; and the update frequency, quality and contribution of each business domain to the global model can be tracked for system optimization.
[0059] Thus, through these steps, a secure, efficient, and flexible federated learning framework is established, which enables the distributed ERP platform to continuously optimize its service management and routing strategies while protecting the data privacy of each business domain.
[0060] In this embodiment, the service address management module has at least one of a configuration function, a service registration function, a self-checking function and an encryption function.
[0061] The configuration function means that the system administrator can adjust the service address of the business domain in real time through a graphical interface or API interface without interrupting the service. This flexibility is extremely important for responding to emergencies and optimizing service layout. For example, if a business domain service switches to a backup server due to a fault, the service address management module can update the address pointing immediately to ensure business continuity.
[0062] The business registration function means that the newly deployed business domain service node can automatically report its address to the service address management module, so that it is automatically included in the service address management module, reducing the possibility of human configuration errors and omissions.
[0063] The self-check function refers to regular or real-time monitoring of the availability status of services in each business domain. Once a service is found to be unavailable, failover can be automatically or manually triggered to reroute user requests to healthy servers to ensure high availability of services.
[0064] The encryption function is an integrated security measure of the service address management module, such as encrypted communication and access control, to prevent illegal access or tampering with service address information and ensure the security of business data transmission.
[0065] In this case, the creation of a service address management module on the ERP platform for managing all business domains also includes the following processes.
[0066] The service address optimization process includes the following steps: A1) Obtaining the server operation data and network status data of each business domain. Specifically, it includes: A11) Defining monitoring indicators, including: service-level indicators: response time, throughput, error rate, CPU usage, memory usage, etc.; network-level indicators: latency, packet loss rate, bandwidth utilization, etc.; business-level indicators: transaction processing speed, number of concurrent users, business success rate, etc.; A12) Deploying monitoring agents: deploying lightweight monitoring agents on each service instance, and making the agent program have the least impact on the performance of the service itself; A13) Data collection frequency: setting a suitable data collection frequency to balance real-time and system overhead; A14) Data cleaning and standardization process to handle outliers and missing data; A15) Using a time series database (such as InfluxDB) to store the collected performance data, and possibly adopting data compression and archiving strategies to balance storage costs and data availability; A16) Realizing data aggregation by time, service type, and geographic location; A17) Using anomaly detection algorithms to identify abnormal performance data; A18) Encryption of data transmission and storage.
[0067] A2) Converting the server operation data and network status data of each business domain into an initial feature vector corresponding to each business domain, and updating the pre-stored initial feature vector to reflect the latest service status in real time.
[0068] A3) Input the initial feature vector data corresponding to each business domain into the business domain management model corresponding to each business domain, and score the service routing of each business domain based on the set scoring criteria. Specifically, it includes: A31) Input the initial feature vector data corresponding to each business domain into the business domain management model corresponding to each business domain; A32) The business domain management model of each business domain scores each possible service routing option, wherein the scoring criteria may include expected response time, load balancing effect, network efficiency; and optionally, A33) Use a multi-objective optimization algorithm to balance possible conflicting goals (such as minimizing delay, maximizing throughput, optimizing cost, etc.); A34) Attach a confidence score to each prediction result, wherein predictions with lower confidence may require manual review or additional verification; A35) Track the accuracy of the prediction, compare the actual results with the prediction, and dynamically adjust the model or retrain according to the monitoring results.
[0069] A4) According to the scores of the service routes of each business domain, the service address of the corresponding business domain on the ERP platform is changed; wherein, the service address of the corresponding business domain on the ERP platform is changed, including: pre-defining the conditions for triggering configuration update (for example, predicting that the performance improvement exceeds a certain threshold), and when the scores of the service routes of each business domain are lower than the pre-defined conditions for triggering configuration update, the service address of the corresponding business domain on the ERP platform is changed by using a progressive approach (i.e., applying the new configuration to a part of the service addresses), a rollback mechanism (i.e., quickly restoring to the initial state when the new configuration causes performance degradation), a load balancing mechanism, a synchronization mechanism (i.e., synchronously updating the configuration), and a log review mechanism (i.e., recording all configuration changes, including the reasons for the changes, the expected effects, etc., and visually displaying them for the convenience of administrator monitoring and analysis).
[0070] Therefore, by executing the service address optimization process, an adaptive service address optimization system can be established, which can continuously optimize the performance and efficiency of the ERP platform based on real-time data and intelligent prediction. This dynamic optimization mechanism can adapt to changing business needs and system loads to provide the best user experience.
[0071] The business registration process includes the steps of: B1) establishing a central service registration center on the ERP platform and configuring unique identification information for each business service address.
[0072] B2) When a new business service request is obtained, the service address management module configures the service identifier, IP address, port and URL information for the new business service, and determines the interaction relationship between the new business service and other business domains.
[0073] The health check process includes the following steps: C1) Establishing health check endpoints in each business domain. The health check should include the status of the business domain service itself and the status of key dependencies between business domain services.
[0074] C2) Monitor the running status of each business domain using at least one health check method among HTTP, TCP and script execution according to the set check frequency.
[0075] C3) Based on the running status of each business domain, execute corresponding procedures, including: when the running status of a business domain is abnormal, remove the business domain, restart the business domain, transfer the running address of the business domain, and generate an aggregated view of the running status of the business domain (for example, support viewing the health status by business domain, service type, etc.).
[0076] The data synchronization process includes the following steps: D1) defining the metadata structure of each business domain and adopting a consistency protocol to unify the key cloud data of each business domain, wherein the metadata structure includes: business domain ID, version, address and running status.
[0077] D2) Based on the publish-subscribe mode, when the service address management module determines that the information of at least one of the service domains is changed, the change information is sent to other service domains related to the service domain.
[0078] And optionally: use strong consistency protocols (such as Raft or Paxos) to improve the consistency of key metadata; implement local caching on each node to reduce dependence on the central registry; configure version control mechanisms for metadata to ensure the use of the latest information; and incremental synchronization mechanisms to only transmit changed data, and perform full synchronization regularly to correct possible data deviations; monitor synchronization status to promptly detect synchronization problems and provide a visual interface for synchronization status to facilitate administrator monitoring; regularly check data consistency and automatically repair detected inconsistent data; resolve data conflicts caused by simultaneous updates; and encrypt sensitive metadata information and set access control to ensure that only authorized components can modify metadata.
[0079] By adopting at least four of the above processes, a robust service discovery and registration system can be established to automatically manage the service life cycle and maintain the consistency of service information, so that changes in service health can be detected and responded to in a timely manner. Such a system provides a strong infrastructure support for the ERP platform, enabling it to flexibly respond to changes in business needs and expansion of system scale.
[0080] In this embodiment, when determining the user's authority level, you can use Figure 3 The service request content confirmation method shown determines the service request content that needs to be sent to the user.
[0081] S31, according to the data characteristics, business needs and permission requirements of each business domain, select the permission level model of each business domain, and design the hierarchical structure of the permission level model of each business domain and the capacity of the permission level model of each business domain.
[0082] Specifically, by conducting in-depth analysis of each business domain, analyzing the different data characteristics, business needs and permission requirements of different business domains, different permission level models can be used when determining the permission levels of different business domains. For example, some business domains may be suitable for using deep neural networks, while other business domains may be more suitable for decision trees or support vector machines. Therefore, different permission level models can be selected that match the hardware conditions of the business domain.
[0083] Afterwards, the hierarchical architecture of the permission level model of each business domain is configured, which may include bottom-level shared components and top-level specific components, so that the permission level model of each business domain can capture common features, while processing patterns unique to each business domain through top-level specific components.
[0084] Finally, the model capacity can be adjusted according to the data volume and complexity of each business domain, and a dynamic model expansion mechanism can be adopted to allow the permission level model of each business domain to be automatically adjusted as the data grows.
[0085] In addition, regularization strategies can be used to prevent the permission level model from overfitting.
[0086] S32, mapping parameters of the permission level models of different business domains to a preset common space, and aligning the permission level models of different business domains, so that the permission level models of different business domains can interact with each other.
[0087] Specifically, through the parameter mapping mechanism, the permission level model parameters of different business domains can be mapped to a common space, and through the gradient alignment mechanism, the gradient updates of different models are meaningful in the global scope. In this way, models in different business domains can effectively share and exchange information, and models in different business domains can interact.
[0088] It should be noted that when performing parameter mapping, specific conversion functions can be used to handle models with large structural differences, and knowledge distillation techniques can be used to allow complex models to transfer their knowledge to simple models to balance model performance and knowledge transfer effects.
[0089] S33, based on the importance level of each business domain, data quality and the performance of the permission level model, and combined with the security aggregation algorithm, differential privacy mechanism, anomaly detection and filtering mechanism, and permission policy integration mechanism, the permission level of each business domain is determined and built into the service address management module.
[0090] Specifically, the weight allocation mechanism based on business importance, data quality and model performance can adjust the influence of each business domain according to real-time performance, and then combine the security aggregation algorithm, differential privacy mechanism, anomaly detection and filtering mechanism, and permission policy integration mechanism to effectively integrate the algorithms for updating models in different business domains, while considering the permission policies of each business, so that the permission level of each business domain can be built into the service address management module.
[0091] S34, based on the user's authority level and the authority levels of each business domain, the service address management module selects the business domain corresponding to the user's authority level, and based on the access request, selects data corresponding to the access request from the business domain corresponding to the user's authority level as the business request content.
[0092] In short, by adopting the above steps, the permission level of each business domain can be built into the service address management module, so that users can only obtain content within the permission level, and there will be no cross-level access; and the models of different business domains can be effectively integrated while protecting data privacy and complying with permission policies.
[0093] In this embodiment, taking into account the changes in user roles and further improving the access efficiency of the ERP platform, all business domain functions within the scope of authority can be accessed with one login, so as to reduce the inconvenience and security risks caused by repeated logins.
[0094] Based on this, the reconstruction access method may also include:
[0095] The permission control mechanism is to define multi-dimensional permission attributes, including roles, data levels, and operation types; and configure access rights for different roles, user groups, or individual users based on preset permission rules.
[0096] This enables fine-grained division of permissions, allowing administrators to accurately configure access rights for different roles, user groups or individual users, ensuring that each user can only access resources within their authorized scope. In addition, user permissions can be dynamically adjusted to adapt to changes in organizational structure, job responsibilities, etc., to improve management efficiency.
[0097] Configure a single sign-on mechanism on the ERP platform, including: configuring a multi-factor authentication process and an identity information synchronization protocol across business domains, so that users only need to authenticate at one entrance to access all business domain functions within their authority.
[0098] Generate logs, that is, all actions such as permission changes and access attempts are recorded. This facilitates post-event review and troubleshooting, making the use of permissions compliant and traceable.
[0099] In other words, the above approach enables centralized management of user permissions and seamless integration across business domains, ensuring that users can only access services and functions for which they have permissions, thus providing security and access control for the entire system.
[0100] In this embodiment, in the preset routing algorithm, the service request content is provided to the user through the service address management module, and the distribution strategy can be further optimized.
[0101] For example, the distributed ERP platform portal reconstruction access method may also include: adopting a functional service intelligent distribution mechanism based on multi-agent reinforcement learning, including: constructing an agent environment module; adopting the agent environment module to execute a distribution strategy based on the key information of each business domain server; and updating the weight of the agent environment module according to the hardware configuration and historical data of each business domain server.
[0102] The following describes them in detail through specific examples.
[0103] First, build the agent environment module.
[0104] 1) Define multiple agents, assign identification information to each agent, and output the identification information to the service address management module.
[0105] Among them, one intelligent agent corresponds to one business domain, and the identification information of each intelligent agent includes: unique ID, label, capability description and relationship network.
[0106] Specifically, it includes: dividing various types of agents, for example, service node agents: representing a single service instance, such as financial services, inventory services, etc.; business domain agents: representing higher-level business areas, such as finance departments, human resources departments, etc.; load balancer agents: specifically responsible for global request distribution decisions; resource management agents: responsible for monitoring and allocating computing resources.
[0107] Define agent properties, for example, unique identifier: assign a unique ID to each agent; type label: indicate the type of agent (service node / business domain / load balancer, etc.); capability description: define the operations and decision scope that the agent can perform; relationship network: describe the connections and dependencies with other agents.
[0108] Design agent communication protocols, for example, design the message transmission format and protocol between agents, implement point-to-point communication and broadcast mechanisms, as well as message priority and timeout handling mechanisms.
[0109] Manage the agent lifecycle, including the process of creating, activating, dormant, and destroying agents.
[0110] Configure learning capabilities and configure learning parameters for each agent, such as learning rate, exploration rate, etc., to achieve personalized learning strategies and adapt to the characteristics of different agents.
[0111] The scope of autonomous decision-making includes: clarifying the decision-making authority and scope of each intelligent agent, and adopting a decision-making conflict resolution mechanism to deal with inconsistent decisions made by multiple intelligent agents.
[0112] Track performance metrics, including defining key performance indicators for each agent, monitoring them in real time, and generating reports.
[0113] 2) Setting the state space of each agent, the state space includes: load index, performance index, network status, resource utilization, business index, system operation status, environmental factors and security status.
[0114] The state space of the intelligent agent can accurately reflect the current status of the system and provide a basis for intelligent decision-making.
[0115] Among them, the load indicators include: CPU utilization: processor usage of each service node; memory utilization: the ratio of current memory usage to total available memory; number of concurrent requests: the number of requests currently being processed; queue length: the length of the request queue waiting to be processed.
[0116] Performance indicators include average response time: the average time it takes to process a request; throughput: the number of requests successfully processed per unit time; error rate: the ratio of failed request processing; and service quality indicators: such as availability and reliability.
[0117] Network conditions include bandwidth usage: the ratio of currently used network bandwidth to total bandwidth; network delay: the delay time of communication between nodes; packet loss rate: the ratio of data packets lost during network transmission; connection status: the health of the connection with other nodes.
[0118] Resource utilization includes storage usage rate: disk space usage; database connection pool status: number of active connections, number of idle connections, etc.; cache hit rate: efficiency indicator of the cache system.
[0119] Business indicators include the number of active users: the number of users currently logged in and operating; transaction processing speed: the rate at which business transactions are completed; and the execution status of key business processes.
[0120] The system operation status includes service availability: the online status of each service; warning and error logs: the number of warnings and errors generated by the system; last restart time: the timestamp of the last restart of the service.
[0121] Environmental factors include time information: current time, whether it is peak period, etc.; geographic location: physical location information of service nodes; status of external dependent services: availability and performance of third-party services.
[0122] The security status includes active security threats: potential security risks detected; authentication and authorization status: current security policy implementation; data encryption status: encryption level of sensitive data.
[0123] 3) Define the motion space of each intelligent agent, which includes: request routing decision, load balancing strategy, resource allocation, cache management, service degradation, security operation, performance optimization, logging and monitoring, business process adjustment and user experience optimization.
[0124] By defining the motion space, we can clearly identify all possible actions that the agent can take, providing a selection space for decision-making.
[0125] Among them, request routing decisions include forwarding requests: forwarding requests to specific service nodes; request replication: sending requests to multiple nodes at the same time to improve reliability; request splitting: splitting complex requests into multiple sub-requests and distributing them to different nodes.
[0126] Load balancing strategies include Round Robin: assigning requests to each node in order; Least Connections: sending requests to the node with the least number of current connections; Weighted Selection: assigning different weights based on the processing power of the node; Dynamic Weight Adjustment: dynamically adjusting node weights based on real-time performance.
[0127] Resource allocation includes expanding resources: allocating more CPU, memory, or storage resources to services; reducing resources: reclaiming idle resources to optimize utilization; and migrating services: migrating services from one physical node to another.
[0128] Cache management includes updating cache strategies: adjusting the cache data type and retention time; preloading data: loading potentially needed data into the cache in advance based on predictions; and clearing cache: clearing expired or infrequently used cache data.
[0129] Service degradation includes functional degradation: shutting down non-core functions during high load; streamlining responses: returning simplified responses to reduce data transmission; and enabling alternate services: switching to alternate services that may have lower performance but are more stable.
[0130] Security operations include adjusting firewall rules: dynamically adjusting security policies based on threat situations; initiating additional authentication: requiring additional authentication for suspicious requests; and isolating services: isolating services that may be threatened to prevent the impact from expanding.
[0131] Performance optimization includes adjusting database queries: optimizing frequently executed database operations; refactoring service calls: optimizing the calling paths between services; and adjusting thread pool size: adjusting thread pool configuration according to load conditions.
[0132] Logging and monitoring include adjusting log levels: increasing or decreasing log detail as needed; triggering diagnostic processes: launching deep system diagnostics to troubleshoot issues; and generating performance reports: creating detailed performance analysis reports.
[0133] Business process adjustment includes modifying workflow: adjusting business processes to adapt to the current system status; priority scheduling: adjusting the execution priority of tasks; triggering business rules: activating or deactivating specific business rules.
[0134] User experience optimization includes adjusting the UI response mode: simplifying the user interface under high load; implementing request throttling: limiting the request frequency of a single user; and providing feedback information: providing users with feedback on system status and expected waiting time.
[0135] 4) Select a distributed environment algorithm, including: selecting the type of distributed environment algorithm, asynchronous update mechanism, hyperparameter optimization, and communication coordination mechanism.
[0136] Specifically, it includes algorithm evaluation, that is, comparing multiple algorithms suitable for continuous action space, such as DDPG (Deep Deterministic Policy Gradient), PPO (Proximal Policy Optimization), SAC (Soft Actor-Critic), etc., and selecting the appropriate distributed environment algorithm type.
[0137] For example, if DDPG is selected, the execution steps are to implement the Actor network: responsible for selecting actions based on the current state; implement the Critic network: evaluate the value of state-action pairs; implement the target network: used to stabilize the learning process; implement the noise process: such as the Ornstein-Uhlenbeck process, used for action exploration.
[0138] For example, if PPO is selected, the execution steps are to implement the policy network: output action probability distribution; implement the value network: estimate the state value function; implement the clipped objective function: limit the policy update range and improve stability; design an adaptive KL penalty term: further ensure the rationality of the policy update.
[0139] After that, the adaptation rules execute the steps of the architecture, including: implementing the parameter server: centrally storing and updating the global strategy, and adopting an asynchronous update mechanism to allow multiple agents to collect experience and update in parallel, as well as implementing gradient accumulation and handling gradient updates of different nodes.
[0140] Next, grid search or Bayesian optimization is used to find the best hyperparameters to optimize learning rate, discount factor, exploration rate, etc.
[0141] Finally, a framework for centralized training and distributed execution is designed to implement a communication mechanism between agents and allow information sharing.
[0142] 5) Use a reward function to balance the performance and user experience of the agent environment module, where the reward function includes: performance indicator reward, user experience reward, system health reward, load balancing reward, business goal reward, multi-objective balance, reward normalization, and reward decomposition.
[0143] By creating a comprehensive reward function, we can guide the agent to learn to optimize both system performance and user experience.
[0144] 6) Adopting an experience replay mechanism to train the agent environment module.
[0145] Adopt experience replay mechanism to improve learning efficiency and stability. The specific implementation is as follows:
[0146] Design a replay buffer, that is, design a fixed-size circular buffer to store experience tuples (state, action, reward, next state); adopt a parallel experience collection mechanism to allow multiple agents to add experience at the same time; adopt a uniform random sampling basic version; extract fixed-size batches from the replay buffer to achieve mini-batch learning; implement an experience elimination strategy to reduce storage requirements while maintaining the amount of information, and allow valuable experience to be exchanged between different nodes.
[0147] Through the above steps 1) and 6), a powerful reinforcement learning framework is implemented, including selecting algorithms suitable for distributed environments, designing comprehensive reward functions, and implementing efficient experience replay mechanisms. This framework can effectively learn and optimize the functional service distribution of the ERP platform, balance system performance and user experience, and continuously improve the system's intelligent decision-making capabilities through efficient learning mechanisms.
[0148] Second, the intelligent agent environment module is used to execute a distribution strategy based on key information of each business domain server, wherein the key information includes: current load and network status.
[0149] Specifically, it includes: collecting the key information according to state changes or fixed time monitoring, and converting it into a standardized state representation; and converting the standardized state representation into a request distribution instruction through the intelligent agent environment module.
[0150] Specifically, it includes: designing a compact state vector that contains key information such as the current system load, performance indicators of each service node, network status, etc., and converting the original system data into a standardized state representation.
[0151] Design a mapping mechanism from the action space to actual system operations.
[0152] Implement a real-time status collection mechanism to collect system status regularly (e.g., every 100ms), and design prediction triggers to trigger predictions based on status changes or at fixed time intervals.
[0153] Use a trained model (such as DDPG's Actor network) to predict the optimal action based on the current state and convert the predicted action into actual request distribution operations.
[0154] Design safety checking mechanisms to ensure that the actions predicted by the model meet predefined safety standards before execution.
[0155] Optionally, design an integrated decision-making mechanism (such as voting or weighted average) to allow multiple models to predict in parallel and integrate the prediction results of multiple models; design a prediction cache mechanism to quickly return to previous decisions for similar states; design a fallback strategy to switch to a traditional load balancing algorithm when the model behaves abnormally; design a decision explanation module to generate a brief explanation of each prediction decision, and use visualization tools to show how the model makes specific distribution decisions.
[0156] Third, according to the hardware configuration and historical data of each business domain server, the weight of the intelligent agent environment module is updated, including: according to the hardware configuration and historical data of each business domain server, an initial weight allocation strategy is designed and a weight adjustment factor is defined, and the weight is recalculated according to the weight adjustment factor and the output of the intelligent agent environment module.
[0157] The goal of this step is to dynamically adjust the weight of the service based on the real-time system status and the output of the reinforcement learning model to optimize the load distribution. The specific implementation is as follows:
[0158] Design an initial weight allocation strategy based on server hardware configuration and historical performance data.
[0159] Define key factors that affect weights, such as response time, error rate, CPU usage, etc., and use a weight adjustment formula to comprehensively consider the impact of multiple factors.
[0160] Design weight update triggers to trigger updates based on time intervals or performance changes, and weight calculation functions to calculate new weights based on current performance indicators and the output of the reinforcement learning model.
[0161] The actual weight smoothing function avoids system instability caused by drastic changes in weights, and the weight change rate limit is designed to ensure that the amplitude of each adjustment is within a controllable range.
[0162] Next, we implement weight adjustment effect monitoring, track the changes in system performance after adjustment, and design an adaptive learning rate to dynamically adjust the magnitude of weight changes based on the adjustment effect.
[0163] After that, we design upper and lower weight constraints to prevent a single service weight from being too high or too low, and design a weight normalization function to ensure that the sum of all service weights remains constant.
[0164] And optionally implement service offline detection, automatically set its weight to 0 when the service is unavailable, and design a new service joining strategy to assign appropriate initial weights to newly added services.
[0165] Finally, a distributed weight synchronization mechanism is implemented to ensure that all load balancers use consistent weight configurations.
[0166] Fourth, an adaptive threshold mechanism is used to expand or reduce the capacity of servers in each business domain according to the system status of each business domain, including: determining the key performance indicators that trigger expansion or reduction, and setting initial thresholds for each key performance indicator; using a time series analysis module to predict the trend changes of each key performance indicator, and executing expansion or reduction decisions based on the trend changes of each key performance indicator.
[0167] The goal of this step is to create an intelligent adaptive threshold system that automatically triggers the expansion or reduction of services based on the system status.
[0168] Among them, key performance indicators include: CPU usage, memory usage, request queue length, etc.; initial thresholds include: upper and lower thresholds of each key performance indicator, such as CPU usage >80% triggers expansion, and <20% triggers reduction.
[0169] Fifth, adopt a distributed health check mechanism and design a fault prediction system based on historical data and current status.
[0170] Through these steps, the embodiment of the present invention realizes an intelligent, dynamic and efficient load balancing system. The system can predict the optimal request distribution strategy based on the reinforcement learning model, dynamically adjust the service weight to adapt to the changing load conditions, and intelligently trigger the expansion and contraction of the service through the adaptive threshold mechanism. This method can not only improve the overall performance and resource utilization of the system, but also optimize the operating cost while ensuring the quality of service.
[0171] In this embodiment, in addition to expanding the processing logic of the service address management module, it is also possible to perform consistency synchronization management on the data of each distributed business domain.
[0172] Specifically, the consistency synchronization management of data in each distributed business domain may include:
[0173] E1) Based on clustering, wireless self-organizing network classification technology partitions the data of each service domain.
[0174] Specifically, it includes: defining classification standards based on the attributes and access patterns of the business domain to classify the data of each business domain; setting up a data partitioning system according to the classification standards and the data under each category; including: designing an initial partitioning structure based on the business domain type and the respective data characteristics; using a dynamic balancing algorithm and data migration method to balance the partition load according to the access load of each partition, and aggregating data with the same characteristics in the same partition or adjacent partitions; and designing a partition splitting and merging mechanism, and determining the priority of each partition according to the access pattern; and designing a cross-partition data synchronization protocol to access the data of each partition in parallel.
[0175] Through step E1), an intelligent, dynamic and reliable data management system can be established. The system can automatically classify and organize data according to business needs and access patterns, realize flexible data partitioning, and ensure the consistency and availability of data across partitions. This approach not only improves the efficiency of data access, but also enhances the scalability and fault tolerance of the system, providing a strong data management foundation for the ERP platform.
[0176] E2) Manage the affairs of each business domain.
[0177] Specifically, it includes: designing a two-phase commit protocol (2PC), including: designing a transaction coordinator component to manage the entire two-phase commit protocol and unify the interfaces of various business domains; sending preparation requests and preparation logic to all participating business domains; executing the commit and / or rollback logic based on the results of the preparation phase; designing a compensation transaction mechanism to handle long transactions, including: defining a compensation transaction interface, and developing a state machine-based transaction management system to obtain the transaction state transitions of each business domain; configuring corresponding compensation operations for transactions in each business domain; designing status monitoring and recovery tools for each business domain, including: designing a graphical monitoring screen to obtain the status and progress of transactions in each business domain; setting up a multi-level alarm mechanism and generating an audit log based on the type and importance of transactions in each business domain; and executing a fault detection and recovery process based on the audit log.
[0178] E3) Unify the consistency module of each business domain transaction.
[0179] Specifically, it includes: designing version vectors for each business domain transaction, recording the modification history on different nodes, and detecting concurrent updates based on the version vector comparison algorithm; designing merge strategies and asynchronous replication mechanisms to adjust the synchronization behavior of each business domain transaction according to the load and network conditions of the ERP platform.
[0180] Through steps E1) to E3), a powerful distributed transaction management system and eventual consistency model are established. These mechanisms together ensure the data consistency, reliability and high performance of the ERP platform in a distributed environment. The two-phase commit protocol ensures the atomicity of key transactions, the compensating transaction mechanism handles long-running complex business processes, and the eventual consistency model improves the availability and performance of the system while ensuring the eventual consistency of data. This multi-level consistency strategy provides a flexible and powerful data management foundation for the ERP platform.
[0181] In this embodiment, the distributed ERP platform portal reconstruction access method may also include: caching the data of each distributed business domain. That is: designing a distributed cache architecture, and based on the cache synchronization protocol, ensuring the consistency of the data of each business domain; using accelerated distributed optimization technology to accelerate cache decision-making and data distribution, including: using the original dual perspective algorithm of local steps to convert the cache optimization problem into a distributed optimization problem, and defining the objective function and constraints; using an adaptive cache preheating strategy to determine the data of the business domain to be cached; setting a cache invalidation mechanism based on the access mode and data update frequency of each business; and using a hierarchical architecture of local cache, distributed cache and database.
[0182] The goal of this step is to implement an efficient distributed optimization algorithm to accelerate cache decisions and data distribution.
[0183] Among them, the primal-dual perspective algorithm of the local step can quickly converge to the global optimal solution in a distributed environment. The specific implementation is as follows:
[0184] 1) Problem modeling, including formalizing the cache optimization problem as a distributed optimization problem, including: defining the objective function, considering factors such as access latency, storage cost, data consistency, etc.; and establishing constraints, such as storage capacity limitations, bandwidth limitations, etc.
[0185] 2) Design of the algorithm framework, including the decomposition of the primal problem and the dual problem; design of the iterative update mechanism, including the update rules of the primal and dual variables; and development of a distributed coordination mechanism to ensure information exchange between nodes.
[0186] 3) Local step optimization, including implementing local optimization subproblem solvers at each node; designing efficient gradient calculation methods to reduce computational overhead; and developing adaptive step size selection strategies to accelerate convergence.
[0187] 4) Global coordination.
[0188] 5) Convergence analysis, including convergence condition checking to ensure that the algorithm can stop in time, and designing a dynamic adjustment mechanism to adjust the algorithm parameters according to the convergence speed.
[0189] 6) Parallel processing, including designing a parallel computing framework and implementing task allocation strategies to balance the computing load of each node.
[0190] 7) Performance optimization, including pre-computation and caching of intermediate results, reducing repeated calculations, and approximate calculation strategies to strike a balance between accuracy and speed.
[0191] Alternatively, a monitoring and intelligent log system is generated, including: designing a distributed monitoring system based on asymmetric reciprocal learning based on uncertainty, including: designing a distributed monitoring indicator system and a cross-business domain data collection and aggregation system, wherein the steps of generating the cross-business domain data collection and aggregation system include: deploying a data collection architecture in each business domain; adopting a data transmission protocol and a unified data format and encoding standard, based on federated learning, transmitting data of each business domain across regions; and, according to an adaptive alarm threshold algorithm, adjusting the alarm threshold according to the behavioral status of each business domain, and recording all threshold adjustments and alarm events.
[0192] By implementing these steps, the embodiment of the present invention establishes an advanced, asymmetric reciprocal learning-based federated monitoring system based on uncertainty. This system can achieve comprehensive and intelligent system monitoring while protecting the data privacy of each business domain. The distributed monitoring indicator system provides a comprehensive system view, the data collection and aggregation mechanism across business domains ensures the effective collection and analysis of data, and the adaptive alarm threshold algorithm greatly improves the accuracy and timeliness of alarms. This approach not only improves the reliability and performance of the ERP platform, but also provides system administrators with powerful tools to prevent and solve potential problems, thereby ensuring the efficient operation of the entire ERP platform.
[0193] In addition to expanding the functions of the service address management module, this embodiment can also configure the functions and structure of the ERP platform.
[0194] For example, the distributed ERP platform portal reconstruction access method may also include: optimizing the deployment and update process of the ERP platform.
[0195] Specifically, it includes: using minimized quantization synchronous distributed training technology across hybrid devices, including: designing container image building processes and optimizing image capacity; using Kubernetes' orchestration capabilities to manage various business domain services of the ERP platform; and based on automated deployment pipelines, integrating security scanning and penetration testing in the pipelines to regularly perform disaster recovery testing processes to update the ERP platform.
[0196] By implementing the above steps, a highly automated, flexible and reliable deployment system can be established. The optimization of container images ensures rapid deployment and effective resource utilization. Kubernetes-based service orchestration provides powerful container management and service coordination capabilities. The automated deployment pipeline enables efficient and secure version releases and supports advanced release strategies such as blue-green releases and canary releases. This approach not only improves the deployment efficiency and reliability of the ERP platform, but also provides the development team with powerful tools to quickly and safely deliver new features and updates, thereby improving the agility and stability of the entire system.
[0197] And / or, based on the resource requirements of historical data, predict the resources required by each business domain, adopt dynamic resource allocation algorithms, optimize cluster utilization, and develop automated scaling strategies to cope with load fluctuations.
[0198] And / or, restore the data of the ERP platform, including: setting up data centers on each business domain server, and adopting a cross-regional data replication model and a multi-region deployment mechanism based on the Byzantine fault tolerance mechanism to keep the data between each data center synchronized and consistent; based on the anomaly detection model, detecting the operating status of each data center, and interrupting the service when a data center failure is identified, and regularly automating the testing and verification of the disaster recovery process based on the disaster recovery drill automation tool
[0199] Through this step, a powerful multi-region deployment system based on the Byzantine fault tolerance mechanism was established. The cross-region data replication strategy ensures high availability and consistency of data. The automatic fault detection and switching mechanism greatly reduces service interruption time and improves the overall reliability of the system. The disaster recovery drill automation tool provides strong support for continuous improvement and verification of the system's recovery capabilities. This comprehensive approach not only improves the ERP platform's ability to recover from various failures and disasters, but also ensures business continuity and data integrity, providing enterprises with a reliable technical infrastructure.
[0200] And / or, backing up the data of the ERP platform, including: incremental backup and full backup of the data of the ERP platform.
[0201] And / or, build contingency plans for key business domains based on the established business impact analysis and recovery time objectives.
[0202] In summary, the present invention realizes an intelligent, efficient, secure and highly adaptive ERP platform distributed deployment portal reconstruction access system. The system not only solves various challenges of traditional ERP platforms in distributed environments, but also introduces a number of innovative technologies, greatly improving the overall performance, reliability and user experience of the system.
[0203] The embodiment of the present invention also provides a system corresponding to the distributed ERP platform portal reconstruction access method, such as Figure 4 The structural diagram of a distributed ERP platform portal reconstruction access system in an embodiment of the present invention is shown in FIG. Figure 4 As shown, the distributed ERP platform portal reconstruction access method system 100 may include:
[0204] A creation unit 110, adapted to create a service address management module for managing all business domains on the ERP platform;
[0205] The acquisition unit 120 is adapted to acquire an access request of a user and determine the permission level of the user according to the role of the user;
[0206] The processing unit 130 is adapted to determine the service request content that matches the access request through the service address management module according to the user's authority level; and provide the service request content to the user through the service address management module based on a preset routing algorithm according to the user's authority level and the service request content, as well as the server load, geographical location, and network status.
[0207] The specific working process and principle of the creation unit 110, the acquisition unit 120 and the processing unit 130 can refer to the relevant description of the above examples.
[0208] It is understandable that the division of the above units is only a division of logical functions, and in actual implementation, all or part of them can be integrated into one physical entity, or they can be physically separated. In addition, the above units can be implemented in the form of a processor calling software.
[0209] The present invention also provides a computer system suitable for implementing a distributed ERP platform portal reconstruction access method, wherein the computer system includes a central processing unit (CPU), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage part to a random access memory (RAM), such as executing the method described in the above embodiment. Various programs and data required for system operation are also stored in the RAM. The CPU, ROM, and RAM are connected to each other via a bus. The input / output (I / O) interface is also connected to the bus.
[0210] The following components are connected to the I / O interface: an input part including a keyboard, a mouse, etc.; an output part including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage part including a hard disk, etc.; and a communication part including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication part performs communication processing via a network such as the Internet. The drive 310 is also connected to the I / O interface as needed. Removable media, such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, etc., are installed on the drive as needed so that the computer program read therefrom can be installed into the storage part as needed.
[0211] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium. When the computer program is executed by a central processing unit (CPU), various functions defined in the system of the present application are executed.
[0212] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (Erasable Programmable Read Only Memory, ERPOM), a flash memory, an optical fiber, a portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0213] In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus, or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable computer program. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0214] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0215] The units involved in the embodiments of the present invention may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, limit the units themselves.
[0216] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the above-mentioned various optional implementations.
[0217] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiment.
[0218] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0219] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solution according to the implementation method of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation method of the present application.
[0220] Although the present specification discloses the above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.
Claims
1. A distributed ERP platform portal reconstruction access method, characterized in that: include: A service address management module for managing all business domains is created on the ERP platform, including: based on the federated graph neural network technology, a business domain service address graph network model and an initial graph neural network are constructed at the entrance of the ERP platform, the graph network model includes multiple nodes, and the interaction relationship between each node; wherein one node corresponds to one business domain; an initial feature vector is assigned to each node, and the initial feature vector includes: business domain type, load status, average response time, memory usage, network throughput, error rate and server address of the business domain; the initial feature vector of each node is input into the initial graph neural network, and the graph neural network is trained to obtain the graph neural network; the graph neural network is arranged in each business domain; the local data set of each business domain obtained is converted into the initial feature vector corresponding to each business domain, and based on the training parameters of each business domain, the graph neural network is trained using a secure aggregation algorithm and an asynchronous update mechanism to obtain multiple business domain management models as the service address management module; wherein the secure aggregation algorithm is used to maintain the independence of data between each business domain, and the asynchronous update mechanism is used to maintain the independence of updates between each business domain management model; Obtaining a user's access request and determining the user's permission level based on the user's role; According to the authority level of the user, determining the service request content that is compatible with the access request through the service address management module; According to the user authority level and the service request content, as well as the server load, geographical location, and network status, based on a preset routing algorithm, the service request content is provided to the user through the service address management module.
2. The distributed ERP platform portal reconstruction access method according to claim 1 is characterized in that: The service address management module has at least one of a configuration function, a service registration function, a self-check function and an encryption function; The service address management module for managing all business domains created on the ERP platform also includes at least one of the following: Obtain server operation data and network status data of each business domain; convert the server operation data and network status data of each business domain into an initial feature vector corresponding to each business domain, and update the pre-stored initial feature vector; input the initial feature vector data corresponding to each business domain into the corresponding business domain management model, and score the service route of each business domain based on the set scoring criteria; according to the score of the service route of each business domain, change the service address of the corresponding business domain on the ERP platform; wherein, changing the service address of the corresponding business domain on the ERP platform includes: pre-defining the conditions for triggering configuration update, and when the score of the service route of each business domain is lower than the pre-defined conditions for triggering configuration update, using a progressive, rollback mechanism, version control mechanism, load balancing mechanism, synchronization mechanism, and log review mechanism to change the service address of the corresponding business domain on the ERP platform; A central service registration center is established on the ERP platform, and unique identification information is configured for each business service address; when a new business service request is obtained, the service address management module is used to configure the service identifier, IP address, port and URL information for the new business service, and determine the interaction relationship between the new business service and other business domains; Establish a health check endpoint in each business domain; monitor the operation status of each business domain using at least one health check method among HTTP, TCP and script execution according to the set check frequency; execute corresponding procedures based on the operation status of each business domain, including: when the operation status of a business domain is abnormal, remove the business domain, restart the business domain, transfer the operation address of the business domain, and generate an aggregated view of the operation status of the business domain; Define the metadata structure of each business domain, and use a consistency protocol to unify the key cloud data of each business domain. The metadata structure includes: business domain ID, version, address and operating status; based on the publish-subscribe model, when the service address management module determines that the information of at least one business domain has changed, the change information will be sent to other business domains related to the business domain.
3. The distributed ERP platform portal reconstruction access method according to claim 1 is characterized in that: The determining, according to the authority level of the user, through the service address management module, the service request content adapted to the access request includes: According to the data characteristics, business needs and permission requirements of each business domain, select the permission level model of each business domain, and design the hierarchical structure of the permission level model of each business domain, as well as the capacity of the permission level model of each business domain; Mapping the parameters of the permission level models of different business domains to a preset common space, and aligning the permission level models of different business domains, so that the permission level models of different business domains can interact; Based on the importance level, data quality and performance of the permission level model of each business domain, and combined with the security aggregation algorithm, differential privacy mechanism, anomaly detection and filtering mechanism, and permission policy integration mechanism, the permission level of each business domain is determined and built into the service address management module; Based on the user's authority level and the authority levels of each business domain, the service address management module selects the business domain corresponding to the user's authority level, and based on the access request, selects data corresponding to the access request from the business domain corresponding to the user's authority level as the business request content.
4. The distributed ERP platform portal reconstruction access method according to claim 3 is characterized in that: The determining, by the service address management module, the service request content that matches the access request and the user's authority level according to the user's authority level also includes at least one of the following: Define multi-dimensional permission attributes, including roles, data levels, and operation types; Configure access rights for different roles, user groups or individual users based on preset permission rules; Configure single sign-on mechanism on ERP platform, including: configure multi-factor authentication process and identity information synchronization protocol across business domains; Generate logs.
5. The distributed ERP platform portal reconstruction access method according to claim 1, characterized in that: The providing the service request content to the user through the service address management module based on the user authority level and the service request content, as well as the server load, geographic location, and network status, based on a preset routing algorithm, also includes at least one of the following: The intelligent distribution mechanism of functional services based on multi-agent reinforcement learning is adopted, including: constructing an agent environment module, including: defining multiple agents, assigning identification information to each agent, and outputting the identification information to the service address management module; wherein one agent corresponds to one business domain, and the identification information of each agent includes: unique ID, label, capability description and relationship network; setting the state space of each agent, and the state space includes: load index, performance index, network status, resource utilization, business index, system operation status, environmental factors and security status; defining the motion space of each agent, and the motion space includes: request routing decision, load balancing strategy, resource allocation, cache management, service degradation, security operation, performance optimization, log and monitoring, business process adjustment and user experience optimization; selecting agents to distribute services; selecting agents to distribute services; selecting agents to distribute services; selecting agents to distribute services; selecting agents to distribute services; selecting agents to distribute services; selecting agents to distribute services; selecting agents to distribute services; selecting agents to distribute services; selecting agents to distribute services; selecting agents to distribute services; selecting agents to distribute services; selecting agents to distribute services; selecting agents to distribute services; selecting agents to distribute services; selecting agents to distribute services; selecting agents to distribute services. A distributed environment algorithm, comprising: selecting a distributed environment algorithm type, an asynchronous update mechanism, hyperparameter optimization and a communication coordination mechanism; using a reward function to balance the performance and user experience of an agent environment module, wherein the reward function comprises: performance indicator reward, user experience reward, system health reward, load balancing reward, business goal reward, multi-goal balance, reward normalization, and reward decomposition; using an experience replay mechanism to train the agent environment module; using the agent environment module to execute a distribution strategy based on key information of each business domain server, wherein the key information comprises: current load and network status; including: collecting the key information according to state changes or fixed time monitoring, and converting it into a standardized state representation; converting the standardized state representation into a request distribution instruction through the agent environment module; According to the hardware configuration and historical data of each business domain server, the weight of the intelligent agent environment module is updated, including: according to the hardware configuration and historical data of each business domain server, an initial weight allocation strategy is designed and a weight adjustment factor is defined, and the weight is recalculated according to the weight adjustment factor and the output of the intelligent agent environment module; Adopting an adaptive threshold mechanism, the servers in each business domain are expanded or reduced in capacity according to the system status of each business domain, including: determining the key performance indicators that trigger expansion or reduction, and setting initial thresholds for each key performance indicator; adopting a time series analysis module to predict the trend changes of each key performance indicator, and executing expansion or reduction decisions based on the trend changes of each key performance indicator; A distributed health check mechanism is adopted, and a fault prediction system is designed based on historical data and current status.
6. The distributed ERP platform portal reconstruction access method according to claim 1, characterized in that: It also includes: consistency synchronization management of data in various distributed business domains, including: Based on the clustering wireless self-organizing network classification technology, the data of each business domain is partitioned and processed, including: based on the attributes and access modes of the business domain, defining the classification standard to classify the data of each business domain; according to the classification standard and the data under each category, setting the data partition system; including: based on the business domain type and the respective data characteristics, designing the initial partition structure; according to the access load of each partition, using the dynamic balancing algorithm and the data migration method to balance the partition load, and aggregating the data with the same characteristics in the same partition or adjacent partitions; and, designing the partition splitting and merging mechanism, and determining the priority of each partition according to the access mode; and, designing the cross-partition data synchronization protocol to access the data of each partition in parallel; Managing transactions in each business domain, including: designing a two-phase commit protocol, including: designing a transaction coordinator component to manage the entire two-phase commit protocol and unifying the interfaces of each business domain; sending preparation requests and preparation logic to all participating business domains; executing the commit and / or rollback logic based on the results of the preparation phase; designing a compensation transaction mechanism to handle long transactions, including: defining a compensation transaction interface, and developing a state machine-based transaction management system to obtain transaction state transitions in each business domain; configuring corresponding compensation operations for transactions in each business domain; designing status monitoring and recovery tools for each business domain, including: designing a graphical monitoring screen to obtain the status and progress of transactions in each business domain; setting a multi-level alarm mechanism and generating an audit log based on the type and importance of transactions in each business domain; executing a fault detection and recovery process based on the audit log; Unify the consistency modules of various business domain transactions, including: designing version vectors for each business domain transaction, recording the modification history on different nodes, and detecting concurrent updates based on the version vector comparison algorithm; designing merge strategies and asynchronous replication mechanisms to adjust the synchronization behavior of each business domain transaction according to the load and network conditions of the ERP platform.
7. The distributed ERP platform portal reconstruction access method according to claim 1, characterized in that: Also includes at least one of the following: Cache the distributed data of each business domain, including: designing a distributed cache architecture and ensuring the consistency of data in each business domain based on a cache synchronization protocol; using accelerated distributed optimization technology to accelerate cache decisions and data distribution, including: using the primal dual perspective algorithm of local steps to convert cache optimization problems into distributed optimization problems, and defining objective functions and constraints; using an adaptive cache preheating strategy to determine the data of the business domain to be cached; setting a cache invalidation mechanism based on the access mode and data update frequency of each business; and using a hierarchical architecture of local cache, distributed cache, and database; Generate a monitoring and intelligent log system, including: design a distributed monitoring system based on asymmetric reciprocal learning of uncertainty, including: design a distributed monitoring indicator system and a cross-business domain data collection and aggregation system, wherein the steps of generating the cross-business domain data collection and aggregation system include: deploying a data collection architecture in each business domain; adopting a data transmission protocol and a unified data format and encoding standard, based on federated learning, transmitting data of each business domain across regions; and, according to an adaptive alarm threshold algorithm, adjusting the alarm threshold according to the behavioral status of each business domain, and recording all threshold adjustments and alarm events.
8. The distributed ERP platform portal reconstruction access method according to claim 1, characterized in that: Also includes at least one of the following: Optimizing the deployment and update process of the ERP platform, including: adopting minimized quantization synchronous distributed training technology across hybrid devices, including: designing container image building processes and optimizing image capacity; using Kubernetes' orchestration capabilities to manage various business domain services of the ERP platform; and based on automated deployment pipelines, supporting blue-green releases and canary releases, and integrating security scanning and penetration testing in the pipeline to regularly perform disaster recovery testing processes to update the ERP platform; Based on the resource requirements of historical data, we predict the resources required by each business domain, adopt dynamic resource allocation algorithms, optimize cluster utilization, and develop automated scaling strategies to cope with load fluctuations. Restoring the data of the ERP platform includes: setting up data centers on each business domain server, and adopting a cross-regional data replication model and a multi-region deployment mechanism based on the Byzantine fault tolerance mechanism to keep the data between data centers synchronized and consistent; detecting the operating status of each data center based on the anomaly detection model, and interrupting services when a data center failure is identified; and regularly automating the testing and verification of the disaster recovery process based on the disaster recovery drill automation tool; Backing up the data of the ERP platform, including: incremental backup and full backup of the data of the ERP platform; Build emergency response plans for key business domains based on the established business impact analysis and recovery time objectives.
9. A distributed ERP platform portal reconstruction access system, characterized in that: include: A creation unit, adapted to create a service address management module for managing all business domains on an ERP platform, comprising: constructing a business domain service address graph network model and an initial graph neural network at the entrance of the ERP platform based on the federated graph neural network technology, wherein the graph network model comprises a plurality of nodes and the interaction relationship between each node; wherein one node corresponds to one business domain; allocating an initial feature vector to each node, wherein the initial feature vector comprises: business domain type, load status, average response time, memory usage, network throughput, error rate and server address of the business domain; inputting the initial feature vector of each node into the initial graph neural network, training the graph neural network to obtain a graph neural network; arranging the graph neural network to each business domain; converting the local data sets of each business domain obtained into the initial feature vectors corresponding to each business domain, and training the graph neural network based on the training parameters of each business domain, using a secure aggregation algorithm and an asynchronous update mechanism, obtaining a plurality of business domain management models as the service address management module; wherein the secure aggregation algorithm is used to maintain the independence of data between each business domain, and the asynchronous update mechanism is used to maintain the independence of updates between each business domain management model; an acquisition unit, adapted to acquire an access request from a user and determine the permission level of the user according to the role of the user; The processing unit is adapted to determine the service request content that matches the access request through the service address management module according to the user's authority level; and provide the service request content to the user through the service address management module based on a preset routing algorithm according to the user's authority level and the service request content, as well as the server load, geographical location, and network status.
