A data processing method, apparatus and system
By directly accessing the business management page of the target application cluster through a unified login page and local routing configuration, the problem of users manually searching for addresses is solved, achieving efficient business processing and an improved user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA CONSTRUCTION BANK
- Filing Date
- 2024-11-13
- Publication Date
- 2026-07-03
AI Technical Summary
In scenarios involving multiple homogeneous application clusters, users need to manually search for and enter the application cluster address where the business data is located, resulting in low business processing efficiency and a poor user experience.
User requests are received through a unified login page. The mapping relationship between services and application clusters is queried based on the user's identity. The service management page resources of the target application cluster are obtained directly from the routing configuration, avoiding the need to set up a registry center and enabling fast page redirection.
It improves the business processing efficiency of multi-homogeneous application clusters, reduces user waiting time, and enhances user experience.
Smart Images

Figure CN119544447B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a data processing method, apparatus and system. Background Technology
[0002] In scenarios involving multiple homogeneous application clusters, such as those deployed in large financial institutions, multiple data centers are used, each with its own homogeneous application cluster. Each application cluster has independent service capabilities and employs a completely independent active-active deployment. When users need to manage authorized business data, they must locate and enter the address of the business management page for the application cluster containing that data, which is inefficient and negatively impacts user experience.
[0003] Therefore, improving the business processing efficiency and enhancing the user experience of multi-homogeneous application clusters is an urgent problem to be solved. Summary of the Invention
[0004] This application provides a data processing method, apparatus, and system for improving the business processing efficiency of multi-homogeneous application clusters and enhancing user experience.
[0005] In a first aspect, this application provides a data processing method applied to a first server, the first server belonging to a first network, the first network further including multiple homogeneous application clusters; the method includes:
[0006] The login request from the first user is received through the login page. The login request includes the identity identifier of the first user.
[0007] Based on the identity identifier of the first user, query at least one service that has a mapping relationship with the first user, the mapping relationship is used to indicate the correspondence between the user's identity identifier and the operation permissions of the service;
[0008] Query the target application cluster and routing information of the target application cluster in the first network to which at least one service belongs from the first routing configuration;
[0009] Based on the routing information of the target application cluster, obtain the resources of the business management page from the target application cluster, and display the business management page of the target application cluster based on the obtained business management page resources.
[0010] In this solution, when the first server receives a login request from the first user, it can determine at least one service that the first user has the right to operate based on the user's identity identifier in the login request. This eliminates the need for the user to manually input the service to be operated, thus improving the user experience. Based on at least one service, the server can directly query the resource of the service management page of the target application cluster to which the at least one service belongs from the first routing configuration and display the service management page. This eliminates the need to set up a registry center and obtain the routing information of the target application cluster through the registry center. The routing information of the target cluster can be directly queried through the locally stored first routing configuration, making deployment simpler, more flexible, and enabling rapid page redirection, thereby improving the service processing efficiency of multiple homogeneous application clusters.
[0011] Optionally, at least one service includes multiple services; each of the multiple services belongs to only one application cluster; querying the target application cluster in the first network to which the at least one service belongs from the first routing configuration includes: querying the application cluster in the first network to which each of the multiple services belongs from the first routing configuration; if the multiple services all belong to the same application cluster, then the application cluster to which the multiple services belong is taken as the target application cluster; if the multiple services belong to at least two application clusters, then a first query message is sent to the first user; the first query message includes multiple services, and the first query message is used to instruct the first user to select a target service to be processed from the multiple services; receiving the target service input by the first user, and taking the application cluster to which the target service belongs as the target application cluster.
[0012] In this method, when at least one service that has a mapping relationship with the first user belongs to the same application cluster, the resources of the service management page can be directly obtained from the application cluster, and the service management page of the application cluster can be displayed, thus realizing page redirection. When at least one service that has a mapping relationship with the first user belongs to at least two application clusters, in order to ensure that the redirected service management page is the service management page of the application cluster to which the user wants to operate, an inquiry message can be sent to the user, and the corresponding service management page can be redirected according to the user's selection, avoiding page redirection errors that would require redirection, and improving the service processing efficiency of multiple homogeneous application clusters.
[0013] Optionally, the first routing configuration includes routing information for each application cluster in the first network; the routing information for each application cluster includes: service URL and service; querying the target application cluster to which at least one service belongs and the routing information of the target application cluster from the first routing configuration includes: querying target routing information from the first routing configuration based on at least one service, wherein the service included in the target routing information matches at least one service; and obtaining the service URL of the target application cluster included in the target routing information.
[0014] In this method, a first route configuration is generated by abstracting business data (including the service URLs and services of each application cluster). Based on at least one service, the target route information matching the included services can be quickly obtained from the first route configuration. This allows for the retrieval and display of resources for the target application cluster's service management page. This eliminates the need to set up a registry center and retrieve target route information from it, wait for feedback, and then use that information to retrieve resources for the target application cluster's service management page. This improves the efficiency of business processing across multiple homogeneous application clusters, reduces user waiting time, and ultimately enhances the user experience.
[0015] Secondly, embodiments of this application provide a data processing method applied to a target application cluster, the target application cluster belonging to a first network; the first network includes multiple homogeneous application clusters and a first server; the method includes:
[0016] Receive a request from the first server to obtain resources from the business management page, and send the resources from the business management page to the first server;
[0017] The business management page receives operation requests from the first user. The operation requests are used to instruct operations to be performed on the first business that has a mapping relationship with the first user. The mapping relationship is used to indicate the correspondence between the user's identity and the business's operation permissions.
[0018] In response to an operation request, after performing an operation on the first service, the first operation data of the first service is obtained; the first operation data is then fed back to the first user.
[0019] Receive a request from the first user to switch to the application cluster to which the second service belongs;
[0020] The routing information of the application cluster to which the second service belongs is queried from the second routing configuration. Based on the routing information of the application cluster to which the second service belongs, the resources of the service management page are obtained from the application cluster to which the second service belongs. Based on the obtained resources of the service management page, the service management page of the application cluster to which the second service belongs is displayed. The second service is a service that has the mapping relationship with the first user but does not belong to the target application cluster.
[0021] In this solution, the operation request from the first user is received through the business management page. After the operation on the first business is performed, the obtained operation data is fed back to the user. After the operation on the first business is completed, when a request is received from the user to switch to the application cluster to which the second business belongs, it is not necessary to return to the initial login page of the first server and then redirect to the business management page of the application cluster to which the second business belongs. Instead, the application cluster to which the second business belongs can be directly queried from the second routing configuration of the target application cluster based on the second business entered by the user. This allows for direct switching from the business management page of the target application cluster to the business management page of the application cluster to which the second business belongs, improving the flexibility and speed of application cluster switching. This, in turn, can improve the business processing efficiency of multiple homogeneous application clusters, reduce user waiting time, and enhance the user experience.
[0022] Optionally, there may be a third service in the first service that does not belong to the target application cluster; in response to an operation request, an operation is performed on the first service, including: performing an operation on the services other than the third service in the first service to obtain second operation data; querying the first application cluster to which the third service belongs and the routing information of the first application cluster from the second routing configuration; feeding back the first operation data to the first user, further including: feeding back the second operation data to the first user and sending a prompt message to the first user, the prompt message being used to indicate that the third service belongs to the first application cluster; receiving a request from the first user to switch to the first application cluster, obtaining the resources of the service management page from the first application cluster according to the routing information of the first application cluster, and displaying the service management page of the first service cluster based on the obtained resources of the service management page.
[0023] In this method, if a third service that does not belong to the target application cluster exists within the first service, operations are performed on the other services besides the third service. The obtained second operation data is then fed back to the first user, and the first user is notified of the first application cluster to which the third service belongs, so that the user can be informed of the service operation status in a timely manner. When a request from the first user to switch to the first application cluster is received, the service management page can be switched directly based on the routing information of the first application cluster, reducing user waiting time, improving the service processing efficiency of multiple homogeneous application clusters, and enhancing the user experience.
[0024] Optionally, the second routing configuration includes routing information for each application cluster in the first network; the routing information for each application cluster includes: service URL, service; querying the first application cluster to which the third service belongs and the routing information of the first application cluster from the second routing configuration includes: querying the first routing information from the second routing configuration according to the third service, the service included in the first routing information matching the third service; obtaining the URL of the first application cluster included in the first routing information.
[0025] In this method, a second routing configuration is generated by abstracting business data (including the service URLs and services of each application cluster). Based on the third service, the first routing information matching the included services in the second routing configuration can be quickly obtained, thereby obtaining the service URL of the first application cluster. This enables rapid acquisition and display of resources for the business management page of the first application cluster. It eliminates the need to set up a registry center, retrieve first routing information from the registry center, wait for feedback, and then retrieve resources for the business management page of the first application cluster based on the first routing information returned by the registry center. This improves the business processing efficiency of multiple isomorphic application clusters, reduces user waiting time, and thus enhances the user experience.
[0026] Optionally, the operation includes a first operation and a second operation that need to be performed sequentially. The target application cluster can only execute the first operation, while the second operation needs to be executed by the downstream application clusters of the target application cluster. The routing information of each application cluster in the second routing configuration also includes: the service URL of the downstream application cluster and the business of the downstream application cluster. In response to the operation request, after performing an operation on at least one business, the first operation data of at least one business is obtained, including: performing the first operation on at least one business to obtain third operation data. The third operation data is used to indicate the business that needs the downstream application cluster of the target application cluster to perform the second operation. The second routing information is queried from the second routing configuration based on the third operation data, and the business included in the second routing information matches the third operation data. The service URL of the target downstream application cluster included in the summary of the second routing information is obtained. The third operation data and the operation request are sent to the target downstream application cluster to perform the second operation based on the routing information of the target downstream application cluster, and the first operation data is received from the target downstream application cluster.
[0027] In this method, if an operation requires the target application cluster to perform a first operation and the downstream application cluster of the target application cluster to perform a second operation, then after the target application cluster completes the first operation, the service URL of the target downstream application cluster can be directly queried and obtained from the second routing information. Then, the third operation data and operation request can be directly sent to the target downstream application cluster to perform the second operation without needing to obtain the routing information of the target downstream application cluster from the registry center. This improves the business processing efficiency of multiple homogeneous application clusters and enhances the user experience.
[0028] Optionally, the method further includes: receiving an instruction from a second user to update the routing configuration, the instruction including at least one of modifying, adding, or deleting the second routing configuration; updating the second routing configuration according to the instruction; and broadcasting the updated second routing configuration to a second application cluster; the second application cluster being all application clusters other than the target application cluster among multiple homogeneous application clusters in the first network.
[0029] In this method, when the second routing configuration of the target application cluster is updated, all application clusters in the first network except the target application cluster are notified by broadcasting, so as to realize the synchronization of routing configuration of all application clusters in the first network. This makes it easier for each application cluster to quickly realize page jump through the synchronized routing configuration, which can improve the reliability of this application.
[0030] Optionally, the method further includes: receiving a third routing configuration from a third application cluster; the third application cluster being any application cluster other than the target application cluster among multiple homogeneous application clusters in the first network; comparing the second routing configuration with the third routing configuration, obtaining routing information different from the third routing configuration from the second routing configuration; and updating the different routing information based on the routing information in the third routing configuration.
[0031] In this method, the second routing configuration is updated based on the third routing configuration to achieve routing configuration synchronization of all application clusters in the first network. This facilitates subsequent page redirection for each application cluster through the synchronized routing configuration, thereby improving the reliability of this application.
[0032] Optionally, the second routing configuration is compared with the third routing configuration, and routing information different from the third routing configuration is obtained from the second routing configuration, including: comparing the routing information of each application cluster in the second routing configuration with the corresponding routing information of the application cluster in the third routing configuration; obtaining the routing information of at least one application cluster that is different from the third routing configuration from the second routing configuration; the difference is that at least one of the service URL, business, service URL of the downstream application cluster, and business of the downstream application cluster in the second routing configuration of the at least one application cluster is different from the corresponding routing information in the third routing configuration.
[0033] In this method, the routing information of each application cluster is compared, which makes it easier to quickly and accurately determine the routing information that needs to be updated in the second routing configuration, avoid information omission, and improve the reliability of this application.
[0034] Optionally, the second and third routing configurations also include the version number and update time of the routing information for each application cluster; and the routing information is updated based on the routing information in the third routing configuration, including:
[0035] For each application cluster in at least one application cluster, perform the following operations:
[0036] Obtain the second version number and second update time of the routing information for each application cluster in the second routing configuration, and the third version number and third update time of the routing information for each application cluster in the third routing configuration; if the second version number is less than the third version number, or the second version number is the same as the third version number and the second update time is earlier than the third update time, then update the routing information for each application cluster in the second routing configuration based on the routing information in the third routing configuration; if the second version number is greater than the third version number, or the second version number is the same as the third version number and the second update time is later than the third update time, then retain the routing information for each application cluster in the second routing configuration.
[0037] In this method, determining whether to update the second routing configuration based on the version number and update time in the second and third routing configurations can avoid situations where the latest version of the routing configuration is replaced by the old version due to factors such as broadcast transmission delay, network fluctuations, and different technicians updating the routing configuration simultaneously on different application clusters. This ensures that the second routing configuration is the latest version of the routing configuration, thereby improving the reliability of this application.
[0038] Thirdly, embodiments of this application provide a data processing apparatus applied to a first server, the first server belonging to a first network, the first network further including multiple homogeneous application clusters; the apparatus includes:
[0039] The receiving module is used to: receive a login request from the first user through the login page, wherein the login request includes the identity identifier of the first user;
[0040] The processing module is used to: query at least one service that has a mapping relationship with the first user based on the first user's identity identifier, wherein the mapping relationship is used to indicate the correspondence between the user's identity identifier and the operation permissions of the service; and query the target application cluster and the routing information of the target application cluster in the first network to which at least one service belongs from the first routing configuration.
[0041] The acquisition module is used to: obtain the resources of the business management page from the target application cluster based on the routing information of the target application cluster, and display the business management page of the target application cluster based on the obtained business management page resources.
[0042] Optionally, at least one service includes multiple services; each of the multiple services belongs to only one application cluster; when the processing module queries the target application cluster in the first network to which at least one service belongs from the first routing configuration, it is specifically used to: query the application cluster in the first network to which each of the multiple services belongs from the first routing configuration; if the multiple services all belong to the same application cluster, then the application cluster to which the multiple services belong is taken as the target application cluster; if the multiple services belong to at least two application clusters, then a first query message is sent to the first user; the first query message includes multiple services, and the first query message is used to instruct the first user to select a target service to be processed from the multiple services; receive the target service input by the first user, and take the application cluster to which the target service belongs as the target application cluster.
[0043] Optionally, the first routing configuration includes routing information for each application cluster in the first network; the routing information for each application cluster includes: service URL and service; when the processing module queries the target application cluster to which at least one service belongs and the routing information of the target application cluster from the first routing configuration, it is specifically used to: query the target routing information from the first routing configuration according to at least one service, wherein the service included in the target routing information matches at least one service; and obtain the service URL of the target application cluster included in the target routing information.
[0044] Fourthly, embodiments of this application provide a data processing apparatus applied to a target application cluster, the target application cluster belonging to a first network; the first network includes multiple homogeneous application clusters and a first server; the apparatus includes:
[0045] The receiving module is used to: receive a request from the first server to obtain resources from the business management page, and send the resources from the business management page to the first server; receive an operation request from the first user through the business management page, the operation request being used to instruct to perform an operation on a first business that has a mapping relationship with the first user; the mapping relationship being used to indicate the correspondence between the user's identity and the operation permissions of the business;
[0046] The processing module is used to: respond to an operation request, perform an operation on the first service, obtain the first operation data of the first service, and feed back the first operation data to the first user;
[0047] The receiving module is also used to: receive a request from the first user to switch to the application cluster to which the second service belongs;
[0048] The processing module is also used to: query the routing information of the application cluster to which the second service belongs from the second routing configuration;
[0049] The acquisition module is used to: obtain the resources of the service management page from the application cluster to which the second service belongs based on the routing information of the application cluster to which the second service belongs, and display the service management page of the application cluster to which the second service belongs based on the obtained resources of the service management page; the second service is a service that has the mapping relationship with the first user but does not belong to the target application cluster.
[0050] Optionally, the first service may contain a third service that does not belong to the target application cluster. When the processing module performs an operation on the first service in response to an operation request, it is specifically used to: perform an operation on the services other than the third service in the first service to obtain second operation data; query the first application cluster to which the third service belongs and the routing information of the first application cluster from the second routing configuration; when the processing module feeds back the first operation data to the first user, it is specifically used to: feed back the second operation data to the first user and send a prompt message to the first user, the prompt message being used to indicate that the third service belongs to the first application cluster; the receiving module is also used to: receive a request from the first user to switch to the first application cluster; the obtaining module is also used to: obtain the resources of the service management page from the first application cluster according to the routing information of the first application cluster, and display the service management page of the first service cluster based on the obtained resources of the service management page.
[0051] Optionally, the second routing configuration includes routing information for each application cluster in the first network; the routing information for each application cluster includes: service URL and service; when the processing module retrieves the first application cluster to which the third service belongs and the routing information of the first application cluster from the second routing configuration, it is specifically used to: retrieve the first routing information from the second routing configuration according to the third service, and the service included in the first routing information matches the third service; and obtain the URL of the first application cluster included in the first routing information.
[0052] Optionally, the operation includes a first operation and a second operation that need to be performed sequentially. The target application cluster can only execute the first operation, while the second operation needs to be executed by the downstream application clusters of the target application cluster. The routing information of each application cluster in the second routing configuration also includes: the service URL of the downstream application cluster and the business of the downstream application cluster. When the processing module receives the first operation data of at least one business after performing an operation on at least one business in response to the operation request, it is specifically used to: perform the first operation on at least one business to obtain the third operation data; the third operation data is used to indicate the business that needs the downstream application cluster of the target application cluster to perform the second operation; query the second routing information from the second routing configuration based on the third operation data, and the business included in the second routing information matches the third operation data; obtain the service URL of the target downstream application cluster included in the summary of the second routing information; send the third operation data and the operation request to the target downstream application cluster to perform the second operation based on the routing information of the target downstream application cluster, and receive the first operation data fed back from the target downstream application cluster.
[0053] Optionally, the receiving module is further configured to: receive an instruction from the second user to update the routing configuration, wherein the instruction to update the routing configuration includes at least one of modifying, adding, or deleting the second routing configuration; the processing module is further configured to: update the second routing configuration according to the instruction; and broadcast the updated second routing configuration to the second application cluster; wherein the second application cluster is all application clusters other than the target application cluster among the multiple homogeneous application clusters in the first network.
[0054] Optionally, the receiving module is further configured to: receive a third routing configuration from a third application cluster; the third application cluster is any application cluster other than the target application cluster among multiple homogeneous application clusters in the first network; the processing module is further configured to: compare the second routing configuration with the third routing configuration, obtain routing information different from the third routing configuration from the second routing configuration, and update the different routing information based on the routing information in the third routing configuration.
[0055] Optionally, when the processing module compares the second routing configuration with the third routing configuration and obtains routing information that differs from the third routing configuration from the second routing configuration, it specifically performs the following: compares the routing information of each application cluster in the second routing configuration with the routing information of the corresponding application cluster in the third routing configuration; obtains the routing information of at least one application cluster that differs from the third routing configuration from the second routing configuration; the difference is that at least one of the following in the second routing configuration—service URL, business, service URL of the downstream application cluster, and business of the downstream application cluster—is different from the corresponding routing information in the third routing configuration.
[0056] Optionally, the second and third routing configurations also include the version number and update time of the routing information for each application cluster; when the processing module updates different routing information based on the routing information in the third routing configuration, it is specifically used for:
[0057] For each application cluster in at least one application cluster, perform the following operations:
[0058] Obtain the second version number and second update time of the routing information for each application cluster in the second routing configuration, and the third version number and third update time of the routing information for each application cluster in the third routing configuration; if the second version number is less than the third version number, or the second version number is the same as the third version number and the second update time is earlier than the third update time, then update the routing information for each application cluster in the second routing configuration based on the routing information in the third routing configuration; if the second version number is greater than the third version number, or the second version number is the same as the third version number and the second update time is later than the third update time, then retain the routing information for each application cluster in the second routing configuration.
[0059] Fifthly, embodiments of this application provide a data processing system applied to a first network, the first network including multiple homogeneous application clusters and a first server; the system includes a first server, a target application cluster, and an application cluster to which a second service belongs;
[0060] The first server is configured to: receive a login request from a first user via a login page, the login request including the first user's identity identifier; query at least one service that has a mapping relationship with the first user based on the first user's identity identifier, the mapping relationship indicating the correspondence between the user's identity identifier and the service's operation permissions; query the target application cluster and routing information of the target application cluster in the first network to which at least one service belongs from the first routing configuration; and obtain resources for the service management page from the target application cluster based on the routing information of the target application cluster.
[0061] The target application cluster is used to: receive requests from the first server to obtain resources from the business management page, and send the resources from the business management page to the first server;
[0062] The first server is also used for: displaying the business management page of the target application cluster based on the resources obtained from the business management page;
[0063] The target application cluster is also used for: receiving operation requests from a first user through a business management page, the operation requests being used to instruct operations to be performed on a first service that has a mapping relationship with the first user; the mapping relationship being used to instruct the correspondence between the user's identity and the operation permissions of the service; responding to the operation request, performing operations on the first service and obtaining the first operation data of the first service; feeding back the first operation data to the first user; receiving a request from the first user to switch to the application cluster to which the second service belongs; querying the routing information of the application cluster to which the second service belongs from the second routing configuration, and obtaining resources from the business management page of the application cluster to which the second service belongs based on the routing information of the application cluster to which the second service belongs;
[0064] The application cluster to which the second service belongs is used to: receive a request from the target application cluster to obtain resources of the service management page, and send the resources of the service management page of the application cluster to which the second service belongs to the target application cluster.
[0065] The target application cluster is also used to: display the business management page of the application cluster to which the second business belongs based on the resources of the obtained business management page; the second business is a business that has the aforementioned mapping relationship with the first user but does not belong to the target application cluster.
[0066] In a sixth aspect, embodiments of this application provide an electronic device including at least one processor, which, when executing a computer program stored in a memory, causes the method as described in the first aspect or any optional implementation of the first aspect, or the method as described in the second aspect or any optional implementation of the second aspect, to be implemented.
[0067] In a seventh aspect, embodiments of this application provide a computer-readable storage medium for storing instructions that, when executed, cause the method as described in the first aspect or any optional implementation of the first aspect, or the method as described in the second aspect or any optional implementation of the second aspect, to be implemented.
[0068] Eighthly, embodiments of this application provide a computer program product, including computer program code, which, when executed on a computer, causes the method as described in the first aspect or any optional implementation of the first aspect, or the method as described in the second aspect or any optional implementation of the second aspect, to be implemented.
[0069] The technical effects or advantages of one or more technical solutions provided in the third, fourth, fifth, sixth, seventh and eighth aspects of this application can be explained by the corresponding technical effects or advantages of one or more technical solutions provided in the first and second aspects. Attached Figure Description
[0070] Figure 1 A data processing system structure diagram provided in this application embodiment;
[0071] Figure 2 A flowchart illustrating a data processing method provided in an embodiment of this application;
[0072] Figure 3 An example diagram of a routing relationship provided in an embodiment of this application;
[0073] Figure 4 A flowchart illustrating a multi-homogeneous application cluster processing service is provided for an embodiment of this application.
[0074] Figure 5 A structural diagram of a data processing device provided in an embodiment of this application;
[0075] Figure 6 This is a structural diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0076] The data collection, dissemination, and use in this application all comply with relevant national laws and regulations.
[0077] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, it does not mean that the applicant has used or necessarily used the solution.
[0078] The technical solution of this application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the embodiments of this application and the specific features in the embodiments are detailed descriptions of the technical solution of this application, rather than limitations on the technical solution of this application. In the absence of conflict, the embodiments of this application and the technical features in the embodiments can be combined with each other.
[0079] It should be understood that "multiple" in the description of the embodiments of this application refers to two or more. "First," "second," etc., in the embodiments of this application are used to distinguish different objects, not to describe a specific order. The term "and / or" in the embodiments of this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, the term "comprising" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices. In the embodiments of this application, a module refers to a part of a software system that has independent functionality.
[0080] When system load exceeds design capacity, expansion is limited because not all deployment units in the system's architecture are dynamically scalable; for example, a monolithic database design might be used. In such scenarios, a safer expansion solution is to add another homogeneous deployment (i.e., a homogeneous application cluster). Each additional homogeneous deployment doubles the original design capacity. Integrating new business data into the new application cluster reduces operational risks. This is one deployment scenario for multiple homogeneous application clusters. Besides this, there are many similar deployment scenarios for multiple homogeneous application clusters. For example, large and medium-sized organizations may have multiple data centers. To achieve multi-data center active-active deployment, a homogeneous application cluster is deployed in each data center, with each application cluster having independent service capabilities.
[0081] Typically, each homogeneous application cluster operates independently, providing its own services. Data is not exchanged between them, and they have different external service addresses. Users need to distinguish which application cluster they are using. While this approach is simple to deploy, it is not user-friendly. Users need to know which application cluster their associated services reside in and conduct transactions or operations on that cluster. It fails to allow users to manage services without being aware of associated services by accessing different homogeneous application clusters based on different rules (e.g., the correspondence between identity identifiers and services), impacting user experience. Operation and maintenance are also complex; adding another homogeneous application cluster significantly increases maintenance and management costs. Furthermore, complete independence means that business data cannot be fully integrated after slicing. Alternatively, a typical multi-site active-active solution can be adopted, forwarding transaction packets to different homogeneous application clusters based on characteristic data (e.g., multiple legal entity identifiers or channel identifiers), using a registry center or configuration center to find transaction routes. This approach is more flexible, but its deployment is more complex, requiring a separate registry or configuration center to solve routing problems. It is mainly used in large application system groups with multiple data centers and has certain limitations, such as longer user waiting time, reduced business processing efficiency and user experience; and the system's data consistency can only be guaranteed through database-level synchronization mechanisms.
[0082] In view of this, the technical solution of this application embodiment is proposed. A unified login page is provided by a first server in the first network to receive user login requests. Based on the identity identifier in the user's login request, at least one service with a mapping relationship with the user is determined. The routing information of the target application cluster in the first network to which the at least one service belongs is queried from the first routing configuration. The first server can directly obtain the resources of the service management page of the target application cluster based on the routing information and display the service management page of the target application cluster to the user. The user does not need to query or remember the address of the service management page of the target application cluster to which at least one service belongs, thus improving the user experience. Moreover, there is no need to set up a registration center. The address of the target application cluster is obtained through the registration center. After waiting for the feedback from the registration center, the resources of the service management page are obtained from the target application cluster. This reduces the deployment difficulty and waiting time, thereby improving the service processing efficiency of multiple homogeneous application clusters.
[0083] The data processing method provided in this application embodiment can be applied to any network containing multiple homogeneous application clusters.
[0084] See Figure 1This application provides a data processing system, which is applied to a first network as an example. The first network includes multiple homogeneous application clusters and a first server. The system includes a first server 101, a target application cluster 102, and an application cluster 103 to which the second service belongs.
[0085] The first server 101 is used to: provide a unified login page for all application clusters in the first network, receive user login requests, determine the services with permissions between the user and the service based on the login request, query the routing information of the target application cluster 102 to which the service belongs from the local routing configuration, and jump to the service management page of the target application cluster 102.
[0086] The first server 101 can be a single homogeneous server (or cluster) in the first network that is only used to provide the login page, or it can be any application cluster among the multiple homogeneous application clusters included in the first network. That is, any application cluster can provide the login page and also have business management functions.
[0087] The target application cluster 102 is used to: provide a business management page that provides services for users to operate the services in the target application cluster 102, as well as business management functions. It can query the routing information of the application cluster 103 to which the second service belongs from the local routing configuration according to the user's request to switch to the application cluster 103 to which the second service belongs, and jump to the business management page of the application cluster 103 to which the second service belongs.
[0088] The application cluster 103 to which the second service belongs is used to provide users with a business management page and business management functions to operate the services in the application cluster 103 to which the second service belongs, and also has the same jump page function as the target application cluster 102.
[0089] See Figure 2 This is a flowchart illustrating a data processing method provided in an embodiment of this application, for application to... Figure 1 Taking the system shown as an example, the method includes steps S101 to S114:
[0090] S101, the first user initiates a login request to the login page of the first server 101, and the first server 101 receives the login request from the first user through the login page.
[0091] The login request includes the identity identifier of the first user. This identity identifier may include the user's employee ID, user code, etc. The login request also includes the user's login account and password, etc., but this embodiment does not impose any limitations on these.
[0092] The first user can initiate a login request to the login page of the first server 101 through a terminal device (such as a computer, mobile phone, etc.).
[0093] S102, the first server 101 queries at least one service that has a mapping relationship with the first user based on the first user's identity identifier.
[0094] The mapping relationship is used to indicate the correspondence between a user's identity and the operation permissions of a business.
[0095] It is understandable that a user can have access to one or more services, meaning that the relationship between a user's identity and the services can be one-to-one or one-to-many.
[0096] For example, user groups can be set up to distinguish the roles and permissions of different users; resource groups can be set up to indicate different services, with one resource group indicating one service; and data groups can be set up to store all the data for each service. There is a mapping relationship between user groups and resource groups, that is, a user in a user group may have a mapping relationship with one or more resource groups. There is also a correspondence between resource groups and data groups, with one resource group corresponding to one data group, and the data group stores all the data for the service indicated by the corresponding resource group.
[0097] When the first server 101 receives a login request from the first user, it obtains the identity identifier of the first user included in the login request, confirms the user group to which the first user belongs based on the identity identifier, and determines one or more resource groups that have a mapping relationship with the user group based on the mapping relationship between the user group and the resource group. In this way, it can be determined that there is a mapping relationship between the first user and at least one service of the one or more resource groups.
[0098] In practical applications, different user roles and permissions can be set according to actual needs, such as the user's job title and department, as well as the mapping relationship between user groups and resource groups, and the mapping relationship between resource groups and data groups.
[0099] Optionally, before executing step S102, the first server 101 needs to verify the login account, login password, identity information and other information in the user's login request. Only after the verification is successful will step S102 be executed; if the verification fails, the user will be prompted with alarm information such as login request error through the login page.
[0100] S103. Query the target application cluster 102 in the first network to which at least one service belongs, and the routing information of the target application cluster 102 from the first routing configuration.
[0101] It is understandable that the first route configuration is the route configuration stored in the local path of the first server 101.
[0102] In one possible example, the first routing configuration includes routing information for each application cluster in the first network; the routing information for each application cluster includes: service URL and business;
[0103] The specific implementation of step S103 can be as follows: query the target routing information from the first routing configuration according to at least one service, wherein the services included in the target routing information match at least one service; obtain the service URL of the target application cluster included in the target routing information.
[0104] In this way, by abstracting business data (and the service URLs and services of each application cluster) to generate the first route configuration, the target route information that matches the included services can be quickly obtained from the first route configuration based on at least one service. In turn, the service URL of the target application cluster can be obtained, and the resources of the business management page of the target application cluster can be quickly obtained and displayed.
[0105] Optionally, the routing information for each application cluster in the first routing configuration may also include the ID, name, file service URL, and version number of the routing information for each application cluster. Table 1 below is an example of a first routing configuration provided in this application embodiment.
[0106] Table 1 Examples of First Router Configurations
[0107]
[0108] In Table 1, the System Example ID indicates the ID of each application cluster in the first network; the System Instance Name indicates the name of each application cluster in the first network; the Instance Service URL indicates the URL of the service management page provided by each application cluster in the first network for users to operate the services of the cluster; the Instance File Service URL indicates the URL of the external file transfer service provided by each application cluster in the first network; and the version number is the version of the routing information of each application cluster in the first network.
[0109] In one possible embodiment, at least one service includes multiple services; each of the multiple services belongs to only one application cluster; the specific implementation of step S103 can also be as follows:
[0110] Query the application cluster in the first network to which each service belongs among multiple services from the first routing configuration;
[0111] If multiple services belong to the same application cluster, then the application cluster to which the multiple services belong is taken as the target application cluster 102.
[0112] If multiple services belong to at least two application clusters, a first query message is sent to the first user; the first query message includes multiple services and is used to instruct the first user to select a target service to be processed from the multiple services; the target service input by the first user is received, and the application cluster to which the target service belongs is designated as the target application cluster 102.
[0113] For example, taking at least one service including service A, service B, and service C as an example, query the routing information corresponding to service A, service B, and service C in the first routing configuration respectively, and determine the application cluster to which service A, service B, and service C belong from the corresponding routing information;
[0114] If business A, business B, and business C all belong to cluster A, then cluster A will be used as the target application cluster.
[0115] If business A belongs to cluster B, and business B and business C belong to cluster C, then the first server 101 cannot determine which application cluster should be used as the target application cluster 102. In this case, it is necessary to send a query message to the first user, such as setting a pop-up window on the login page, displaying options for business A, business B, and business C in the pop-up window, indicating that one of the businesses can be selected; based on the business selected by the user, the application cluster to which that business belongs is used as the target application cluster 102.
[0116] It is understood that the above methods for determining the target application cluster and the specific methods for the first user to send the query message are only one possible example, and are not limited to this in practice.
[0117] S104. The first server 101 sends a resource request to the target application cluster 102 to obtain the business management page, and the target application cluster 102 receives the resource request to obtain the business management page.
[0118] For example, the first server 101 sends a resource request to the target application cluster 102 to obtain the business management page based on the routing information of the target application cluster 102, that is, the service URL of the target application cluster 102.
[0119] Optionally, when the first server 101 sends a resource request to the target application cluster 102 to obtain the business management page, it may also carry a login request for the first user (or the identity identifier and / or login account and password in the login request, etc.). The target application cluster 102 performs secondary verification of the identity of the first user to improve the security of the system.
[0120] Optionally, the communication between the first server 101 and the target application cluster 102 can also be encrypted to further ensure the security of the system.
[0121] S105, the target application cluster 102 sends the resources of the business management page to the first server 101, and the first server 101 receives the resources of the business management page.
[0122] S106, The first server 101 displays the business management page of the target application cluster 102 to the first user.
[0123] It is understandable that when the first server 101 receives a login request from the first user, it can determine at least one service for which the first user has the operation permissions based on the first user's identity identifier in the login request. This eliminates the need for the user to manually input the service to be queried or the URL of the target application cluster 102 to be accessed, thus improving the user experience. Based on at least one service, it can directly query the resource of the service management page of the target application cluster 102 to which the at least one service belongs from the first routing configuration and display the service management page. This eliminates the need to set up a registry center or obtain the routing information of the target application cluster 102 from the registry center, making deployment simpler, more flexible, and enabling rapid page redirection, thereby improving the service processing efficiency of multiple homogeneous application clusters.
[0124] S107. The first user sends an operation request to the target application cluster 102, and the target application cluster 102 receives the operation request.
[0125] The operation request is used to instruct the execution of an operation on a first service that has a mapping relationship with the first user. The mapping relationship is used to indicate the correspondence between the user's identity and the operation permissions of the service.
[0126] It is understood that the mapping relationship here is the same as that in step S102, and will not be repeated here.
[0127] S108, Target application cluster 102 responds to the operation request, performs the operation on the first service, and obtains the first operation data of the first service.
[0128] S109, Target application cluster 102 sends first operation data to the first user, and the first user receives the first operation data.
[0129] It is understood that the first service may include multiple services. For the two cases where each of the multiple services belongs to the target application cluster 102, or where there is at least one service that does not belong to the target application cluster 102, the specific implementation of steps S108 and S109 in these two cases will be described below through Embodiment 1 and Embodiment 2, respectively.
[0130] Example 1: The first service belongs to the target application cluster 102, that is, each of the multiple services belongs to the target application cluster 102; then the target application cluster 102 can directly perform operations on the first service, obtain the first service operation data, and feed back the first service operation data to the first user.
[0131] Example 2: If a third service exists within the first service that does not belong to the target application cluster 102, then...
[0132] The specific implementation of step S108 is as follows: perform operations on the services other than the third service in the first service to obtain the second operation data; query the first application cluster to which the third service belongs and the routing information of the first application cluster from the second routing configuration;
[0133] The specific implementation of step S109 is as follows: the second operation data is fed back to the first user, and a prompt message is sent to the first user to indicate that the third service belongs to the first application cluster; a request from the first user to switch to the first application cluster is received, and the resources of the service management page of the first application cluster are obtained from the first application cluster according to the routing information of the first application cluster, and the service management page of the first service cluster is displayed based on the obtained resources of the service management page.
[0134] In one possible example, the second routing configuration includes routing information for each application cluster in the first network; the routing information for each application cluster includes: service URL, service; querying the first application cluster to which the third service belongs and the routing information of the first application cluster from the second routing configuration includes: querying the first routing information from the second routing configuration according to the third service, the service included in the first routing information matching the third service; obtaining the URL of the first application cluster included in the first routing information.
[0135] For example, the second route configuration is the route configuration stored in the local path of the target application cluster 102. The second route configuration is synchronized with the first route configuration described above. The second route configuration may also include the ID, name, file service URL, and version number of the route information of each application cluster in the first network. For details, please refer to the example of the first route configuration in Table 1 above. This application embodiment will not be repeated here.
[0136] Assume that the first service includes service D and service F, where service D belongs to target application cluster 102, but service F does not. Then, target service cluster 102 operates on service D to obtain second operation data. Simultaneously, based on the second routing configuration, it queries the first routing information matching service F, determines the first application cluster to which service F belongs, and the service URL of the first application cluster, and feeds back the second operation data to the first user, indicating that service F belongs to the first application cluster. If a request from the first user to switch to the service management page of the first application cluster is received, the service URL of the first application cluster is used to retrieve the resources of the service management page from the first application cluster, and the service management page of the first service cluster is displayed based on the retrieved resources.
[0137] Thus, if a third service exists within the first service that does not belong to the target application cluster, operations are performed on other services besides the third service. The resulting second operation data is then fed back to the first user, who is also notified of the first application cluster to which the third service belongs, allowing the user to promptly be informed of the data processing status. Upon receiving a request from the first user to switch to the first application cluster, based on the second routing configuration generated through abstract business data (and the service URLs and services of each application cluster), the first routing information matching the included services can be quickly obtained from the second routing configuration according to the third service. This allows the service URL of the first application cluster to be obtained, enabling the rapid acquisition and display of resources on the business management page of the first application cluster.
[0138] It is understood that if the operation only includes the operation that needs to be performed by the target application cluster 102, then the specific implementation of step S108 can refer to the above embodiments one and two; if the operation includes not only the operation that needs to be performed by the target application cluster 102, but also the operation that needs to be performed by the downstream application cluster of the target application cluster 102, then the specific implementation of step S108 can refer to the following embodiment three.
[0139] Example 3: The operation includes a first operation and a second operation that need to be performed sequentially. The target application cluster 102 can only execute the first operation, while the second operation needs to be executed by the downstream application clusters of the target application cluster 102. The routing information of each application cluster in the second routing configuration also includes: the service URL of the downstream application cluster and the business of the downstream application cluster.
[0140] Then, the specific implementation of step S108 is as follows: perform a first operation on at least one service to obtain third operation data; the third operation data is used to instruct the downstream application cluster of the target application cluster to perform a second operation on the service; query the second routing information from the second routing configuration according to the third operation data, and the services included in the second routing information match the third operation data; obtain the service URL of the target downstream application cluster included in the summary of the second routing information; send the third operation data and operation request to the target downstream application cluster to perform the second operation according to the routing information of the target downstream application cluster, and receive the first operation data fed back from the target downstream application cluster.
[0141] Optionally, the second routing configuration also includes routing configuration for downstream application clusters of the target application cluster 102. The routing configuration for the downstream application clusters includes: the service URL of the downstream application cluster, the service of the downstream application cluster, the ID of the downstream application cluster, the name of the downstream application cluster, and the version number of the routing information of the downstream application cluster, etc. Table 2 below provides an example of a routing configuration for a downstream application cluster according to an embodiment of this application.
[0142] Table 2 Examples of routing configurations for downstream application clusters
[0143]
[0144] Among them, the downstream instance ID is used to indicate the ID of the downstream application cluster of the target application cluster 102; the downstream instance name is used to indicate the name of the downstream application cluster of the target application cluster 102; the downstream service URL is used to indicate the URL of the business management page provided by the downstream application cluster of the target application cluster 102 for services and user operations on the cluster; the downstream instance file service URL is used to indicate the URL provided by the downstream application cluster of the target application cluster 102 for external file transfer services; and the version number is the version of the routing information of the downstream application cluster of the target application cluster 102.
[0145] Optionally, since the downstream application clusters of the target application cluster do not belong to the first network group, but may be independent clusters or belong to the second network group, the routing configuration of each application cluster usually needs to set a network identifier to identify the network to which the application cluster belongs. The routing configurations of application clusters within the same network are synchronized, while the routing configurations of application clusters in different networks do not need to be synchronized.
[0146] For example, the second routing configuration also includes a mapping relationship between the first service (i.e., the service that needs to be processed by the target application cluster 102) and the third operation data (i.e., the service that needs to be further processed by the downstream application cluster of the target application cluster 102), as shown in Table 3 below:
[0147] Table 3. Example of the mapping relationship between the first business and the third operation data.
[0148]
[0149] Among them, feature data 1 is used for the first service; feature data 2 is used to indicate the third operation data obtained after the first processing of the first service, that is, the service that needs to be further processed by the downstream application cluster; cluster instance ID is used to indicate the ID of each application cluster in the first network; downstream cluster instance ID is used to indicate the ID of the downstream application cluster of each application cluster in the first network; and version number is used to indicate the current version of each mapping relationship.
[0150] See Figure 3 This is an example diagram of a routing relationship provided in an embodiment of this application. Figure 3 The blocks included in the main system are used to indicate the application clusters in the first network, and the blocks in the downstream system are used to indicate the downstream application clusters of the application clusters in the first network (which can also be understood as the downstream application clusters in the downstream system belonging to the second network).
[0151] like Figure 3 As shown, the first user initiates a login request (i.e., the user's login request) through the interface service on the login page of the first server 101. After successful verification, the first server 101 sends a front-end request (i.e., a request to obtain resources from the business management page of the target application cluster 102) to the target application cluster 102 in this system (i.e., the first network), and then enters the business management interface of the target application cluster 102. Each application cluster may include one or more downstream application clusters; the target application cluster 102 can send the operation data that needs to be processed by the downstream application cluster to the corresponding downstream application cluster for processing according to the operation requirements. The specific operation process can be referred to the detailed steps in the above embodiment, and will not be repeated here.
[0152] Thus, after the target application cluster 102 performs the first processing on the first service and obtains the third operation data, it can know which downstream application cluster needs to send the third operation data to for the second processing through the mapping relationship between the first service and the third operation data. Based on the ID of the downstream application cluster, it can query the service URL of the downstream application cluster in the second routing configuration, or directly query the routing information containing the third operation data from the second routing configuration to obtain the service URL of the corresponding downstream application cluster. This allows for quick querying of the service URL of the corresponding downstream application cluster, thereby improving the service processing efficiency of multiple homogeneous application clusters.
[0153] S110, The first user sends a request to the target application cluster 102 to switch to the application cluster 103 to which the second service belongs, and the target application cluster 102 receives the request.
[0154] For example, after the first user completes the processing of the first service on the target application cluster 102, if the first user wants to switch to another application cluster to process other services, he / she can enter the second service through the service information input box provided on the service management page of the target application cluster 102 or select the second service through the selection box and confirm to switch to the application cluster 103 to which the second service belongs, that is, send a request to the target application cluster 102 to switch to the application cluster 103 to which the second service belongs.
[0155] It is understood that the above methods of inputting business information through the business input box or selecting the business to be processed through the selection box are only one possible example of switching the business management page, and are not limited to this in practice.
[0156] S111, Target application cluster 102 queries the routing information of application cluster 103 to which the second service belongs from the second routing configuration.
[0157] For example, the target application cluster 102 queries the second routing configuration for routing information that matches the second service based on the second service input or selected by the first user, and obtains the service URL in the routing information.
[0158] Optionally, before the target application cluster 102 executes step S111, it may first obtain at least one service that has a mapping relationship with the first user, determine that the second service belongs to the at least one service, and if the second service does not belong to the at least one service, that is, the first user does not have the permission to manage the second service, then send an alarm message to the first user in the form of a pop-up window, indicating that the first user cannot operate the second service.
[0159] S112, the target application cluster 102 sends a request to the application cluster 103 to which the second service belongs to obtain the resources of the service management page, and the application cluster 103 to which the second service belongs receives the request.
[0160] Optionally, when the target application cluster 102 sends a request to the application cluster 103 to obtain resources from the business management page, it may also carry information such as the identity identifier of the first user for permission and identity verification, so that the application cluster 103 to which the second service belongs can re-verify the permission and identity of the first user, thereby improving the security of the system.
[0161] S113. The application cluster 103 to which the second service belongs sends the resources of the service management page to the target application cluster 102, and the target application cluster 102 receives the resources of the service management page.
[0162] Optionally, encrypted communication can also be used between the target application cluster 102 and the application cluster 103 to which the second service belongs, to further improve the security of this system.
[0163] S114. The target application cluster 102 displays the business management page of the application cluster 103 to which the second service belongs to the first user.
[0164] It is understandable that the method by which the first user performs business operations on the business management page of the application cluster 103 to which the second business belongs can be the same as the method by which the first user performs business operations on the business management page of the target application cluster 102, and will not be repeated here.
[0165] See Figure 4 A flowchart illustrating a multi-homogeneous application cluster processing service is provided as an example in this application embodiment. Figure 4 As shown, users can access the first server 101 through a cloud platform via terminal devices such as smartphones and computers, and send a login request to the unified login page provided by the first server 101. After successful verification by the first server 101, at least one service with a mapping relationship to the first user is determined based on the identity identifier in the login request. Then, the target application cluster 102 to which the at least one service belongs is determined according to the first routing configuration. Figure 4 (Regarding permission verification in the context of the system), the user is redirected to the business management page of the target application cluster 102, where the target application cluster 102 will handle the subsequent business processing. If the redirection is incorrect (e.g., the business the user needs to process does not belong to the target application cluster 102, or the user needs to be redirected to another application cluster after processing the business on the target application cluster 102), the target application cluster 102 can query the application cluster to which the user's business belongs based on the second routing configuration, and redirect the user to the business management page of that application cluster or return to the unified login page (i.e., ... Figure 4 (Redirection in the middle).
[0166] In this solution, the operation request from the first user is received through the business management page. After the operation on the first business is performed, the obtained operation data is fed back to the user. After the operation on the first business is completed, when the user requests to switch to the application cluster to which the second business belongs, it is not necessary to return to the login page of the initial first server and then redirect to the business management page of the application cluster to which the second business belongs. Instead, the application cluster to which the second business belongs can be directly queried from the second routing configuration of the target application cluster based on the second business entered by the user. This allows for direct switching from the business management page of the target application cluster to the business management page of the application cluster to which the second business belongs, improving the flexibility and speed of application cluster switching. This, in turn, can improve the business processing efficiency of multiple homogeneous clusters, reduce user waiting time, and enhance the user experience.
[0167] In one possible design, this application embodiment also provides a method for synchronizing the routing of multiple homogeneous application clusters and a first server in a first network.
[0168] In one possible embodiment, taking the update of the second route configuration for target application cluster 102 as an example, the method includes:
[0169] Receive an instruction from a second user to update the route configuration, the instruction to update the route configuration including at least one of modifying, adding, or deleting the second route configuration;
[0170] Update the second route configuration according to the instructions;
[0171] The updated second routing configuration is broadcast to the second application cluster.
[0172] The second application cluster consists of all application clusters other than the target application cluster among the multiple homogeneous application clusters in the first network.
[0173] For example, the second user is a professional technician with route configuration update permissions, who can update the route information of all application clusters in the second route configuration.
[0174] After receiving an instruction to update the routing configuration, if the instruction is to add or modify, the target application cluster 102 will add or modify the corresponding routing information in the second routing configuration and increment the version number in the updated routing information. If the instruction is to delete, it can use physical deletion according to preset rules, that is, delete the routing information to be deleted from the second routing configuration, or use logical deletion, that is, add a disable identifier to the routing information to be deleted in the second routing configuration.
[0175] After updating the second routing configuration, the updated configuration is broadcast to the second application cluster. If the number of routing information entries in the second routing configuration is small (or less than a preset threshold), all routing information in the second routing configuration can be broadcast to the second application cluster. This ensures more comprehensive and accurate synchronization of routing configurations across all application clusters in the first network. If the number of routing information entries in the second routing configuration is large (or greater than the preset threshold), only the updated routing information in the second routing configuration can be broadcast to the second application cluster. This improves the efficiency of routing synchronization. The update method can be selected based on actual needs.
[0176] In one possible embodiment, taking the target application cluster 102 receiving the third routing configuration of the third application cluster as an example, the routing synchronization method further includes:
[0177] Receive third routing configuration from the third application cluster; the third application cluster is any application cluster other than the target application cluster among the multiple homogeneous application clusters in the first network;
[0178] The second route configuration is compared with the third route configuration, and the route information that is different from the third route configuration is obtained from the second route configuration;
[0179] Update different routing information based on the routing information in the third-party routing configuration.
[0180] In one possible example, comparing the second route configuration with the third route configuration and retrieving route information from the second route configuration that differs from the third route configuration is implemented as follows:
[0181] Compare the routing information of each application cluster in the second routing configuration with the corresponding routing information of the application cluster in the third routing configuration;
[0182] Obtain routing information for at least one application cluster that differs from the third routing configuration from the second routing configuration;
[0183] Different routing configurations mean that at least one of the following in the second routing configuration for each application cluster is different from the corresponding routing information in the third routing configuration: service URL, business, service URL of downstream application cluster, and business of downstream application cluster.
[0184] For example, the routing information for each application cluster in the two routing configurations can be retrieved sequentially by name, ID, or other identifier used to identify the application cluster (usually an identity identifier that does not change). This allows for a one-to-one comparison to determine the routing information of application clusters whose routing information differs from that in the third routing configuration. This facilitates the rapid identification of routing information in the second routing configuration that needs updating, while avoiding information omissions.
[0185] Different routing information means that at least one data item in the routing information is different, namely the URL, business, service URL of the downstream application cluster, business of the downstream application cluster, as well as other data items of the routing information such as name, ID, name of the downstream application cluster, and ID of the downstream application cluster.
[0186] In one possible example, the second and third routing configurations also include the version number and update time of the routing information for each application cluster; updating different routing information based on the routing information in the third routing configuration includes:
[0187] For each application cluster in at least one application cluster, perform the following operations:
[0188] Obtain the second version number and second update time of the routing information for each application cluster in the second routing configuration, and the third version number and third update time of the routing information for each application cluster in the third routing configuration; if the second version number is less than the third version number, or the second version number is the same as the third version number and the second update time is earlier than the third update time, then update the routing information for each application cluster in the second routing configuration based on the routing information in the third routing configuration; if the second version number is greater than the third version number, or the second version number is the same as the third version number and the second update time is later than the third update time, then retain the routing information for each application cluster in the second routing configuration.
[0189] It is understandable that since the third application cluster sends the third routing configuration to all application clusters in the first network except the third application cluster in a broadcast manner, there may be broadcast transmission delay, network fluctuations, and there may also be situations where different technicians update the routing configuration simultaneously (or sequentially, but with a time interval less than the broadcast transmission delay) on different application clusters. Therefore, in order to ensure that the routing configuration on each application cluster is synchronized and is the latest routing configuration, this application embodiment introduces version number and update time as the judgment conditions for routing configuration update.
[0190] Specifically, if the second version number is less than the third version number, or if the second version number is the same as the third version number and the second update time is earlier than the third update time, that is, the last update of the second route configuration was earlier than the third route configuration, it can also be understood that the second route configuration is an older version of the route configuration compared to the third route configuration. Therefore, the second route configuration needs to be updated based on the third route configuration.
[0191] If the second version number is greater than the third version number, or if the second version number is the same as the third version number and the second update time is later than the third update time, it means that the last update of the second route configuration was later than the third route configuration. In other words, the second route configuration is a newer version of the route configuration compared to the third route configuration, and therefore, there is no need to update the second route configuration.
[0192] Optionally, in addition to the method in the above embodiment where the target application cluster 102 triggers route synchronization only after a second route configuration update occurs or after receiving a third route configuration from a third application cluster, a timed task can also be set on each application cluster to periodically trigger the timed task, so that each application cluster (or an application cluster with a specified high route configuration update frequency) sends its latest route configuration to other application clusters in the first network except itself, thereby achieving route synchronization of all application clusters in the first network; or the route synchronization can be manually triggered by technicians, etc., and the above route synchronization methods can be executed individually or in combination, and can be selected according to actual needs.
[0193] It is understood that the first network in this embodiment also supports the addition of independent application clusters (which are isomorphic to the application clusters in the first network). After joining the first network, these application clusters require routing configuration and synchronization by technical personnel. Similarly, the first network also supports the removal of application clusters belonging to the first network. After removal, the application cluster needs to delete its own routing configuration, and the remaining application clusters in the first network also need to synchronously delete the routing information related to the application cluster from their routing configurations. In this way, the capacity expansion or reduction of the first network can be flexibly and conveniently achieved.
[0194] In one possible design, this application embodiment also provides a method for each application cluster in the first network to provide external services, including external file transfer and interface service forwarding;
[0195] Specifically, the routing configuration for each application cluster also includes external service addresses, which can include file service addresses and API request addresses.
[0196] Since the data processing system in this embodiment does not include a bulky registry or configuration center, users may not be able to directly obtain the file service address or interface request address of the application cluster to which the file belongs when requesting file transfer or interface requests. For example, if the user does not provide information about the application cluster to which the file or interface belongs, the interface request can be received through the file service address of any application cluster in the first network. The application cluster can then parse the file or interface request to determine its membership, obtain the routing information of the application cluster from its routing configuration, and forward the file or interface request.
[0197] Furthermore, if the user provides information about the specific application cluster to which the file or interface request belongs, the file or interface request can be directly transmitted to the corresponding application cluster's file service address or interface request address. In this way, the normal operation of external services can be guaranteed, thereby improving the system's reliability.
[0198] The methods provided in the embodiments of this application have been described above. The apparatus provided in the embodiments of this application will be described below.
[0199] Based on the same technical concept, embodiments of this application provide a data processing apparatus. For example... Figure 5 As shown, the device 500 may include a receiving module 501, a processing module 502, and an acquisition module 503. The receiving module 501, the processing module 502, and the acquisition module 503 cooperate to perform some or all of the operations performed by the first server or the target application cluster in the above embodiments.
[0200] For example, when device 500 is applied to the first server,
[0201] The receiving module 501 is used to: receive a login request from a first user through a login page, wherein the login request includes the identity identifier of the first user;
[0202] Processing module 502 is configured to: query at least one service that has a mapping relationship with the first user based on the first user's identity identifier, wherein the mapping relationship is used to indicate the correspondence between the user's identity identifier and the operation permissions of the service; and query the target application cluster and routing information of the target application cluster in the first network to which at least one service belongs from the first routing configuration.
[0203] The acquisition module 503 is used to: obtain the resources of the business management page from the target application cluster based on the routing information of the target application cluster, and display the business management page of the target application cluster based on the obtained business management page resources.
[0204] Optionally, at least one service includes multiple services; each of the multiple services belongs to only one application cluster; when the processing module 502 queries the target application cluster in the first network to which at least one service belongs from the first routing configuration, it is specifically used to: query the application cluster in the first network to which each of the multiple services belongs from the first routing configuration; if the multiple services all belong to the same application cluster, then the application cluster to which the multiple services belong is taken as the target application cluster; if the multiple services belong to at least two application clusters, then a first query message is sent to the first user; the first query message includes multiple services, and the first query message is used to instruct the first user to select a target service to be processed from the multiple services; receive the target service input by the first user, and take the application cluster to which the target service belongs as the target application cluster.
[0205] Optionally, the first routing configuration includes routing information for each application cluster in the first network; the routing information for each application cluster includes: service URL and service; when the processing module 502 queries the target application cluster to which at least one service belongs and the routing information of the target application cluster from the first routing configuration, it is specifically used to: query the target routing information from the first routing configuration according to at least one service, wherein the service included in the target routing information matches at least one service; and obtain the service URL of the target application cluster included in the target routing information.
[0206] For example, when device 500 is applied to the target application cluster,
[0207] The receiving module 501 is configured to: receive a request from the first server to obtain resources from the business management page, and send the resources from the business management page to the first server; receive an operation request from the first user through the business management page, wherein the operation request is used to instruct to perform an operation on a first business that has a mapping relationship with the first user; the mapping relationship is used to indicate the correspondence between the user's identity and the operation permissions of the business;
[0208] Processing module 502 is used to: respond to an operation request, perform an operation on the first service, obtain the first operation data of the first service, and feed back the first operation data to the first user;
[0209] The receiving module 501 is also used to: receive a request from the first user to switch to the application cluster to which the second service belongs;
[0210] Processing module 502 is also used to: query the routing information of the application cluster to which the second service belongs from the second routing configuration;
[0211] The acquisition module 503 is used to: obtain the resources of the service management page from the application cluster to which the second service belongs based on the routing information of the application cluster to which the second service belongs, and display the service management page of the application cluster to which the second service belongs based on the obtained resources of the service management page; the second service is a service that has the mapping relationship with the first user but does not belong to the target application cluster.
[0212] Optionally, the first service may contain a third service that does not belong to the target application cluster. When the processing module 502 responds to the operation request and performs an operation on the first service, it is specifically used to: perform an operation on the services other than the third service in the first service to obtain second operation data; query the first application cluster to which the third service belongs and the routing information of the first application cluster from the second routing configuration; when the processing module 502 feeds back the first operation data to the first user, it is specifically used to: feed back the second operation data to the first user and send a prompt message to the first user, the prompt message being used to indicate that the third service belongs to the first application cluster; the receiving module 501 is also used to: receive a request from the first user to switch to the first application cluster; the obtaining module 503 is also used to: obtain the resources of the service management page from the first application cluster according to the routing information of the first application cluster, and display the service management page of the first service cluster based on the obtained resources of the service management page.
[0213] Optionally, the second routing configuration includes routing information for each application cluster in the first network; the routing information for each application cluster includes: service URL and service; when the processing module 502 obtains the first application cluster to which the third service belongs and the routing information of the first application cluster from the second routing configuration, it is specifically used to: query the first routing information from the second routing configuration according to the third service, and the service included in the first routing information matches the third service; obtain the URL of the first application cluster included in the first routing information.
[0214] Optionally, the operation includes a first operation and a second operation that need to be performed sequentially. The target application cluster can only execute the first operation, while the second operation needs to be executed by the downstream application clusters of the target application cluster. The routing information of each application cluster in the second routing configuration also includes: the service URL of the downstream application cluster and the business of the downstream application cluster. When the processing module 502 receives the first operation data of at least one business after performing an operation on at least one business in response to the operation request, it is specifically used to: perform the first operation on at least one business to obtain the third operation data; the third operation data is used to indicate the business that needs to be executed by the downstream application clusters of the target application cluster for the second operation; query the second routing information from the second routing configuration based on the third operation data, and the business included in the second routing information matches the third operation data; obtain the service URL of the target downstream application cluster included in the summary of the second routing information; send the third operation data and the operation request to the target downstream application cluster to perform the second operation based on the routing information of the target downstream application cluster, and receive the first operation data fed back from the target downstream application cluster.
[0215] Optionally, the receiving module 501 is further configured to: receive an instruction from the second user to update the routing configuration, the instruction to update the routing configuration including at least one of modifying, adding, or deleting the second routing configuration; the processing module is further configured to: update the second routing configuration according to the instruction; and broadcast the updated second routing configuration to the second application cluster; the second application cluster is all application clusters other than the target application cluster among the multiple homogeneous application clusters in the first network.
[0216] Optionally, the receiving module 501 is further configured to: receive a third routing configuration from a third application cluster; the third application cluster is any application cluster other than the target application cluster among multiple homogeneous application clusters in the first network; the processing module is further configured to: compare the second routing configuration with the third routing configuration, obtain routing information different from the third routing configuration from the second routing configuration, and update the different routing information based on the routing information in the third routing configuration.
[0217] Optionally, when comparing the second routing configuration with the third routing configuration and obtaining routing information different from the third routing configuration from the second routing configuration, the processing module 502 is specifically used to: compare the routing information of each application cluster in the second routing configuration with the routing information of the corresponding application cluster in the third routing configuration; obtain the routing information of at least one application cluster that is different from the third routing configuration from the second routing configuration; the difference is that at least one of the service URL, business, service URL of the downstream application cluster, and business of the downstream application cluster in the second routing configuration of the at least one application cluster is different from the corresponding routing information in the third routing configuration.
[0218] Optionally, the second and third routing configurations also include the version number and update time of the routing information for each application cluster; when the processing module 502 updates different routing information based on the routing information in the third routing configuration, it is specifically used for:
[0219] For each application cluster in at least one application cluster, perform the following operations:
[0220] Obtain the second version number and second update time of the routing information for each application cluster in the second routing configuration, and the third version number and third update time of the routing information for each application cluster in the third routing configuration; if the second version number is less than the third version number, or the second version number is the same as the third version number and the second update time is earlier than the third update time, then update the routing information for each application cluster in the second routing configuration based on the routing information in the third routing configuration; if the second version number is greater than the third version number, or the second version number is the same as the third version number and the second update time is later than the third update time, then retain the routing information for each application cluster in the second routing configuration.
[0221] It should be understood that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.
[0222] Based on the same technical concept, see [link / reference] Figure 6 This application also provides an electronic device 600, comprising:
[0223] At least one processor 601; and a communication interface 603 communicatively connected to the at least one processor 601; the at least one processor 601 causes the electronic device 600 to execute the method steps performed by the data processing system in the above method embodiment through the communication interface 603 by executing instructions stored in the memory 602.
[0224] Optionally, the memory 602 is located outside the electronic device 600.
[0225] Optionally, the electronic device 600 includes a memory 602 connected to the at least one processor 601, and the memory 602 contains instructions executable by the at least one processor 601. (See attached image) Figure 6 The dashed line indicates that the memory 602 is optional for the electronic device 600.
[0226] The at least one processor 601 and the memory 602 can be coupled through an interface circuit or integrated together, which is not limited here.
[0227] This application embodiment does not limit the specific connection medium between at least one processor 601, memory 602, and communication interface 603. This application embodiment... Figure 6 At least one processor 601, memory 602, and communication interface 603 are connected via a bus 604, and the bus is in Figure 6 The connections between other components are shown in bold and are for illustrative purposes only, not as limiting information. This bus section can be an address bus, data bus, control bus, etc. For ease of illustration, Figure 6 It is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0228] It should be understood that the processor mentioned in the embodiments of this application can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor, implemented by reading software code stored in memory.
[0229] For example, the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.
[0230] It should be understood that the memory mentioned in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which acts as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate Synchronous DRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct RAM (DR RAM).
[0231] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA, or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, the memory (storage module) can be integrated into the processor.
[0232] It should be noted that the memories described herein are intended to include, but are not limited to, these and any other suitable types of memories.
[0233] Based on the same technical concept, embodiments of this application also provide a computer-readable storage medium for storing instructions that, when executed, cause a computer to perform the method steps performed by any of the devices in the above method embodiments.
[0234] Based on the same technical concept, this application also provides a computer program product, including computer program code, which, when the computer program code is run on a computer, causes the method steps executed by any device in the above method embodiments to be implemented.
[0235] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0236] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0237] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0238] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0239] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A data processing method applied to a target application cluster, the target application cluster belonging to a first network; the first network comprising multiple homogeneous application clusters and a first server, characterized in that, The method includes: Receive a request from the first server to obtain resources of the business management page, and send the resources of the business management page to the first server; The business management page receives an operation request from a first user. The operation request is used to instruct an operation on a first business that has a mapping relationship with the first user. The mapping relationship is used to indicate the correspondence between the user's identity and the business's operation permissions. In response to the operation request, after performing the operation on the first service, the first operation data of the first service is obtained; the first operation data is then fed back to the first user. Receive a request from the first user to switch to the application cluster to which the second service belongs; The routing information of the application cluster to which the second service belongs is queried from the second routing configuration. Based on the routing information of the application cluster to which the second service belongs, the service management page resource is obtained from the application cluster to which the second service belongs. Based on the obtained service management page resource, the service management page of the application cluster to which the second service belongs is displayed. The second service is a service that has the mapping relationship with the first user but does not belong to the target application cluster.
2. The method as described in claim 1, characterized in that, The first service contains a third service that does not belong to the target application cluster; the step of performing the operation on the first service in response to the operation request includes: The operation is performed on the services in the first service other than the third service to obtain the second operation data; Query the first application cluster to which the third service belongs and the routing information of the first application cluster from the second routing configuration; The step of feeding back the first operation data to the first user also includes: The second operation data is fed back to the first user, and a prompt message is sent to the first user, the prompt message being used to indicate that the third service belongs to the first application cluster; The system receives a request from the first user to switch to the first application cluster. Based on the routing information of the first application cluster, it obtains the resources of the business management page from the first application cluster and displays the business management page of the first application cluster based on the obtained resources.
3. The method as described in claim 2, characterized in that, The second routing configuration includes routing information for each application cluster in the first network; the routing information for each application cluster includes: service URL and service; The step of querying the first application cluster to which the third service belongs and the routing information of the first application cluster from the second routing configuration includes: According to the third service, query the first routing information from the second routing configuration, and the service included in the first routing information matches the third service; obtain the URL of the first application cluster included in the first routing information.
4. The method as described in claim 3, characterized in that, The operation includes a first operation and a second operation that need to be performed sequentially. The target application cluster can only execute the first operation, while the second operation needs to be executed by the downstream application cluster of the target application cluster. The routing information for each application cluster in the second routing configuration also includes: the service URL of the downstream application cluster and the business of the downstream application cluster; In response to the operation request, after performing the operation on the first service, the first operation data of the first service is obtained, including: Perform the first operation on the first service to obtain third operation data; the third operation data is used to indicate the service that requires the downstream application cluster of the target application cluster to perform the second operation; Based on the third operation data, query the second routing information from the second routing configuration, wherein the services included in the second routing information match the third operation data; obtain the service URL of the target downstream application cluster included in the second routing information; The third operation data and the operation request are sent to the target downstream application cluster for the second operation based on the routing information of the target downstream application cluster, and the first operation data is received from the target downstream application cluster.
5. The method as described in claim 4, characterized in that, The method further includes: Receive an instruction from a second user to update the route configuration, wherein the instruction to update the route configuration includes at least one of modifying, adding, or deleting the second route configuration; Update the second route configuration according to the instructions; The updated second routing configuration is broadcast to the second application cluster; the second application cluster is all application clusters other than the target application cluster among the multiple homogeneous application clusters in the first network.
6. The method as described in claim 4, characterized in that, The method further includes: Receive a third routing configuration from a third application cluster; the third application cluster is any application cluster other than the target application cluster among the multiple homogeneous application clusters in the first network. The second routing configuration is compared with the third routing configuration, and routing information that is different from the third routing configuration is obtained from the second routing configuration; The different routing information is updated based on the routing information in the third routing configuration.
7. The method as described in claim 6, characterized in that, The step of comparing the second routing configuration with the third routing configuration and obtaining routing information different from the third routing configuration from the second routing configuration includes: The routing information of each application cluster in the second routing configuration is compared with the routing information of the corresponding application cluster in the third routing configuration; Obtain routing information for at least one application cluster that differs from the third routing configuration from the second routing configuration; the difference is that at least one of the service URL, service, service URL of the downstream application cluster, and service of the downstream application cluster in the second routing configuration of the at least one application cluster is different from the corresponding routing information in the third routing configuration.
8. The method as described in claim 7, characterized in that, The second and third routing configurations also include the version number and update time of the routing information for each application cluster; updating the different routing information based on the routing information in the third routing configuration includes: For each of the at least one application cluster, perform the following operations: Obtain the second version number and second update time of the routing information of each application cluster in the second routing configuration, and the third version number and third update time of the routing information of each application cluster in the third routing configuration; If the second version number is less than the third version number, or if the second version number is the same as the third version number and the second update time is earlier than the third update time, then the routing information of each application cluster in the second routing configuration is updated based on the routing information in the third routing configuration. If the second version number is greater than the third version number, or if the second version number is the same as the third version number and the second update time is later than the third update time, then the routing information of each application cluster in the second routing configuration is retained.
9. A data processing apparatus applied to a target application cluster, the target application cluster belonging to a first network; the first network comprising multiple homogeneous application clusters and a first server, characterized in that, The device includes: The receiving module is configured to: receive a request from the first server to obtain resources of the business management page, and send the resources of the business management page to the first server; receive an operation request from the first user through the business management page, wherein the operation request is used to instruct to perform an operation on a first business that has a mapping relationship with the first user; wherein the mapping relationship ultimately indicates the correspondence between the user's identity and the operation permissions of the business; The processing module is configured to: respond to the operation request, perform the operation on the first service, obtain the first operation data of the first service, and feed back the first operation data to the first user; The receiving module is further configured to: receive a request from the first user to switch to the application cluster to which the second service belongs; The processing module is also used to: query the routing information of the application cluster to which the second service belongs from the second routing configuration; The acquisition module is configured to: acquire the resources of the service management page from the application cluster to which the second service belongs based on the routing information of the application cluster of the second service, and display the service management page of the application cluster to which the second service belongs based on the acquired resources of the service management page; the second service is a service that has the mapping relationship with the first user but does not belong to the target application cluster.
10. A data processing system applied to a first network, the first network comprising multiple homogeneous application clusters and a first server, characterized in that, The system includes the first server, the target application cluster, and the application cluster to which the second service belongs; The first server is configured to: receive a login request from a first user via a login page, wherein the login request includes the identity identifier of the first user; Based on the first user's identity identifier, query at least one service that has a mapping relationship with the first user, wherein the mapping relationship is used to indicate the correspondence between the user's identity identifier and the service's operation permissions; Query the first routing configuration to obtain the target application cluster in the first network to which the at least one service belongs, and the routing information of the target application cluster; Based on the routing information of the target application cluster, obtain the resources of the service management page from the target application cluster; The target application cluster is configured to: receive a request from the first server to obtain resources of the business management page, and send the resources of the business management page to the first server; The first server is also used to: display the business management page of the target application cluster based on the resources of the acquired business management page; The target application cluster is also used to: receive an operation request from a first user through the business management page, the operation request being used to instruct an operation on a first business that has a mapping relationship with the first user; The mapping relationship is used to indicate the correspondence between a user's identity and the operation permissions of a service; In response to the operation request, after performing the operation on the first service, the first operation data of the first service is obtained; The first operation data is fed back to the first user; Receive a request from the first user to switch to the application cluster to which the second service belongs, query the routing information of the application cluster to which the second service belongs from the second routing configuration, and obtain the resources of the service management page from the application cluster to which the second service belongs based on the routing information of the application cluster to which the second service belongs; The application cluster to which the second service belongs is configured to: receive a request from the target application cluster to obtain resources of the service management page, and send the resources of the service management page of the application cluster to which the second service belongs to the target application cluster; The target application cluster is also used to: display the business management page of the application cluster to which the second service belongs based on the resources of the obtained business management page; the second service is a service that has the mapping relationship with the first user but does not belong to the target application cluster.
11. An electronic device, characterized in that, include: Memory, used to store program instructions; A processor is configured to invoke program instructions stored in the memory and execute the steps included in the method as described in any one of claims 1-8 according to the obtained program instructions.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, the computer program including program instructions that, when executed by a computer, cause the method as described in any one of claims 1-8 to be implemented.
13. A computer program product, characterized in that, The computer program product includes: computer program code, which, when run on a computer, causes the computer to perform the method described in any one of claims 1-8.