Data processing method, device and system

Through the first server querying and obtaining the routing information of the target application cluster based on the user's identity, the service management page is directly displayed, which solves the problem that users need to manually enter the page address, and improves the business processing efficiency and user experience.

CN119544447AActive Publication Date: 2025-02-28CHINA CONSTRUCTION BANK +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411615164.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-02-28
Estimated Expiration
2044-11-13

AI Technical Summary

Technical Problem

In the multi-isomorphic application cluster deployment scenario, users need to manually find and enter the business management page address of the application cluster where the service data is located, resulting in inefficiency and poor user experience.

Method used

The first server receives the user's login request, querys the service with a mapping relationship with the user based on the user's identity, and querys the routing information of the target application cluster from the first routing configuration, and directly obtains and displays the service management page of the target application cluster.

Benefits of technology

The user does not need to manually enter the business management page address, which simplifies the user's operation process and improves the business processing efficiency and user experience of multi-isomorphic application clusters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119544447A_ABST
    Figure CN119544447A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method, device and system, which are applied to the technical field of data processing and are used for improving the service processing efficiency of a multi-isomorphic application cluster and improving the user experience. The method comprises the following steps: receiving a login request of a first user through a login page, wherein the login request comprises an identity label of the first user; querying at least one service having a mapping relationship with the first user according to the identity identifier of the first user, wherein the mapping relationship is used for indicating a corresponding relationship between the identity identifier of the user and the operation authority of the service; obtaining a target application cluster in the first network to which the at least one service belongs and routing information of the target application cluster from first routing configuration; and obtaining resources of a business management page from the target application cluster according to the routing information of the target application cluster, and displaying the business management page of the target application cluster based on the obtained resources of the business management page.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a data processing method, device and system. Background Art

[0002] In the scenario of multiple homogeneous application cluster deployment, such as in a large financial institution, multiple data centers are deployed, each data center is deployed with a set of homogeneous application clusters, each application cluster has independent service capabilities, and adopts a completely independent multi-active deployment. When a user needs to manage the business data for which he has permission, he needs to find and enter the address of the business management page of the application cluster where the business data is located, which is inefficient and affects the user experience.

[0003] In view of this, how to improve the business processing efficiency of multiple homogeneous application clusters and enhance user experience is an urgent problem that needs to be solved. Summary of the invention

[0004] The present application provides a data processing method, device and system for improving the business processing efficiency of multiple homogeneous application clusters and enhancing user experience.

[0005] In a first aspect, the present application provides a data processing method, which is applied to a first server, the first server belongs to a first network, and the first network also includes multiple isomorphic application clusters; the method includes:

[0006] receiving a login request from a first user through a login page, wherein the login request includes an identity identifier of the first user;

[0007] Querying at least one service that has a mapping relationship with the first user according to the identity of the first user, where the mapping relationship is used to indicate a corresponding relationship between the identity of the user and the operation authority of the service;

[0008] Querying a target application cluster in a first network to which at least one service belongs and routing information of the target application cluster from a first routing configuration;

[0009] According to the routing information of the target application cluster, resources of the service management page are obtained from the target application cluster, and the service management page of the target application cluster is displayed based on the obtained resources of the service management page.

[0010] In this solution, when the first server receives a login request from the first user, it can determine at least one business for which the first user has operation authority based on the identity identifier of the first user in the login request. The user does not need to manually input the business to be operated, which can improve the user experience. According to at least one business, the resources of the business management page of the target application cluster to which the at least one business belongs are directly queried from the first routing configuration and the business management page is displayed. There is no need to set up a registration center and obtain the routing information of the target application cluster through the registration center. The routing information of the target cluster can be queried directly through the locally stored first routing configuration. The deployment is simpler and more flexible, and page jumps can be quickly implemented, thereby improving the business 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 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 multiple services all belong to the same application cluster, then taking the application cluster to which the multiple services belong as the target application cluster; if multiple services belong to at least two application clusters, sending a first inquiry message to the first user; the first inquiry message includes multiple services, and the first inquiry message is used to instruct the first user to select a target service to be processed from 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 business that has a mapping relationship with the first user belongs to the same application cluster, the resources of the business management page can be directly obtained from the application cluster, and the business management page of the application cluster can be displayed, that is, the page jump is realized; when at least one business that has a mapping relationship with the first user belongs to at least two application clusters, in order to ensure that the business management page that jumps to is the business management page of the application cluster to which the business that the user wants to operate belongs, an inquiry message can be initiated to the user, and the corresponding business management page jump is performed according to the user's choice, thereby avoiding page jump errors and the need for redirection, thereby improving the business processing efficiency of multiple isomorphic application clusters.

[0013] Optionally, the first routing configuration includes routing information of each application cluster in the first network; the routing information of each application cluster includes: service URL and business; querying the target application cluster to which at least one business belongs and the routing information of the target application cluster from the first routing configuration, including: querying the target routing information from the first routing configuration according to at least one business, and the business included in the target routing information matches at least one business; obtaining the service URL of the target application cluster included in the target routing information.

[0014] In this method, the first routing configuration is generated by abstracting the business data (and the service URL and business of each application cluster), and the target routing information that matches the business included in the first routing configuration can be quickly obtained according to at least one business, and then 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. In this way, there is no need to set up a registration center, obtain the target routing information from the registration center, wait for the feedback from the registration center, and then obtain the resources of the business management page of the target application cluster according to the target routing information fed back by the registration center, which can improve the business processing efficiency of multiple isomorphic application clusters, reduce the waiting time of users, and thus improve the user experience.

[0015] In a second aspect, an embodiment of the present application provides a data processing method, which is applied to a target application cluster, where the target application cluster belongs to a first network; the first network includes multiple isomorphic application clusters and a first server; the method includes:

[0016] receiving a request from the first server for obtaining resources of the service management page, and sending the resources of the service management page to the first server;

[0017] receiving an operation request from a first user through a service management page, where the operation request is used to instruct to operate a first service that has a mapping relationship with the first user; the mapping relationship is used to indicate a corresponding relationship between a user's identity and an operation authority of the service;

[0018] In response to the operation request, after performing the operation on the first service, first operation data of the first service is obtained; and the first operation data is fed back to the first user;

[0019] receiving a request from a first user to switch to an application cluster to which a second service belongs;

[0020] The routing information of the application cluster to which the second business belongs is queried from the second routing configuration, resources of the business management page are obtained from the application cluster to which the second business belongs according to the routing information of the application cluster to which the second business belongs, and the business management page of the application cluster to which the second business belongs is displayed based on the obtained resources of the business management page; the second business is a business that has the mapping relationship with the first user but does not belong to the target application cluster.

[0021] In this solution, an operation request of a first user is received through a business management page, and after an operation is performed on the first business, the obtained first operation data is fed back to the user; after the operation on the first business is completed, when a request from the user to switch to an application cluster to which a second business belongs is received, there is no need 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. The application cluster to which the second business belongs can be directly queried from the second routing configuration of the target application cluster according to the second business input by the user, and then direct switching from the business management page of the target application cluster to querying the business management page of the application cluster to which the second business belongs can be achieved, thereby improving the flexibility and speed of application cluster switching, thereby improving the business processing efficiency of multiple isomorphic application clusters, reducing user waiting time, and enhancing user experience.

[0022] Optionally, there is a third business in the first business that does not belong to the target application cluster; in response to the operation request, an operation is performed on the first business, including: performing an operation on the business other than the third business in the first business to obtain second operation data; querying the first application cluster to which the third business 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, also including: feeding back the second operation data to the first user, and sending a prompt message to the first user, the prompt message is used to prompt that the third business belongs to the first application cluster; receiving a request from the first user to switch to the first application cluster, and according to the routing information of the first application cluster, obtaining resources of the business management page from the first application cluster, and displaying the business management page of the first business cluster based on the obtained resources of the business management page.

[0023] In this method, when there is a third business that does not belong to the target application cluster in the first business, operations are performed on other businesses except the third business, and the obtained second operation data is fed back to the first user and the first user is prompted with the first application cluster to which the third business belongs, so that the user can be informed of the business operation status in a timely manner; when the first user's request to switch to the first application cluster is received, the business management page can be directly switched according to the routing information of the first application cluster, which reduces the user waiting time, can improve the business processing efficiency of multiple homogeneous application clusters, and enhance the user experience.

[0024] Optionally, the second routing configuration includes routing information of each application cluster in the first network; the routing information of each application cluster includes: service URL, business; querying the first application cluster to which the third business 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 business, and the business included in the first routing information matches the third business; obtaining the URL of the first application cluster included in the first routing information.

[0025] In this method, the second routing configuration is generated by abstracting the business data (and the service URL and business of each application cluster), and the first routing information that matches the business included in the second routing configuration can be quickly obtained according to the third business, and then the service URL of the first application cluster is obtained, which can quickly realize the acquisition and display of resources of the business management page of the first application cluster. There is no need to set up a registration center, obtain the first routing information from the registration center, wait for the feedback of the registration center, and then obtain the resources of the business management page of the first application cluster according to the first routing information fed back by the registration center, which can improve the business processing efficiency of multiple isomorphic application clusters, reduce the waiting time of users, and thus improve the user experience.

[0026] Optionally, the operation includes a first operation and a second operation that need to be performed in sequence, the target application cluster can only perform the first operation, and the second operation needs to be performed by a downstream application cluster 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, 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 requires the downstream application cluster of the target application cluster to perform the second operation; querying the second routing information from the second routing configuration according to the third operation data, and the business included in the second routing information matches the third operation data; obtaining the service URL of the target downstream application cluster included in the second routing information summary; sending the third operation data and the operation request to the target downstream application cluster according to the routing information of the target downstream application cluster to perform the second operation, and receiving the first operation data fed back from the target downstream application cluster.

[0027] In this method, if the operation requires the target application cluster to perform a first operation and requires 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, and then the third operation data and the operation request can be directly sent to the target downstream application cluster for the second operation. There is no need to obtain the routing information of the target downstream application cluster from the registration center, thereby improving the business processing efficiency of multiple homogeneous application clusters and thus improving the user experience.

[0028] Optionally, the method also includes: receiving an instruction to update the routing configuration from the second user, the instruction to update the routing configuration including performing at least one of modification, addition, and deletion on the second routing configuration; updating the second routing configuration according to the instruction; sending the updated second routing configuration to the second application cluster via broadcast; the second application cluster is all application clusters except the target application cluster among the multiple isomorphic 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 except the target application cluster in the first network are notified by broadcasting to achieve routing configuration synchronization of all application clusters in the first network, so that each subsequent application cluster can quickly realize page jump through the synchronized routing configuration, thereby improving the reliability of this application.

[0030] Optionally, the method also includes: receiving 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 isomorphic application clusters in the first network; 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; and updating 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, so that each subsequent application cluster can quickly achieve page jumps through the synchronized routing configuration, which can improve 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 routing information of the corresponding application cluster in the third routing configuration; obtaining routing information of at least one application cluster 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 of each application cluster in the second routing configuration 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, so as 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 routing configuration and the third routing configuration also include a version number and an update time of routing information of each application cluster; and updating different routing information based on the routing information in the third routing configuration includes:

[0035] For each application cluster in at least one application cluster, perform the following operations:

[0036] Obtain the second version number and the second update time of the routing information of each application cluster in the second routing configuration, and the third version number and the 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 the second version number is the same as the third version number and the second update time is earlier than the third update time, update the routing information of 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, retain the routing information of each application cluster in the second routing configuration.

[0037] In this method, whether to update the second routing configuration is determined based on the version numbers and update times in the second routing configuration and the third routing configuration. This can avoid the situation where the latest version of the routing configuration is replaced by the old version of the routing configuration due to factors such as broadcast transmission delays, network fluctuations, and different technicians updating the routing configuration at the same time on different application clusters. This ensures that the second routing configuration is the latest version of the routing configuration, which can improve the reliability of the present application.

[0038] In a third aspect, an embodiment of the present application provides a data processing device, which is applied to a first server, the first server belongs to a first network, and the first network also includes a plurality of isomorphic application clusters; the device method includes:

[0039] The receiving module is used to: receive a login request from a first user through a login page, wherein the login request includes an 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 according to the identity of the first user, where the mapping relationship is used to indicate the corresponding relationship between the identity of the user and the operation authority of the service; query 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 from the first routing configuration;

[0041] The acquisition module is used to: acquire the resources of the business management page from the target application cluster according to the routing information of the target application cluster, and display the business management page of the target application cluster based on the acquired resources of the business management page.

[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 multiple services all belong to the same application cluster, then the application cluster to which the multiple services belong is used as the target application cluster; if multiple services belong to at least two application clusters, then a first inquiry message is sent to the first user; the first inquiry message includes multiple services, and the first inquiry message is used to instruct the first user to select a target service to be processed from 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 of each application cluster in the first network; the routing information of each application cluster includes: service URL and business; when the processing module queries the target application cluster to which at least one business 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 business, and the business included in the target routing information matches at least one business; obtain the service URL of the target application cluster included in the target routing information.

[0044] In a fourth aspect, an embodiment of the present application provides a data processing device, which is applied to a target application cluster, where the target application cluster belongs to a first network; the first network includes a plurality of isomorphic application clusters and a first server; the device includes:

[0045] The receiving module is used 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, the operation request is used to indicate an operation on a first business that has a mapping relationship with the first user; the mapping relationship is used to indicate a corresponding relationship between the user's identity and the business operation authority;

[0046] The processing module is used to: in response to the operation request, perform an operation on the first service to obtain first operation data of the first service; and feed back the first operation data to the first user;

[0047] The receiving module is further 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 further used to: query routing information of the application cluster to which the second service belongs from the second routing configuration;

[0049] An acquisition module is used to: obtain resources of a business management page from the application cluster to which the second business belongs according to the routing information of the application cluster to which the second business belongs, and display the business management page of the application cluster to which the second business belongs based on the acquired resources of the business management page; the second business is a business that has the mapping relationship with the first user but does not belong to the target application cluster.

[0050] Optionally, there is a third business in the first business that does not belong to the target application cluster; when the processing module performs an operation on the first business in response to the operation request, it is specifically used to: perform an operation on the business other than the third business in the first business to obtain second operation data; query the first application cluster to which the third business 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 is used to prompt that the third business 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 acquisition module is also used to: obtain resources of the business management page from the first application cluster according to the routing information of the first application cluster, and display the business management page of the first business cluster based on the acquired resources of the business management page.

[0051] Optionally, the second routing configuration includes routing information of each application cluster in the first network; the routing information of each application cluster includes: service URL, business; when the processing module obtains the first application cluster to which the third business 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 business, and the business included in the first routing information matches the third business; 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 in sequence, the target application cluster can only perform the first operation, and the second operation needs to be performed by the downstream application cluster 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 obtains 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 third operation data; the third operation data is used to indicate the business that requires the downstream application cluster of the target application cluster to perform the second operation; query the second routing information from the second routing configuration according to 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 second routing information summary; send the third operation data and the operation request to the target downstream application cluster according to the routing information of the target downstream application cluster to perform the second operation, and receive the first operation data fed back from the target downstream application cluster.

[0053] Optionally, the receiving module is also used to: receive an instruction to update the routing configuration from the second user, the instruction to update the routing configuration includes performing at least one of modification, addition, and deletion on the second routing configuration; the processing module is also used to: update the second routing configuration according to the instruction; send the updated second routing configuration to the second application cluster via broadcast; the second application cluster is all application clusters except the target application cluster among the multiple isomorphic application clusters in the first network.

[0054] Optionally, the receiving module is also used 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 isomorphic application clusters in the first network; the processing module is also used to: compare the second routing configuration with the third routing configuration, and obtain routing information different from the third routing configuration from the second routing configuration; and update 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 different from the third routing configuration from the second routing configuration, it 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 routing information of at least one application cluster 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 of each application cluster in the second routing configuration is different from the corresponding routing information in the third routing configuration.

[0056] Optionally, the second routing configuration and the third routing configuration also include a version number and an update time of routing information of 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 to:

[0057] For each application cluster in at least one application cluster, perform the following operations:

[0058] Obtain the second version number and the second update time of the routing information of each application cluster in the second routing configuration, and the third version number and the 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 the second version number is the same as the third version number and the second update time is earlier than the third update time, update the routing information of 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, retain the routing information of each application cluster in the second routing configuration.

[0059] In a fifth aspect, an embodiment of the present application provides a data processing system, which is applied to a first network, wherein the first network includes a plurality of isomorphic application clusters and a first server; the system includes the first server, a target application cluster, and an application cluster to which a second service belongs;

[0060] The first server is used to: receive a login request from a first user through a login page, wherein the login request includes an identity identifier of the first user; query at least one service that has a mapping relationship with the first user according to the identity identifier of the first user, wherein the mapping relationship is used to indicate a corresponding relationship between the user's identity identifier and the operation authority of the service; query a target application cluster in a first network to which at least one service belongs and routing information of the target application cluster from a first routing configuration; and obtain resources of a service management page from the target application cluster according to the routing information of the target application cluster;

[0061] The target application cluster is used to: receive a request from the first server to obtain resources of the service management page, and send the resources of the service management page to the first server;

[0062] The first server is further configured to: display the business management page of the target application cluster based on the acquired business management page resources;

[0063] The target application cluster is also used to: receive an operation request from a first user through a business management page, the operation request is used to indicate an operation on a first business that has a mapping relationship with the first user; the mapping relationship is used to indicate a corresponding relationship between a user's identity and the business's operation authority; in response to the operation request, after performing an operation on the first business, obtain first operation data of the first business; feed back the first operation data to the first user; receive a request from the first user to switch to an application cluster to which a second business belongs; query routing information of the application cluster to which the second business belongs from a second routing configuration, and obtain resources of a business management page from the application cluster to which the second business belongs according to the routing information of the application cluster to which the second business belongs;

[0064] The application cluster to which the second service belongs is used to: receive a request for obtaining resources of a service management page sent by a target application cluster, 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 further used to: display the service management page of the application cluster to which the second service belongs based on the acquired service management page resources; the second service is a service that has the mapping relationship with the first user but does not belong to the target application cluster.

[0066] In a sixth aspect, an embodiment of the present application provides an electronic device comprising at least one processor, which is used to implement a method in the first aspect or any optional implementation of the first aspect or a method in the second aspect or any optional implementation of the second aspect when executing a computer program stored in a memory.

[0067] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which is used to store instructions. When the instructions are executed, the method in the first aspect or any optional implementation of the first aspect or the method in the second aspect or any optional implementation of the second aspect is implemented.

[0068] In an eighth aspect, an embodiment of the present application provides a computer program product, comprising a computer program code, which, when executed on a computer, enables the method in the first aspect or any optional implementation of the first aspect or the method 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 the embodiments of the present application can be correspondingly explained by the technical effects or advantages of one or more corresponding technical solutions provided in the first and second aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] Figure 1 A data processing system structure diagram provided for an embodiment of the present application;

[0071] Figure 2 A flowchart of a data processing method provided in an embodiment of the present application;

[0072] Figure 3 An example diagram of a routing relationship provided in an embodiment of the present application;

[0073] Figure 4 An example diagram of a process for processing services by a multi-homogeneous application cluster provided in an embodiment of the present application;

[0074] Figure 5 A structural diagram of a data processing device provided in an embodiment of the present application;

[0075] Figure 6 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0076] In the technical solution of this application, the collection, dissemination, and use of data are in compliance with the requirements of relevant national laws and regulations.

[0077] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0078] The technical solution of the present application is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present application and the specific features in the embodiments are detailed descriptions of the technical solution of the present application, rather than limitations on the technical solution of the present application. In the absence of conflict, the embodiments of the present 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 embodiment of the present application refers to two or more. "First", "second" etc. in the embodiment of the present application are used to distinguish different objects, rather than to describe a specific order. The term "and / or" in the embodiment of the present application is merely a kind of association relationship describing associated objects, indicating that three relationships may exist, for example, A and / or B, which may represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "includes" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. The module in the embodiment of the present application refers to a part with independent functions in a software system.

[0080] When the system load capacity exceeds the design capacity, the system itself is limited in expansion because not all deployment units are dynamically expandable in the construction of the system itself. For example, only a single database design is used. For this scenario, a safer expansion plan is to add another set of homogeneous deployment (i.e., homogeneous application clusters). Each additional set of homogeneous deployment can double the capacity of the original design. Incorporating new business data into the newly added application cluster can reduce operational risks. This is a deployment scenario for multiple homogeneous application clusters. In addition, there are many similar deployment scenarios for multiple homogeneous application clusters. For example, in large and medium-sized organizations, there may be multiple data centers. In order to achieve multi-data center multi-activity, a set of homogeneous application clusters is deployed in each data center, and each application cluster has the ability to provide independent services.

[0081] Normally, each homogeneous application cluster is independent of each other and provides independent services. The data between them does not interact with each other, and the external service addresses are different. Users need to distinguish which application cluster to use. This method is simple to deploy, but it is not very user-friendly. Users need to know the application cluster where their associated business is located and perform transactions or operations on the application cluster. It is impossible for users to enter different homogeneous application clusters for business management according to different rules (such as the correspondence between identity identifiers and businesses) without being aware of associated businesses, which affects the user experience; operation and management are relatively complex, and the operation and management costs of adding a set of homogeneous application clusters are multiplied; and complete independence also means that business data cannot be fully integrated after slicing. Alternatively, a typical multi-site multi-active solution is adopted to forward transaction messages to different homogeneous application clusters according to feature data (such as multiple legal person identifiers or channel identifiers), and a registration center or configuration center is used to find transaction routes through the registration center or configuration center. This method is more flexible, but more complex to deploy. It requires an independent registration center or configuration center to solve routing problems. It is mainly used in large application system groups in multiple data centers. It has certain limitations, such as long user waiting time, reduced business processing efficiency and user experience; and the data consistency of the system can only be guaranteed through the synchronization mechanism at the database level.

[0082] In view of this, a technical solution of an embodiment of the present application is proposed, in which a unified login page is provided by the first server in the first network to receive a login request from a user, at least one service that has a mapping relationship with the user is determined according to the identity identifier in the login request of the user, and the routing information of the target application cluster in the first network to which 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 according to the routing information and display the service management page of the target application cluster to the user, without the need for the user to query or memorize the address of the service management page of the target application cluster to which at least one service belongs, thereby improving the user experience; and there is no need to set up a registration center, and the address of the target application cluster is obtained through the registration center, and the resources of the service management page are obtained from the target application cluster after waiting for feedback from the registration center, which can reduce the deployment difficulty, reduce the waiting time, and thus improve the service processing efficiency of multiple isomorphic application clusters.

[0083] The data processing method provided in the embodiment of the present application can be applied to any network including multiple isomorphic application clusters.

[0084] See also Figure 1, is a data processing system provided in an embodiment of the present application, taking the application in the first network as an example, the first network includes multiple isomorphic application clusters and a first server, and the system includes a first server 101, a target application cluster 102, and an application cluster 103 to which a 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 a login request from a user, determine a service to which the user has authority based on the login request, query routing information of a target application cluster 102 to which the service belongs from a local routing configuration based on the service, and jump to a service management page of the target application cluster 102;

[0086] The first server 101 may be a single homogeneous server (or cluster) in the first network that is only used to provide a login page, or may be any application cluster among a plurality of homogeneous application clusters included in the first network, that is, any application cluster may provide the login page and also have a service management function;

[0087] The target application cluster 102 is used to provide a service management page for users to operate services in the target application cluster 102, and a service management function, which 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 service 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 a service management page and service management functions for users to operate services in the application cluster 103 to which the second service belongs, and also has the same page jump function as the target application cluster 102 .

[0089] See also Figure 2 , is a flow chart of a data processing method provided in an embodiment of the present application, which is applied to Figure 1 Taking the system shown in FIG. 1 as an example, the method includes steps S101 to S114:

[0090] S101: A first user initiates a login request to a login page of a first server 101, and the first server 101 receives the login request of the first user through the login page.

[0091] The login request includes the identity of the first user, which may include the user's work number, the user's code, etc. The login request also includes the user's login account and password, etc., which are not limited in the present embodiment of the application.

[0092] The first user may initiate a login request to the login page of the first server 101 through a terminal device (eg, a computer, a mobile phone, etc.).

[0093] S102: The first server 101 queries at least one service that has a mapping relationship with the first user according to the identity identifier of the first user.

[0094] The mapping relationship is used to indicate the corresponding relationship between the user's identity and the business operation authority.

[0095] It can be understood that a user can have the operation authority for one or more services, that is, the relationship between the user's identity and the service can be a one-to-one or a one-to-many relationship.

[0096] Exemplarily, user groups can be set to distinguish roles, permissions, etc. of different users; resource groups can be set to indicate different businesses, with one resource group indicating one business; and data groups can be set to store all data of each business. There is a mapping relationship between user groups and resource groups, that is, there may be a mapping relationship between users in a user group and one or more resource groups, and there is also a corresponding relationship between resource groups and data groups, with one resource group corresponding to one data group, and all data of the business indicated by the corresponding resource group is stored in the data group.

[0097] When the first server 101 receives a login request from the first user, it obtains the identity of the first user included in the login request, confirms the user group to which the first user belongs based on the identity, and determines one or more resource groups that have a mapping relationship with the user group based on a mapping relationship between the user group and the resource group, thereby determining that there is a mapping relationship between the first user and at least one business of the one or more resource groups.

[0098] In actual applications, you can set the roles and permissions of different users according to actual needs, such as the user's position, department, etc., as well as set 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 identification and other information in the user's login request, and only executes step S102 after the verification is passed; if the verification fails, the user is prompted with warning 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 can be understood that the first routing configuration is a routing configuration stored in the local path of the first server 101 .

[0102] In a possible example, the first routing configuration includes routing information of each application cluster in the first network; the routing information of each application cluster includes: a service URL and a service;

[0103] The specific implementation of step S103 may be: querying target routing information from the first routing configuration according to at least one service, the service included in the target routing information matches the at least one service; and obtaining the service URL of the target application cluster included in the target routing information.

[0104] In this way, the first routing configuration is generated by abstracting the business data (and the service URL and business of each application cluster). According to at least one business, the target routing information that matches the included business and at least one business can be quickly obtained from the first routing configuration, and then the service URL of the target application cluster can be obtained, thereby quickly realizing the acquisition and display of resources on the business management page of the target application cluster.

[0105] Optionally, the routing information of each application cluster in the first routing configuration also includes the ID, name, file service URL and version number of the routing information of each application cluster. The following Table 1 is an example of a first routing configuration provided in an embodiment of the present application.

[0106] Table 1 Example of the first routing configuration

[0107]

[0108] Among them, the example ID of this system in Table 1 is used to indicate the ID of each application cluster in the first network; the instance name of this system is used to indicate the name of each application cluster in the first network; the service URL of this instance is used to indicate the URL of the business management page provided by each application cluster in the first network for serving and operating the business of the cluster by users; the file service URL of this instance is used to indicate the URL provided by each application cluster in the first network for external file transfer service; the version number is the version of the routing information of each application cluster in the first network.

[0109] In a 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 may also be:

[0110] Querying the application cluster in the first network group to which each service in the plurality of services belongs from the first routing configuration;

[0111] If multiple services belong to the same application cluster, the application cluster to which the multiple services belong is used as the target application cluster 102;

[0112] If multiple services belong to at least two application clusters, a first inquiry message is sent to the first user; the first inquiry message includes multiple services, and the first inquiry message 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 used as the target application cluster 102.

[0113] Exemplarily, taking at least one service including service A, service B, and service C as an example, the routing information corresponding to service A, service B, and service C are queried in the first routing configuration respectively, and the application clusters to which service A, service B, and service C respectively belong are determined from the corresponding routing information;

[0114] If business A, business B, and business C all belong to cluster A, cluster A is used as the target application cluster;

[0115] If business A belongs to cluster B, and business B and business C belong to cluster C, the first server 101 cannot determine which application cluster should be used as the target application cluster 102. At this time, it is necessary to send an inquiry 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, and indicating the user to select one of the businesses; according to the business selected by the user, the application cluster to which the business belongs is used as the target application cluster 102.

[0116] It can be understood that the above specific method of determining the target application cluster and sending the inquiry message by the first user is only a possible example and is not limited thereto.

[0117] S104: The first server 101 sends a resource request for obtaining a service management page to the target application cluster 102, and the target application cluster 102 receives the resource request for obtaining a service management page.

[0118] Exemplarily, the first server 101 sends a resource request for acquiring a service management page to the target application cluster 102 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 for obtaining a business management page to the target application cluster 102, it may also carry the login request of the first user (or the identity identifier and / or login account and password in the login request). The target application cluster 102 performs a secondary verification on 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 may also be encrypted to further ensure the security of the system.

[0121] S105 . The target application cluster 102 sends the resource of the service management page to the first server 101 , and the first server 101 receives the resource of the service management page.

[0122] S106 . The first server 101 displays the service management page of the target application cluster 102 to the first user.

[0123] It can be understood that when the first server 101 receives the login request of the first user, it can determine at least one business for which the first user has operation authority based on the identity identifier of the first user in the login request. The user does not need to manually enter the business to be queried or the URL of the target application cluster 102 to be accessed, which can improve the user experience. According to at least one business, the resources of the business management page of the target application cluster 102 to which the at least one business belongs are directly queried from the first routing configuration and the business management page is displayed. There is no need to set up a registration center to obtain the routing information of the target application cluster 102 from the registration center. The deployment is simpler and more flexible, and page jumps can be quickly realized, thereby improving the business 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 to perform an operation on a first service that has a mapping relationship with the first user, and the mapping relationship is used to indicate a corresponding relationship between the user's identity and the operation authority of the service.

[0126] It can be understood that the mapping relationship here is the same as the mapping relationship in step S102, and this application will not go into details here.

[0127] S108 . The target application cluster 102 performs an operation on the first service in response to the operation request, and obtains first operation data of the first service.

[0128] S109: The target application cluster 102 sends first operation data to the first user, and the first user receives the first operation data.

[0129] It can be understood that the first business may include multiple businesses, and each of the multiple businesses belongs to the target application cluster 102, or there is at least one business among the multiple businesses that does not belong to the target application cluster 102. The following will introduce the specific implementation methods of step S108 and step S109 in these two cases through embodiment 1 and embodiment 2 respectively.

[0130] Embodiment 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; the target application cluster 102 can directly perform operations on the first service, obtain first service operation data, and feed back the first service operation data to the first user.

[0131] Embodiment 2: There is a third service in the first service that does not belong to the target application cluster 102; then,

[0132] The specific implementation of step S108 is: perform operations 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;

[0133] The specific implementation method of step S109 is: feeding back the second operation data to the first user, and sending a prompt message to the first user, the prompt message is used to prompt 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.

[0134] In a possible example, the second routing configuration includes routing information of each application cluster in the first network; the routing information of each application cluster includes: service URL, business; querying the first application cluster to which the third business 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 business, and the business included in the first routing information matches the third business; obtaining the URL of the first application cluster included in the first routing information.

[0135] Exemplarily, the second routing configuration is a routing configuration stored in a local path of the target application cluster 102. The second routing configuration is synchronized with the first routing configuration described above. The second routing configuration may also include the ID, name, file service URL, version number of routing information of each application cluster in the first network, etc. For details, please refer to the example of the first routing configuration in Table 1 above, and the embodiments of the present application will not be repeated here.

[0136] Assume that the first business includes business D and business F, wherein business D belongs to the target application cluster 102, and business F does not belong to the target application cluster 102; then the target business cluster 102 operates on business D to obtain second operation data; at the same time, according to business F, query the first routing information matching the business included in the second routing configuration with business F, and determine the first application cluster to which business F belongs and the service URL of the first application cluster according to the first routing information; the second operation data is fed back to the first user, and the first user is prompted that business F belongs to the first application cluster; if a request from the first user to switch to the business management page of the first application cluster is received, the resources of the business management page are obtained from the first application cluster according to the queried service URL of the first application cluster, and the business management page of the first business cluster is displayed based on the obtained resources of the business management page.

[0137] In this way, when there is a third business that does not belong to the target application cluster in the first business, operations are performed on businesses other than the third business, and the obtained second operation data is fed back to the first user and the first user is prompted with the first application cluster to which the third business belongs, so that the user can know the data processing status in time; when the first user's request to switch to the first application cluster is received, based on the second routing configuration generated by abstract business data (and the service URL and business of each application cluster), the first routing information matching the included business and the third business can be quickly obtained from the second routing configuration according to the third business, and then the service URL of the first application cluster can be obtained, so that the resources of the business management page of the first application cluster can be quickly acquired and displayed.

[0138] It can be understood that if the operation only includes operations that need to be executed by the target application cluster 102, the specific implementation method of step S108 refers to the above-mentioned embodiments 1 and 2; if the operation not only includes operations that need to be executed by the target application cluster 102, but also includes operations that need to be executed by the downstream application cluster of the target application cluster 102, the specific implementation method of step S108 can refer to the following embodiment 3.

[0139] Embodiment 3: The operation includes a first operation and a second operation that need to be performed in sequence, the target application cluster 102 can only perform the first operation, and the second operation needs to be performed by the downstream application cluster 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 method of step S108 is: perform a first operation on at least one business to obtain third operation data; the third operation data is used to indicate the business that requires the downstream application cluster of the target application cluster to perform the second operation; query the second routing information from the second routing configuration according to 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 second routing information summary; send the third operation data and the operation request to the target downstream application cluster according to the routing information of the target downstream application cluster to perform the second operation, and receive the first operation data fed back from the target downstream application cluster.

[0141] Optionally, the second routing configuration also includes the routing configuration of the downstream application cluster of the target application cluster 102, and the routing configuration of the downstream application cluster includes: the service URL of the downstream application cluster, the business 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. The following Table 2 is an example of a routing configuration of a downstream application cluster provided in an embodiment of the present application.

[0142] Table 2 Example of routing configuration 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 serving and operating the business of the cluster with users; 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; 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 cluster of the target application cluster does not belong to the first network, it may be an independent cluster or may belong to the second network. Therefore, a network identifier is usually required in the routing configuration of each application cluster to identify the network to which the application cluster belongs. The routing configurations of each application cluster in the same network are synchronized, and the routing configurations of application clusters in different networks do not need to be synchronized.

[0146] Exemplarily, 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 the following Table 3:

[0147] Table 3 Example of mapping relationship between first business and third operation data

[0148]

[0149] Among them, characteristic data 1 is used for the first business; characteristic data 2 is used to indicate the third operation data obtained after the first processing of the first business, that is, the business that needs to be further processed by the downstream application cluster; the cluster instance ID is used to indicate the ID of each application cluster in the first network; the downstream cluster instance ID is used to indicate the ID of the downstream application cluster of each application cluster in the first network, and the version number is used to indicate the current version of each mapping relationship.

[0150] See also Figure 3 An example diagram of a routing relationship provided in an embodiment of the present application, Figure 3 Each block included in this system is used to indicate each application cluster in the first network, and each block in the downstream system is used to indicate the downstream application cluster of each application cluster in the first network (it can also be understood that each downstream application cluster in the downstream system belongs to the second network).

[0151] like Figure 3 As shown, the first user initiates an interface service request (i.e., the user's login request) on the login page of the first server 101. After verification, the first server 101 initiates a front-end request (i.e., a request to obtain resources on the business management page of the target application cluster 102) to the target application cluster 102 in the 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 after being processed by the target application cluster 102 to the corresponding downstream application cluster for processing according to the operation requirements. The specific operation process can refer to the detailed steps in the above embodiment, and the embodiment of this application will not be repeated here.

[0152] In this way, after the target application cluster 102 performs the first processing on the first business and obtains the third operation data, it can know to which downstream application cluster the third operation data needs to be sent for the second processing through the mapping relationship between the first business and the third operation data, and query the service URL of the downstream application cluster in the second routing configuration according to the ID of the downstream application cluster, or directly query the routing information containing the third operation data from the second routing configuration according to the third operation data, and then obtain the service URL of the corresponding downstream application cluster. The service URL of the corresponding downstream application cluster can be quickly queried, thereby improving the business 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] Exemplarily, after the first user completes processing of the first business on the target application cluster 102, if the first user wants to switch to another application cluster to process other businesses, the first user can input the second business through the business information input box provided on the business management page of the target application cluster 102 or select the second business through the selection box and determine to switch to the application cluster 103 to which the second business belongs, that is, send a request to the target application cluster 102 to switch to the application cluster 103 to which the second business belongs.

[0155] It can be understood that the above method of inputting through the business input box or selecting the business to be processed through the selection box is only a possible example of switching the business management page, and is not actually limited to this.

[0156] S111 . The target application cluster 102 queries the second routing configuration for routing information of the application cluster 103 to which the second service belongs.

[0157] Exemplarily, the target application cluster 102 searches the second routing configuration for routing information containing services matching the second service according to 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 can also first obtain at least one business that has a mapping relationship with the first user, and determine that the second business belongs to the at least one business. If the second business does not belong to the at least one business, that is, the first user does not have the authority to perform management operations on the second business, then an alarm message is sent to the first user in the form of a pop-up window or the like, indicating that the first user cannot operate the second business.

[0159] S112: The target application cluster 102 sends a request for acquiring resources of a service management page to the application cluster 103 to which the second service belongs, and the application cluster 103 to which the second service belongs receives the request.

[0160] Optionally, when the application cluster 103 to which the second business belongs sends a request for obtaining resources of the business management page, the target application cluster 102 may also carry the identity identifier of the first user and other information used for authority and identity verification, so that the application cluster 103 to which the second business belongs can verify the authority and identity of the first user again, 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 may be used between the target application cluster 102 and the application cluster 103 to which the second service belongs, so as to further improve the security of the system.

[0163] S114 . The target application cluster 102 displays a service management page of the application cluster 103 to which the second service belongs to the first user.

[0164] It can be understood that the method for the first user to perform a service operation on the service management page of the application cluster 103 to which the second service belongs can refer to the method for the first user to perform a service operation on the service management page of the target application cluster 102, which will not be repeated here.

[0165] See also Figure 4 An example diagram of a process for processing services by a multi-homogeneous application cluster is provided in an embodiment of the present application, such as Figure 4 As shown, a user can access the first server 101 through a terminal device, such as a smart phone, a computer, etc., through a cloud platform, and send a login request to a unified login page provided by the first server 101; after the first server 101 passes the verification, at least one service that has a mapping relationship with the first user is determined according to the identity identifier in the login request, and then the target application cluster 102 (i.e., the target application cluster 102 to which the at least one service belongs is determined according to the first routing configuration. Figure 4 The target application cluster 102 performs subsequent business processing. If the page jump is wrong (for example, the business to be processed by the user does not belong to the target application cluster 102, or the user needs to jump to an application cluster to which another business belongs after processing the business on the target application cluster 102), the target application cluster 102 can query the application cluster to which the business to be processed by the user belongs according to the second routing configuration, and jump to the business management page of the application cluster or return to the unified login page (i.e. Figure 4 ).

[0166] In this solution, an operation request of the first user is received through the business management page, and after the operation is performed on the first business, the obtained first operation data is fed back to the user; after the operation on the first business is completed, when switching to the application cluster to which the second business belongs according to the user's request, there is no need 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. The application cluster to which the second business belongs can be directly queried from the second routing configuration of the target application cluster according to the second business input by the user, and then directly switching from the business management page of the target application cluster to querying the business management page of the application cluster to which the second business belongs, thereby improving the flexibility and speed of application cluster switching, thereby improving the business processing efficiency of multiple homogeneous clusters, reducing user waiting time, and improving user experience.

[0167] In one possible design, an embodiment of the present application also provides a method for implementing routing synchronization of multiple isomorphic application clusters and a first server in a first network.

[0168] In a possible embodiment, taking the target application cluster 102 updating the second routing configuration as an example, the method includes:

[0169] receiving an instruction for updating the routing configuration from the second user, where the instruction for updating the routing configuration includes performing at least one of modification, addition, and deletion on the second routing configuration;

[0170] Update the second routing configuration according to the instruction;

[0171] Sending the updated second routing configuration to the second application cluster by broadcasting;

[0172] The second application cluster is all application clusters except the target application cluster among the multiple isomorphic application clusters in the first network.

[0173] Exemplarily, the second user is a professional technician with routing configuration update authority, and can update routing information of all application clusters in the second routing configuration.

[0174] After the target application cluster 102 receives the instruction to update the routing configuration, if the instruction is to add or modify, the corresponding routing information is added or modified in the second routing configuration, and the version number value in the updated routing information is increased by one; if the instruction is to delete, physical deletion can be adopted according to the preset rules, that is, the routing information to be deleted is deleted from the second routing configuration, or logical deletion can be adopted, that is, a disable identifier is added to the routing information to be deleted in the second routing configuration.

[0175] After the second routing configuration is updated, the updated second routing configuration is sent to the second application cluster by broadcasting. If the amount of routing information in the second routing configuration is small (or less than a preset threshold), all routing information of the second routing configuration can be sent to the second application cluster by broadcasting. In this way, the routing configurations of all application clusters in the first network can be more comprehensively and accurately synchronized. If the amount of routing information in the second routing configuration is large (or greater than a preset threshold), only the updated routing information in the second routing configuration can be sent to the second application cluster by broadcasting. In this way, the efficiency of routing synchronization can be improved. The update method can be selected according to actual needs.

[0176] In a possible embodiment, taking the case where the target application cluster 102 receives the third routing configuration of the third application cluster as an example, the routing synchronization method further includes:

[0177] 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 the multiple isomorphic application clusters in the first network;

[0178] Compare the second routing configuration with the third routing configuration, and obtain routing information different from the third routing configuration from the second routing configuration;

[0179] The different routing information is updated based on the routing information in the third routing configuration.

[0180] In a possible example, the second routing configuration is compared with the third routing configuration, and a specific implementation method of obtaining routing information different from the third routing configuration from the second routing configuration is as follows:

[0181] comparing routing information of each application cluster in the second routing configuration with routing information of a corresponding application cluster in the third routing configuration;

[0182] Acquire routing information of at least one application cluster different from the third routing configuration from the second routing configuration;

[0183] Different routing configuration means 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 each application cluster in at least one application cluster is different from the corresponding routing information in the third routing configuration.

[0184] For example, according to the name or ID of each application cluster or other identifier for identifying the application cluster (usually the identity of the application cluster that does not change is selected for query), the routing information of each application cluster in the two routing configurations can be obtained in turn for one-to-one comparison, and the routing information of the application cluster that has different routing information in the second routing configuration from that in the third routing configuration can be determined. In this way, it is convenient to quickly determine the routing information that needs to be updated in the second routing configuration and avoid information omission.

[0185] Different routing information means that at least one data item included in the routing information is different, namely, the URL, business, service URL of the downstream application cluster, business of the downstream application cluster, and also includes 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 a possible example, the second routing configuration and the third routing configuration also include a version number and an update time of routing information of each application cluster; and 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 the second update time of the routing information of each application cluster in the second routing configuration, and the third version number and the 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 the second version number is the same as the third version number and the second update time is earlier than the third update time, update the routing information of 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, retain the routing information of each application cluster in the second routing configuration.

[0189] It can be understood that since the third application cluster sends the third routing configuration to all application clusters except the third application cluster in the first network in a broadcast manner, there may be broadcast transmission delays, network fluctuations, and different technicians may update the routing configuration on different application clusters simultaneously (or successively, but the time interval is less than the broadcast transmission delay). Therefore, in order to ensure that the routing configurations on each application cluster are synchronized and the latest routing configurations, the embodiment of the present application introduces version number and update time as judgment conditions for routing configuration updates.

[0190] Specifically, 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, that is, the last update of the second routing configuration is earlier than the third routing configuration, it can also be understood that the second routing configuration is an old version of the routing configuration compared to the third routing configuration. Therefore, the second routing configuration needs to be updated based on the third routing configuration;

[0191] 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, it means that the last update of the second routing configuration is later than the third routing configuration. It can also be understood that the second routing configuration is a new version of the routing configuration compared to the third routing configuration, and the second routing configuration does not need to be updated.

[0192] Optionally, in addition to the method in the above embodiment in which the target application cluster 102 triggers routing synchronization only after the second routing configuration is updated or after receiving the third routing configuration of the third application cluster, a scheduled task can also be set on each application cluster to periodically trigger the scheduled task, so that each application cluster (or an application cluster with a higher frequency of designated routing configuration update) sends the latest routing configuration of the application cluster to other application clusters other than itself in the first network to achieve routing synchronization of all application clusters in the first network; or the routing synchronization can also be manually triggered by a technician, and the above-mentioned routing synchronization methods can be executed individually or in combination, and can be selected according to actual needs.

[0193] It can be understood that the first network in the embodiment of the present application also supports an independent application cluster (the application cluster is isomorphic to the application cluster in the first network) to join the first network. After joining the first network, the application cluster needs to be configured and synchronized by a technician. Similarly, the first network also supports the application cluster belonging to the first network to exit the first network. After the application cluster exits, its own routing configuration needs to be deleted, and the remaining application clusters in the first network also need to synchronously delete the routing information related to the application cluster in its routing configuration. In this way, the capacity expansion or reduction of the first network can be flexibly and conveniently achieved.

[0194] In a possible design, the embodiment of the present application further provides a method for each application cluster in the first network to provide external services, including external file transmission and interface service forwarding;

[0195] Specifically, the routing configuration of each application cluster also includes an external service address, and the external service address may include a file service address and an interface request address.

[0196] Since the data processing system in the embodiment of the present application does not include a heavy registration center or configuration center, when the user requests a file transfer or an interface request, it may be impossible to directly obtain the file service address or interface request address of the application cluster to which the transferred file belongs. For example, the user does not provide the relevant information of the application cluster to which the file or the interface belongs. In this case, the file service address of any application cluster in the first network can be used to receive the file or the interface request address to receive the interface request, and after the file or the interface request is parsed by any application cluster, the application cluster to which the file or the interface request belongs is determined, and the routing information of the application cluster to which the file or the interface request belongs is obtained from the routing configuration of any application cluster, and the file or interface request forwarding is performed.

[0197] In addition, if the user provides relevant information about the application cluster to which the file or interface request belongs, the file or interface request can be directly transmitted to the file service address or interface request address of the corresponding application cluster. In this way, the system can ensure the normal operation of external services and thus improve the reliability of the system.

[0198] The method provided by the embodiment of the present application is introduced above, and the device provided by the embodiment of the present application is introduced below.

[0199] Based on the same technical concept, the present application embodiment provides a data processing device. Figure 5 As shown, the device 500 may include a receiving module 501, a processing module 502 and an acquisition module 503, which cooperate to execute part or all of the operations executed by the first server or the target application cluster in the above embodiment.

[0200] Exemplarily, when the apparatus 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, where the login request includes an identity identifier of the first user;

[0202] The processing module 502 is used to: query at least one service that has a mapping relationship with the first user according to the identity of the first user, where the mapping relationship is used to indicate the corresponding relationship between the identity of the user and the operation authority of the service; query 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 from the first routing configuration;

[0203] The acquisition module 503 is used to acquire the service management page resources from the target application cluster according to the routing information of the target application cluster, and display the service management page of the target application cluster based on the acquired service 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 multiple services all belong to the same application cluster, then the application cluster to which the multiple services belong is used as the target application cluster; if multiple services belong to at least two application clusters, then a first inquiry message is sent to the first user; the first inquiry message includes multiple services, and the first inquiry message is used to instruct the first user to select a target service to be processed from 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 of each application cluster in the first network; the routing information of each application cluster includes: service URL and business; when the processing module 502 queries the target application cluster to which at least one business 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 business, and the business included in the target routing information matches at least one business; obtain the service URL of the target application cluster included in the target routing information.

[0206] Exemplarily, when the device 500 is applied to a target application cluster,

[0207] The receiving module 501 is used 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, where the operation request is used to indicate an operation on a first business that has a mapping relationship with the first user; the mapping relationship is used to indicate a corresponding relationship between the user's identity and the business operation authority;

[0208] The processing module 502 is used to: in response to the operation request, perform an operation on the first service to obtain first operation data of the first service; and feed back the first operation data to the first user;

[0209] The receiving module 501 is further used to: receive a request from the first user to switch to the application cluster to which the second service belongs;

[0210] The processing module 502 is further 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 business management page from the application cluster to which the second business belongs according to the routing information of the application cluster to which the second business belongs, and display the business management page of the application cluster to which the second business belongs based on the acquired resources of the business management page; the second business is a business that has the mapping relationship with the first user but does not belong to the target application cluster.

[0212] Optionally, there is a third business in the first business that does not belong to the target application cluster; when the processing module 502 performs an operation on the first business in response to the operation request, it is specifically used to: perform an operation on the business other than the third business in the first business to obtain second operation data; query the first application cluster to which the third business 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 is used to prompt that the third business 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 acquisition module 503 is also used to: obtain the resources of the business management page from the first application cluster according to the routing information of the first application cluster, and display the business management page of the first business cluster based on the acquired resources of the business management page.

[0213] Optionally, the second routing configuration includes routing information of each application cluster in the first network; the routing information of each application cluster includes: service URL, business; when the processing module 502 obtains the first application cluster to which the third business 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 business, and the business included in the first routing information matches the third business; 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 in sequence, the target application cluster can only perform the first operation, and the second operation needs to be performed by the downstream application cluster 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 obtains 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 third operation data; the third operation data is used to indicate the business that requires the downstream application cluster of the target application cluster to perform the second operation; query the second routing information from the second routing configuration according to 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 second routing information summary; send the third operation data and the operation request to the target downstream application cluster according to the routing information of the target downstream application cluster to perform the second operation, and receive the first operation data fed back from the target downstream application cluster.

[0215] Optionally, the receiving module 502 is also used to: receive an instruction to update the routing configuration from the second user, the instruction to update the routing configuration includes performing at least one of modification, addition, and deletion on the second routing configuration; the processing module is also used to: update the second routing configuration according to the instruction; send the updated second routing configuration to the second application cluster via broadcast; the second application cluster is all application clusters except the target application cluster among the multiple isomorphic application clusters in the first network.

[0216] Optionally, the receiving module 502 is also used 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 isomorphic application clusters in the first network; the processing module is also used to: compare the second routing configuration with the third routing configuration, and obtain routing information different from the third routing configuration from the second routing configuration; and update different routing information based on the routing information in the third routing configuration.

[0217] Optionally, when the processing module 502 compares the second routing configuration with the third routing configuration and obtains routing information different from the third routing configuration from the second routing configuration, it 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 routing information of at least one application cluster 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 of each application cluster in the second routing configuration is different from the corresponding routing information in the third routing configuration.

[0218] Optionally, the second routing configuration and the third routing configuration also include the version number and update time of the routing information of 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 to:

[0219] For each application cluster in at least one application cluster, perform the following operations:

[0220] Obtain the second version number and the second update time of the routing information of each application cluster in the second routing configuration, and the third version number and the 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 the second version number is the same as the third version number and the second update time is earlier than the third update time, update the routing information of 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, retain the routing information of each application cluster in the second routing configuration.

[0221] It should be understood that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.

[0222] Based on the same technical concept, see Figure 6 The embodiment of the present application further provides an electronic device 600, including:

[0223] At least one processor 601; and a communication interface 603 that is communicatively connected to the at least one processor 601; the at least one processor 601 executes instructions stored in the memory 602, so that the electronic device 600 executes the method steps executed by the data processing system in the above method embodiment through the communication interface 603.

[0224] Optionally, the memory 602 is located outside the electronic device 600 .

[0225] Optionally, the electronic device 600 includes the memory 602, the memory 602 is connected to the at least one processor 601, and the memory 602 has instructions that can be executed by the at least one processor 601. Figure 6 The dashed lines indicate that the memory 602 is optional for the electronic device 600 .

[0226] The at least one processor 601 and the memory 602 may be coupled via an interface circuit or may be integrated together, which is not limited here.

[0227] The specific connection medium between the at least one processor 601, the memory 602 and the communication interface 603 is not limited in the embodiment of the present application. Figure 6 In the embodiment, at least one processor 601, a memory 602 and a communication interface 603 are connected via a bus 604. Figure 6 The connection between other components is only for schematic illustration and is not intended to be limiting. The bus part may be an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 It is represented by only one thick line, but it 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 the present application can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented by software, the processor can be a general-purpose processor implemented by reading software code stored in a memory.

[0229] Exemplarily, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0230] It should be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both a volatile memory and a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which acts as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DirectRambus 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, discrete hardware component, the memory (storage module) can be integrated into the processor.

[0232] It should be noted that the memory described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0233] Based on the same technical concept, an embodiment of the present application also provides a computer-readable storage medium, which is used to store instructions. When the instructions are executed, the computer executes the method steps executed by any device in the above method embodiments.

[0234] Based on the same technical concept, an embodiment of the present application also provides a computer program product, including computer program code. When the computer program code is executed on a computer, the method steps executed by any device in the above method embodiment are implemented.

[0235] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0236] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0237] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0238] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0239] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A data processing method, applied to a first server, the first server belongs to a first network, the first network also includes a plurality of isomorphic application clusters, characterized in that: The method comprises: Receiving a login request from a first user through a login page, wherein the login request includes an identity identifier of the first user; Querying at least one service having a mapping relationship with the first user according to the identity of the first user, wherein the mapping relationship is used to indicate a corresponding relationship between the identity of the user and the operation authority of the service; Querying, from a first routing configuration, a target application cluster in the first network to which the at least one service belongs and routing information of the target application cluster; According to the routing information of the target application cluster, resources of a service management page are obtained from the target application cluster, and the service management page of the target application cluster is displayed based on the obtained resources of the service management page.

2. The method according to claim 1, characterized in that The at least one service includes multiple services; each of the multiple services belongs to only one application cluster; and 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 service in the plurality of services belongs from the first routing configuration; If the multiple services all belong to the same application cluster, the application cluster to which the multiple services belong is used as the target application cluster; If the multiple services belong to at least two application clusters, a first inquiry message is sent to the first user; the first inquiry message includes the multiple services, and the first inquiry message is used to instruct the first user to select a target service to be processed from the multiple services; The target business input by the first user is received, and the application cluster to which the target business belongs is used as the target application cluster.

3. The method according to claim 1, characterized in that The first routing configuration includes routing information of each application cluster in the first network; the routing information of each application cluster includes: service URL and business; The querying the target application cluster to which the at least one service belongs and the routing information of the target application cluster from the first routing configuration includes: According to the at least one service, target routing information is queried from the first routing configuration, and the service included in the target routing information matches the at least one service; and a service URL of the target application cluster included in the target routing information is obtained.

4. A data processing method, applied to a target application cluster, the target application cluster belongs to a first network; the first network includes a plurality of isomorphic application clusters and a first server, characterized in that: The method comprises: receiving a request for obtaining resources of a service management page from the first server, and sending the resources of the service management page to the first server; receiving, through the service management page, an operation request from a first user, the operation request being used to instruct an operation to be performed on a first service that has a mapping relationship with the first user; the mapping relationship being used to indicate a correspondence between a user's identity and an operation authority of the service; In response to the operation request, after performing the operation on the first service, first operation data of the first service is obtained; and the first operation data is fed back to the first user; receiving a request from the first user to switch to an application cluster to which a second service belongs; The routing information of the application cluster to which the second service belongs is queried from the second routing configuration, resources of the service management page are obtained from the application cluster to which the second service belongs according to the routing information of the application cluster to which the second service belongs, and the service management page of the application cluster to which the second service belongs is displayed 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.

5. The method according to claim 4, characterized in that The first service includes a third service that does not belong to the target application cluster; and in response to the operation request, performing the operation on the first service includes: Performing the operation on 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 routing information of the first application cluster from the second routing configuration; The feeding back the first operation data to the first user further includes: Feedback the second operation data to the first user, and send prompt information to the first user, where the prompt information is used to prompt that the third service belongs to the first application cluster; A request to switch to the first application cluster is received from the first user, resources of a business management page are obtained from the first application cluster according to routing information of the first application cluster, and the business management page of the first application cluster is displayed based on the obtained resources of the business management page.

6. The method according to claim 5, characterized in that The second routing configuration includes routing information of each application cluster in the first network; the routing information of each application cluster includes: service URL, business; The 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, first routing information is queried from the second routing configuration, and the service included in the first routing information matches the third service; and the URL of the first application cluster included in the first routing information is obtained.

7. The method according to claim 6, characterized in that The operations include a first operation and a second operation that need to be performed in sequence, the target application cluster can only perform the first operation, and the second operation needs to be performed by a downstream application cluster of the target application cluster; The routing information of each application cluster in the second routing configuration also includes: a service URL of a downstream application cluster and a service of the downstream application cluster; The step of obtaining first operation data of the at least one service after performing the operation on the at least one service in response to the operation request includes: Performing the first operation on the at least one 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; querying second routing information from the second routing configuration according to the third operation data, where the service included in the second routing information matches the third operation data; acquiring a service URL of a 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 according to the routing information of the target downstream application cluster to perform a second operation, and the first operation data fed back from the target downstream application cluster is received.

8. The method according to claim 7, characterized in that The method further comprises: receiving an instruction for updating the routing configuration from the second user, wherein the instruction for updating the routing configuration includes performing at least one of modification, addition, and deletion on the second routing configuration; updating the second routing configuration according to the instruction; The updated second routing configuration is sent to a second application cluster by broadcasting; the second application cluster is all application clusters except the target application cluster among a plurality of isomorphic application clusters in the first network.

9. The method according to claim 7, characterized in that The method further comprises: 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 a plurality of isomorphic application clusters in the first network; Compare the second routing configuration with the third routing configuration, and obtain routing information different from the third routing configuration from the second routing configuration; The different routing information is updated based on the routing information in the third routing configuration.

10. The method according to claim 9, characterized in that The comparing the second routing configuration with the third routing configuration, and acquiring routing information different from the third routing configuration from the second routing configuration, includes: comparing 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 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 of each application cluster in the second routing configuration is different from the corresponding routing information in the third routing configuration.

11. The method according to claim 9, characterized in that The second routing configuration and the third routing configuration also include a version number and an update time of routing information of each application cluster; and the updating of the different routing information based on the routing information in the third routing configuration includes: For each application cluster in the at least one application cluster, perform the following operations: Obtaining a second version number and a second update time of the routing information of each application cluster in the second routing configuration, and a third version number and a 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 the second version number is the same as the third version number and the second update time is earlier than the third update time, updating the routing information of 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, the routing information of each application cluster in the second routing configuration is retained.

12. A data processing device, applied to a first server, the first server belongs to a first network, the first network also includes a plurality of isomorphic application clusters, characterized in that: The device comprises: A receiving module, configured to: receive a login request from a first user through a login page, wherein the login request includes an identity identifier of the first user; A processing module, configured to: query at least one service having a mapping relationship with the first user according to the identity identifier of the first user, wherein the mapping relationship is used to indicate a corresponding relationship between the identity identifier of the user and the operation authority of the service; query a target application cluster in the first network to which the at least one service belongs and routing information of the target application cluster from a first routing configuration; The acquisition module is used to: acquire the service management page resources from the target application cluster according to the routing information of the target application cluster, and display the service management page of the target application cluster based on the acquired service management page resources.

13. A data processing device, applied to a target application cluster, the target application cluster belongs to a first network; the first network includes a plurality of isomorphic application clusters and a first server, characterized in that: The device comprises: a receiving module, configured to: receive a request from the first server for obtaining resources of a service management page, and send the resources of the service management page to the first server; receive an operation request from a first user through the service management page, wherein the operation request is used to instruct to operate a first service that has a mapping relationship with the first user; and the mapping relationship finally indicates a corresponding relationship between a user's identity and an operation authority of the service; A processing module, configured to: respond to the operation request, perform the operation on the first service, and obtain first operation data of the first service; and feed back the first operation data to the first user; The receiving module is further used to: receive a request from the first user to switch to the application cluster to which the second service belongs; The processing module is further used to: query routing information of the application cluster to which the second service belongs from the second routing configuration; An acquisition module is used to: obtain resources of a business management page from the application cluster to which the second business belongs according to the routing information of the application cluster described in the second business, and display the business management page of the application cluster to which the second business belongs based on the acquired resources of the business management page; the second business is a business that has the mapping relationship with the first user but does not belong to the target application cluster.

14. A data processing system, applied to a first network, wherein the first network includes a plurality of homogeneous application clusters and a first server, characterized in that: The system includes the first server, a target application cluster, and an application cluster to which the second service belongs; The first server is configured to: receive a login request from a first user through a login page, wherein the login request includes an identity identifier of the first user; Querying at least one service having a mapping relationship with the first user according to the identity of the first user, wherein the mapping relationship is used to indicate a corresponding relationship between the identity of the user and the operation authority of the service; Querying and acquiring, from the first routing configuration, a target application cluster in the first network to which the at least one service belongs and routing information of the target application cluster; acquiring resources of a service management page from the target application cluster according to the routing information of the target application cluster; The target application cluster is used to: receive a request from the first server for obtaining resources of the service management page, and send the resources of the service management page to the first server; The first server is further configured to: display the business management page of the target application cluster based on the acquired business management page resources; The target application cluster is further used to: receive an operation request from a first user through the service management page, where the operation request is used to instruct to operate a first service that has a mapping relationship with the first user; The mapping relationship is used to indicate the corresponding relationship between the user's identity and the business operation authority; In response to the operation request, after performing the operation on the first service, first operation data of the first service is obtained; 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 routing information of the application cluster to which the second service belongs from the second routing configuration, and acquiring resources of a service management page from the application cluster to which the second service belongs according to the routing information of the application cluster to which the second service belongs; The application cluster to which the second service belongs is used to: receive a request for obtaining resources of a service management page sent by the target application cluster, 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 further used to: display the service management page of the application cluster to which the second service belongs based on the acquired service management page resources; the second service is a service that has the mapping relationship with the first user but does not belong to the target application cluster.

15. An electronic device, characterized in that: include: A memory for storing program instructions; A processor is used to call the program instructions stored in the memory, and execute the steps included in the method according to any one of claims 1 to 3 or the method according to any one of claims 4 to 11 according to the obtained program instructions.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to have a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the method according to any one of claims 1 to 3 or the method according to any one of claims 4 to 11 is implemented.

17. A computer program product, characterized in that The computer program product comprises: a computer program code, and when the computer program code is run on a computer, the computer is enabled to execute the method according to any one of claims 1 to 3 or the method according to any one of claims 4 to 11.

Citation Information

Patent Citations

  • Cloud desktop login management and control method and apparatus, and computer readable storage medium

    CN108965480A

  • Business resource allocation method and relevant device

    CN110433487A

  • Routing method and device for database cluster

    CN113495921A

  • Message read-write request processing method and system, computing device and program product

    CN118449999A

  • Session-based traffic statistics logging for virtual routers

    US20180287905A1