Credit investigation service processing system

Through the load balancer and multi-computer room architecture, combined with traffic gateways and keepalive clusters, the problem of inflexible expansion of credit reporting service processing systems is solved, efficient processing and high availability are achieved, and the stability and expansion capabilities of the system are improved.

CN118921370APending Publication Date: 2024-11-08BAIHANG CREDIT INFORMATION CO LTD

Patent Information

Application Number
CN202410740063.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The existing credit reporting business processing system is inflexible to expand and cannot meet the rapidly growing data volume and business needs, resulting in insufficient system stability and reliability.

Method used

A credit reporting service processing system is designed, using a load balancer and multi-computer room architecture, receiving client requests through a load balancer, determining the target computer room and application units, and using traffic gateways and keepalive clusters for request allocation and processing, achieving high Availability and flexibility to scale.

Benefits of technology

It realizes efficient processing of business requests and flexible system expansion, improves processing efficiency and high availability, can seamlessly switch when a single point of failure occurs, and improves service stability and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921370A_ABST
    Figure CN118921370A_ABST
Patent Text Reader

Abstract

The invention discloses a credit investigation service processing system, which comprises a load balancer, a plurality of machine rooms and flow gateways corresponding to the machine rooms, and is characterized in that each machine room is provided with a plurality of application units, and each application unit comprises a plurality of application clusters; the load balancer is used for receiving a service request sent by a client, determining a target machine room based on the service request, and sending the service request to the target flow gateway corresponding to the target machine room; each traffic gateway comprises a plurality of keepalive clusters, and any target traffic gateway is used for receiving a service request sent by a load balancer based on the keepalive clusters, determining a target application unit from a target machine room based on the service request, and sending the service request to the target application unit; and the target application unit is used for receiving the service request sent by the traffic gateway and distributing the service request to the target application cluster so as to process the service request based on the target application cluster. According to the invention, flexible expansion of the credit investigation service processing system can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of Internet technology, and in particular to a credit investigation business processing system. Background Art

[0002] As the amount of data called by the credit reporting industry has exploded, extremely high requirements have been placed on the stability and reliability of the credit reporting business system services. At the same time, as an important part of the financial field, the traditional single data center architecture can no longer meet the needs of the credit reporting business, and there is a problem of inflexible expansion of the business processing system.

[0003] Therefore, there is an urgent need for a credit investigation business processing system to solve the problem of inflexible expansion of the business processing system in the prior art. Summary of the invention

[0004] In view of this, the present invention provides a credit investigation business processing system, the main purpose of which is to solve the problem of inflexible expansion of the current business processing system.

[0005] To solve the above problems, the present application provides a credit investigation business processing system, including: a load balancer, several computer rooms and traffic gateways corresponding to each computer room, each of the computer rooms is respectively provided with several application units, each of the application units includes several application clusters for processing application business;

[0006] The load balancer is used to receive a service request sent by a client, determine a target computer room based on the service request, and send the service request to a target traffic gateway corresponding to the target computer room;

[0007] Each of the traffic gateways includes a plurality of keepalive clusters, each of which is configured with a virtual network address for communicating with the load balancing server; any target traffic gateway is used to receive a service request sent by the load balancer based on each keepalive cluster, determine a target application unit from a corresponding target computer room based on the service request, and send the service request to the target application unit;

[0008] Each of the application units is communicatively connected to the corresponding traffic gateway; any target application unit is used to receive a service request sent by the traffic gateway, and allocate the service request to a target application cluster so as to process the service request based on the target application cluster.

[0009] Optionally, the load balancing server pre-stores a computer room list, wherein the computer room list includes a correspondence between each computer room identifier and each traffic gateway virtual network address;

[0010] When the load balancing server determines the target computer room based on the service request, it is specifically used to:

[0011] Based on a predetermined load balancing strategy, determining a target computer room from the computer rooms;

[0012] The computer room list is searched based on the computer room identifier of the target computer room, and each target virtual network address of the target traffic gateway corresponding to the target computer room is determined, so as to send the service request to the target traffic gateway based on each target virtual network address.

[0013] Optionally, the load balancer is also used to send a detection signal to the server in real time, determine the operating status of the server based on the detection signal, and when it is determined that the operating status of the server is a faulty state, delete the corresponding computer room identifier from the computer room list based on the fault range of the server, or send the application unit identifier corresponding to the fault range to the corresponding traffic gateway, so that the traffic gateway deletes the application unit identifier from the application unit list.

[0014] Optionally, each of the traffic gateways includes a number of openresty nodes;

[0015] Each of the traffic gateways is further used to sort the openresty nodes in different arrangement orders based on the openresty nodes in the traffic gateway to obtain an openresty node sequence corresponding to each of the arrangement orders;

[0016] The keepalive clusters are created based on the openresty node sequences.

[0017] Optionally, the credit investigation business processing system further includes an application unit mutual backup module;

[0018] Each of the traffic gateways pre-stores a unit mutual standby table corresponding to the computer room;

[0019] After the target traffic gateway determines the target application unit from the target computer room based on the service request, the target traffic gateway is further used to:

[0020] Acquire the running status of the target application unit based on the application unit mutual backup module;

[0021] When the running state of the target application unit is an unhealthy state, a backup unit corresponding to the target application unit is determined based on the unit mutual backup table, so as to send the service request to the backup unit.

[0022] Optionally, the acquiring the running status of the target application unit based on the application unit mutual backup module specifically includes:

[0023] Acquiring operation information of the target application unit based on the fuse to determine the operation state of the target application unit based on the operation information;

[0024] Alternatively, a heartbeat request is periodically sent to the target application unit based on a predetermined detection instruction, and response information of the target application unit to the heartbeat request is obtained, so as to determine the running state of the target application unit based on the response information.

[0025] Optionally, the credit investigation business processing system further includes: a traffic allocation management platform;

[0026] The traffic allocation management platform is used to respond to the user's configuration operation on the load balancing strategy, obtain the predetermined load balancing strategy, and send the predetermined load balancing strategy to the load balancer;

[0027] And / or, used to respond to the user's configuration operation on the traffic routing strategy and the traffic matching strategy, obtain a predetermined traffic routing strategy and a predetermined traffic matching strategy, and send the predetermined traffic routing strategy and the traffic matching strategy to each of the traffic gateways, so that the target traffic gateway determines the target application unit from the target computer room based on the service request, the predetermined traffic routing strategy and the predetermined traffic matching strategy;

[0028] And / or, for responding to the user's configuration operation on the unit routing policy, obtaining a predetermined unit routing policy, and sending the predetermined unit routing policy to each of the application units, so that the target application unit determines the target application cluster from the target application based on the business request and the predetermined unit routing policy.

[0029] Optionally, the credit investigation business processing system further includes: a service registration platform;

[0030] The application service registration platform is used to receive a registration request for an application service sent by an application cluster, configure a cluster identifier for the application cluster based on the registration request, establish a correspondence between the cluster identifier, the application services processed by the application cluster, the application cluster address, and the application unit to which the application cluster belongs, and send the correspondence to the application unit to which the application cluster belongs.

[0031] Optionally, the credit investigation business processing system further includes an application configuration platform;

[0032] The application configuration platform is used to store configuration files of various applications;

[0033] And, it is used to respond to the modification operation of the user on the configuration file, obtain the modified configuration file, and send the modified configuration file to the corresponding application cluster, so that the application cluster performs application update.

[0034] Optionally, the credit reporting business processing system further includes an application unit transformation platform;

[0035] The application unit transformation platform is used to divide each virtual machine based on the open source distributed service framework Dubbo to obtain a number of application units;

[0036] And, it is used to create several application clusters for each application unit.

[0037] The credit investigation business processing system in this application deploys multiple computer rooms, and multiple application units are deployed in each computer room. Each application unit can handle all types of business requests, thereby realizing a business processing system with a unitized architecture. It can be flexibly expanded and expanded according to business needs, solving the problem of inflexible expansion of business processing systems in the prior art.

[0038] Moreover, since multiple application units are deployed in the present application, it is possible to realize parallel processing of a large number of business requests, thereby improving the efficiency of business request processing. By setting up a load balancer and setting up a corresponding traffic gateway for each computer room, the load balancer and the traffic gateway can be further used to reasonably allocate / schedule business requests, thereby quickly allocating business requests to corresponding application clusters, further improving the processing efficiency of business requests. At the same time, the present application ensures that the target traffic gateway can receive the business request by sending the business request to each keepalive cluster in the target traffic gateway at the same time, thereby ensuring the high availability of the traffic gateway, improving the high availability of the business processing system, and also laying the foundation for realizing efficient processing of business requests.

[0039] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0041] Figure 1 This is an architecture diagram of a credit reporting business processing system according to an embodiment of the present application;

[0042] Figure 2 This is an architecture diagram of a credit investigation business processing system according to another embodiment of the present application;

[0043] Figure 3 This is a schematic diagram of the relationship between the registration center and the application in the credit reporting business processing system in another embodiment of the present application;

[0044] Figure 4 This is a schematic diagram of a unitized credit investigation business processing system in another embodiment of the present application. DETAILED DESCRIPTION

[0045] Various aspects and features of the present application are described herein with reference to the accompanying drawings.

[0046] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.

[0047] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.

[0048] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.

[0049] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art will be able to readily implement many other equivalent forms of the present application.

[0050] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.

[0051] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.

[0052] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.

[0053] The present application embodiment provides a credit investigation service processing system, such as Figure 1 As shown, it includes: a load balancer, several computer rooms and traffic gateways corresponding to each computer room, each of the computer rooms is respectively provided with several application units, each of the application units includes several application clusters for processing application services; wherein each application cluster is configured with an application for processing application services. In this embodiment, each application unit includes all services required for the service, that is, any application unit can process all application services.

[0054] In this embodiment, the load balancer is used to receive a service request sent by a client, determine a target computer room based on the service request, and send the service request to a target traffic gateway corresponding to the target computer room. In this embodiment, the load balancer is deployed using a cluster architecture, and load balancing products such as NGINX, LVS, and F5 can be used. The service request can specifically be a credit reporting service request.

[0055] Each of the traffic gateways includes several keepalive clusters, and each of the keepalive clusters is configured with a virtual network address for communicating with the load balancing server; any target traffic gateway is used to receive the service request sent by the load balancer based on each keepalive cluster, determine the target application unit from the corresponding target computer room based on the service request, and send the service request to the target application unit.

[0056] Each of the application units is communicatively connected to the corresponding traffic gateway; any target application unit is used to receive a service request sent by the traffic gateway, and allocate the service request to a target application cluster so as to process the service request based on the target application cluster.

[0057] In this embodiment, after the load balancer receives the service request sent by the client, it can reasonably determine that computer room 1 is the target computer room or that computer room 4 is the target computer room according to the pre-stored load balancing strategy. When computer room 1 is determined to be the target computer room, the service request can be sent to openresty node 1 in keepalive cluster 1 and openresty node 2 in keepalive cluster 2 based on the traffic gateway virtual addresses VIP1 and VIP2 corresponding to computer room 1. By sending the service request to openresty node 1 and openresty node 2 at the same time, it is ensured that the traffic gateway corresponding to computer room 1 can receive the service request, and the high availability of the traffic gateway is guaranteed, which lays the foundation for realizing efficient processing of service requests. And after receiving the service request, the target traffic gateway sends the service request to the target application unit in the target computer room, and then the target application unit sends the service request to the corresponding business cluster for processing, thereby realizing reasonable and express forwarding of the service request and improving the processing efficiency of the service request. Furthermore, since multiple computer rooms are deployed in the present application and multiple application units are deployed in each computer room, each application unit can handle all application services, thus realizing a unitized system architecture. Data centers can be added or resource allocations can be adjusted at any time according to business needs to meet the growing needs of credit reporting services, thereby realizing flexible expansion and capacity expansion of the business system, solving the problem of inflexible expansion of business processing systems in the prior art, and being able to seamlessly switch services when a single point of failure occurs, thereby improving the processing capacity and service efficiency of the credit reporting business processing system.

[0058] On the basis of the above-mentioned embodiments, another embodiment of the present application provides a credit investigation business processing system. In this embodiment, the load balancing server pre-stores a list of computer rooms, and the list of computer rooms contains the correspondence between each computer room identifier and each traffic gateway virtual network address. Thus, after the load balancer receives the service request sent by the client, it can determine the target computer room from each of the computer rooms based on the predetermined load balancing strategy; then search the computer room list based on the computer room identifier of the target computer room, determine each target virtual network address of the target traffic gateway corresponding to the target computer room, and send the service request to the target traffic gateway based on each of the target virtual network addresses. In this embodiment, the load balancing strategy can be a weighted ratio strategy or a polling configuration strategy. That is, the service requests are allocated according to the current task volume / task ratio of each computer room, so as to allocate the service requests to the computer rooms with less task volume / lower task ratio; or the service requests are allocated to each computer room in turn.

[0059] In this embodiment, the load balancing server is also used to send a detection signal to the server in real time, determine the operating status of the server based on the detection signal, and when it is determined that the operating status of the server is a faulty state, delete the corresponding computer room identifier from the computer room list based on the fault range of the server, or send the application unit identifier corresponding to the fault range to the corresponding traffic gateway, so that the traffic gateway deletes the application unit identifier from the application unit list. That is, each application unit under the same computer room can be deployed on the same server or different servers, that is, application unit 1, application unit 2...application unit n in computer room 1 can be deployed on the same server, or application unit 1 and application unit 2 in computer room 1 are deployed on server a, and application unit 3-application unit n are deployed on another server b. Therefore, when the load balancer determines that server a is faulty, the fault range can be determined based on the application units deployed on server a. If application unit 1, application unit 2...application unit n in computer room 1 are all deployed on server a, the identifier of computer room 1 can be deleted from the computer room list to remove computer room 1 and avoid subsequent allocation of business requests to computer room 1; if some of the applications in computer room 1 are deployed on server a, the identifiers of some application units can be sent to the traffic gateway corresponding to computer room 1 so that the traffic gateway corresponding to computer room 1 can avoid these some application units when allocating business requests.

[0060] In this embodiment, the load balancer can specifically adopt the following two methods when testing the running status of the server:

[0061] Method 1: Layer 4 health check (TCP / UDP port detection): The load balancer will try to connect to the specific TCP or UDP port on the server where the application is running. For example, if the real server provides a web application through port 80, the load balancer will try to establish a connection to port 80 of the real server and send a TCP SYN request packet. Then, it will check whether the TCP SYN ACK packet in response is received. If not, the load balancer will determine that the 80 service of the corresponding server is faulty.

[0062] Method 2, seven-layer health check (HTTP request) method: For the seven-layer HTTP / HTTPS listener, the load balancer can configure HTTP health check, by sending HTTP request to the back-end server (intranet IP address + health check port + check path), and the back-end server returns the corresponding HTTP status code after receiving the request. If the load balancer does not receive a response from the back-end server within the response timeout, it is determined that the health check has failed. In this embodiment, by detecting the running status of the server, once the back-end service is found to be unavailable, the load balancer can automatically switch the service request to the normal back-end service, realize automatic fault monitoring and automatic failover at the computer room level, ensure the continuity of the business, and at the same time ensure the high availability and stability of the entire service.

[0063] On the basis of the above-mentioned embodiments, another embodiment of the present application provides a credit reporting business processing system. In this embodiment, each of the traffic gateways includes a number of openresty nodes respectively; each of the traffic gateways is also used to sort the openresty nodes according to different arrangement orders based on the openresty nodes in the traffic gateway, and obtain the openresty node sequence corresponding to each arrangement order; create each keepalive cluster based on the openresty node sequence. Specifically, each traffic gateway in this embodiment is implemented based on KeepAlive and openresty, and each traffic gateway adopts a multi-VIP (virtual IP) mode. Each traffic gateway can set two virtual IPs, that is, expose two VIPs to the outside for use by the front-end load balancer, so that the load balancer can communicate with the traffic gateway through the two VIPs of the traffic gateway. In this embodiment, when configuring the KeepAlive nodes of the two VIPs, ensure that the two master nodes are different machine instances. Figure 1As shown in the figure, for the traffic gateway, taking three openresty nodes as an example, first openrest1, openresty2 and openresty3 form a keepalive cluster, and the VIP1 exposed to the outside world, these three nodes are sorted according to the predetermined weight, in the order of openresty1>openresty2>openresty3; the same three nodes are configured into another cluster, and VIP2 is exposed to the outside world. The three nodes are sorted according to the predetermined weight, in the order of penresty3>openresty2>openresty1. As a result, openresty1 and openresty3 can serve as nodes of their respective keepalive clusters, receive business requests at the same time, and serve as backup nodes for each other; the openresty2 node does not receive traffic under normal circumstances and acts as a hot standby. The three nodes ensure the high availability of the traffic gateway, and the two nodes share the request traffic, which is conducive to improving the overall service stability of the traffic gateway. In this embodiment, the traffic gateway can pre-store a predetermined traffic routing strategy and a traffic matching strategy. When the traffic gateway receives a service request through openrest1 and openrest3, it can determine the target application unit corresponding to the service request based on the traffic routing strategy and the traffic matching strategy.

[0064] In the specific implementation process, Figure 2 As shown, the traffic gateway can call the post-unit service, extract the routing identification information from the request header, message body and path parameters of the service request, and then use the traffic matching strategy and traffic routing strategy based on the routing identification information to reasonably and accurately determine the target application unit. In this embodiment, the routing identification information includes any one or more of the following:

[0065] 1) Information in the request header: such as Authorization, Custom-Header, etc. These headers may contain key information such as user identity, permissions, and business identification.

[0066] 2) Information in the message body: In a POST request, the message body usually contains specific business data. The gateway can extract business-related fields from the message body, such as user ID, business serial number, business type, etc., as the basis for routing.

[0067] 3) Path parameters: In a RESTful API, the parameters in the URL path (such as userId and productCode in / path / to / {userId} and / path / to / {productCode}) are also important sources of routing information.

[0068] In this embodiment, the extracted routing identification information is calculated for scenarios such as load balancing, data sharding or cache routing decisions. For example, the extracted routing identification information can be matched according to predefined traffic matching strategies / rules to determine the target application for processing business requests, and the target application unit can be determined based on the target application according to the task volume of each application unit. In this embodiment, the traffic matching strategy can be set and adjusted based on various factors such as business logic, service priority, and user identity. The matching result determines which backend service or service instance the request should be routed to. In this embodiment, in some complex business scenarios, the routing identification information can be converted and calculated using the traffic routing strategy to obtain routing information. The traffic routing strategy may involve the combination, conversion, and calculation of multiple routing identification information. For example, multiple header information or message body fields can be combined into a new routing identifier, or the routing identifier can be converted and calculated according to specific business logic, and the traffic routing strategy can be set and adjusted according to actual needs.

[0069] Based on the above embodiment, another embodiment of the present application provides a credit investigation service processing system. Figure 2 As shown, the credit reporting business processing system in this embodiment also includes an application unit mutual backup module. In this embodiment, each of the traffic gateways pre-stores a unit mutual backup table corresponding to the computer room. After any target traffic gateway determines the target application unit from the target computer room based on the business request, it can further obtain the operating status of the target application unit based on the application unit mutual backup module; when the operating status of the target application unit is unhealthy, the backup unit corresponding to the target application unit is determined based on the unit mutual backup table to send the business request to the backup unit; on the contrary, when the target traffic gateway determines that the operating status of the target application unit is healthy based on the application unit mutual backup module, the target traffic gateway can directly send the business request to the target application unit.

[0070] In the specific implementation process of this embodiment, when the target traffic gateway obtains the running status of the target application unit based on the application unit mutual backup module, the following method can be specifically adopted:

[0071] Method 1: obtaining the operation information of the target application unit based on the fuse, so as to determine the operation status of the target application unit based on the operation information;

[0072] Method 2: sending a heartbeat request to the target application unit at regular intervals based on a predetermined detection instruction, and obtaining response information of the target application unit to the heartbeat request, so as to determine the running status of the target application unit based on the response information.

[0073] That is to say, in this embodiment, the operating status of the target unit can be checked regularly in an active or passive manner, including sending a heartbeat request or calling a health check API, etc. Alternatively, the operating status can be detected through a fuse, that is, a fuse is set for the target unit, and corresponding thresholds (such as error rate thresholds, response time thresholds, etc.) are defined. When the fuse detects that the error rate of the target application unit reaches a predetermined error rate threshold, or detects that the response time reaches a predetermined response time threshold, the fuse will open, thereby preventing the target application unit from receiving new service requests, and the target traffic gateway can transfer the current service request to a backup unit that is backed up by the target application unit.

[0074] In the present application, by setting up the application unit mutual backup module, the faulty application unit can be detected in time, which is conducive to realizing the automatic disaster recovery of the traffic gateway unit. By setting up a mutual backup unit for each application unit, when the traffic / service request enters the traffic gateway, it is first located to the target unit according to the traffic routing strategy, and then the health / operating status of the target unit is checked based on the fuse and mutual backup unit strategy. The fuse mode can be used to automatically remove the faulty application unit, and finally the healthy application unit is screened out, and then the subsequent link of the traffic is continued. In this embodiment, by setting up a corresponding mutual backup application unit for each application unit, the mutual backup application unit can be used to take over the work when the target application unit fails, ensuring the normal processing of the service request. That is, it ensures that the service can be seamlessly switched when a single point failure occurs, and the system's processing capacity and service efficiency can be improved through load balancing and traffic scheduling technology.

[0075] like Figure 2As shown, the credit investigation business processing system in this embodiment also includes: a traffic allocation management platform. The traffic allocation management platform is used to respond to the user's configuration operation on the load balancing strategy, obtain the predetermined load balancing strategy, and send the predetermined load balancing strategy to the load balancer; and / or, to respond to the user's configuration operation on the traffic routing strategy and the traffic matching strategy, obtain the predetermined traffic routing strategy and the predetermined traffic matching strategy, and send the predetermined traffic routing strategy and the traffic matching strategy to each of the traffic gateways, so that the target traffic gateway determines the target application unit from the target computer room based on the service request, the predetermined traffic routing strategy and the predetermined traffic matching strategy; and / or, to respond to the user's configuration operation on the unit routing strategy, obtain the predetermined unit routing strategy, and send the predetermined unit routing strategy to each of the application units, so that the target application unit determines the target application cluster from the target application based on the service request and the predetermined unit routing strategy. In this embodiment, the traffic allocation management platform can be specifically implemented based on the ZooKeeper distributed coordination service. The traffic allocation management platform provides a visual interface that can manage metadata such as load balancing strategies, traffic routing strategies, traffic matching strategies, unit routing strategies, grayscale strategies, and current limiting strategies. At the same time, the metadata of traffic routing strategies and traffic matching strategies in Zookeeper will be pushed to the front-end traffic gateway in real time. The management platform in this embodiment can realize precise management of traffic routing strategies, flexibly allocate machine resources to traffic pressure, and implement grayscale verification of production online versions in a fine-grained manner. In this embodiment, the traffic allocation management platform can send grayscale strategies to application clusters configured with new versions of applications for application / service testing. In other words, grayscale strategies are strategies for testing new features or fixing problems. By routing a small number of user requests to the new version of the application cluster, the stability and performance of new features can be tested while ensuring that most users still use stable versions of services. If there is a problem with the new version, it can be quickly rolled back to the old version to avoid affecting global users.

[0076] In this embodiment, the traffic allocation management platform can also send the flow limiting strategy to the traffic gateway, and the traffic network can limit the number or rate of concurrent requests to avoid exhaustion or excessive exhaustion of system resources, prevent system overload and crash, and ensure the stability and availability of the system. The flow limiting strategy can be formulated according to the actual load of the system and business needs, such as setting the maximum number of requests processed per second, setting the request frequency of a single user or IP address, etc.

[0077] The credit reporting business processing system in this embodiment also includes: a service registration platform and application routing, a service registration platform / service registration center, which is used to receive registration requests for application services sent by application clusters, configure a cluster identifier for the application cluster based on the registration request, and establish a correspondence between the cluster identifier, the application services processed by the application cluster, the application cluster address, and the application unit to which the application cluster belongs, and send the correspondence to the application unit to which the application cluster belongs. In this embodiment, the service registration and service call functions can be implemented based on the RPC service framework and zookeeper, and the RPC service framework is integrated as an SDK and a business system. Under the unitized architecture, the server registers the service with the registration center, and the registration center saves the interface information, service address, and grouping information of all services. The client discovers the target service address based on the RPC call parameters. Figure 3 As shown, within the same unit, when application 1 wants to call application 2, it obtains the address of application 2 from the registration center and then initiates a service call.

[0078] The credit reporting business processing system in this embodiment also includes an application configuration platform / application configuration center. The application configuration platform is used to store configuration files of each application; and is used to respond to the user's modification operation on the configuration file, obtain the modified configuration file, and send the modified configuration file to the corresponding application cluster so that the application cluster can perform application updates. In this embodiment, the construction of the application configuration platform / configuration center can be implemented based on nacos, and the configuration files of each microservice / application are uniformly managed by the configuration center, which can realize dynamic modification and push of application configuration.

[0079] The credit reporting business processing system in this embodiment also includes an application unitization transformation platform; the application unitization transformation platform is used to divide each virtual machine based on the open source distributed service framework Dubbo to obtain a number of application units; and is used to create a number of application clusters for each application unit. That is, in this embodiment, multiple virtual machines / virtual servers can be virtualized from a physical machine, and then the virtual servers are grouped using Dubbo technology to obtain a number of application units. In this embodiment, application unit grouping can be implemented based on the open source dubbo technology, and the application unit is used as the basic unit of deployment. Several application units are deployed in multiple computer rooms. The number of application units in each computer room is indefinite, and any application unit is deployed with all the applications / services required by the system. Figure 4 As shown, under the unitized architecture, services are layered. Any node in each layer belongs to only one unit. When the upper layer calls the lower layer, only the nodes in this unit will be selected.

[0080] The credit reporting business processing system in this application supports grayscale release and can flexibly allocate grayscale traffic / business requests. When a new version is released, it can allocate traffic to fully verify the new version within the traffic range of a small-scale production unit, and then gradually expand the release range. If there is a problem with the verification during the release process, it can be switched back in time to reduce the impact of the release change and ensure a smooth launch.

[0081] In addition, the system in this application supports blue-green release, isolation of new and old call units, and isolation of the logic of unit traffic closure logic during the release process. This can avoid cross-access compatibility issues between new and old applications and improve release efficiency. At the same time, unitization and multi-activity reduce the scope of fault impact. Businesses are dispersed across multiple regions and multiple unit groups by unit, and the granularity of fault isolation domains is very small. There are many ways to deal with faults, flexible control, and fast fault switching. By adopting a distributed unitized architecture, businesses can be split and expanded after hot spots appear to cope with traffic surges.

[0082] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.

Claims

1. A credit investigation business processing system, characterized in that: include: A load balancer, several computer rooms and traffic gateways corresponding to each computer room, each of the computer rooms is respectively provided with several application units, each of the application units includes several application clusters for processing application services; The load balancer is used to receive a service request sent by a client, determine a target computer room based on the service request, and send the service request to a target traffic gateway corresponding to the target computer room; Each of the traffic gateways comprises a plurality of keepalive clusters, each of the keepalive clusters is configured with a virtual network address for communicating with the load balancing server; Any target traffic gateway is used to receive the service request sent by the load balancer based on each keepalive cluster, determine the target application unit from the corresponding target computer room based on the service request, and send the service request to the target application unit; Each of the application units is communicatively connected with a corresponding traffic gateway; Any target application unit is used to receive a service request sent by the traffic gateway, and allocate the service request to a target application cluster, so as to process the service request based on the target application cluster.

2. The system according to claim 1, characterized in that The load balancing server pre-stores a computer room list, wherein the computer room list includes a correspondence between each computer room identifier and each traffic gateway virtual network address; When the load balancing server determines the target computer room based on the service request, it is specifically used to: Based on a predetermined load balancing strategy, determining a target computer room from the computer rooms; The computer room list is searched based on the computer room identifier of the target computer room, and each target virtual network address of the target traffic gateway corresponding to the target computer room is determined, so as to send the service request to the target traffic gateway based on each target virtual network address.

3. The system according to claim 2, characterized in that The load balancer is also used to send a detection signal to the server in real time, determine the operating status of the server based on the detection signal, and when it is determined that the operating status of the server is a faulty state, delete the corresponding computer room identifier from the computer room list based on the fault range of the server, or send the application unit identifier corresponding to the fault range to the corresponding traffic gateway, so that the traffic gateway deletes the application unit identifier from the application unit list.

4. The system according to claim 1, characterized in that Each of the traffic gateways includes a number of openresty nodes; Each of the traffic gateways is further used to sort the openresty nodes in different arrangement orders based on the openresty nodes in the traffic gateway to obtain an openresty node sequence corresponding to each of the arrangement orders; The keepalive clusters are created based on the openresty node sequences.

5. The system according to claim 1, wherein: The system also includes an application unit mutual backup module; Each of the traffic gateways pre-stores a unit mutual standby table corresponding to the computer room; After the target traffic gateway determines the target application unit from the target computer room based on the service request, the target traffic gateway is further used to: Acquire the running status of the target application unit based on the application unit mutual backup module; When the running state of the target application unit is an unhealthy state, a backup unit corresponding to the target application unit is determined based on the unit mutual backup table, so as to send the service request to the backup unit.

6. The system according to claim 5, characterized in that The acquiring the running status of the target application unit based on the application unit mutual backup module specifically includes: Acquiring operation information of the target application unit based on the fuse to determine the operation state of the target application unit based on the operation information; Alternatively, a heartbeat request is periodically sent to the target application unit based on a predetermined detection instruction, and response information of the target application unit to the heartbeat request is obtained, so as to determine the running state of the target application unit based on the response information.

7. The system according to claim 2, characterized in that The system also includes: a traffic allocation management platform; The traffic allocation management platform is used to respond to the user's configuration operation on the load balancing strategy, obtain the predetermined load balancing strategy, and send the predetermined load balancing strategy to the load balancer; And / or, used to respond to the user's configuration operation on the traffic routing strategy and the traffic matching strategy, obtain a predetermined traffic routing strategy and a predetermined traffic matching strategy, and send the predetermined traffic routing strategy and the traffic matching strategy to each of the traffic gateways, so that the target traffic gateway determines the target application unit from the target computer room based on the service request, the predetermined traffic routing strategy and the predetermined traffic matching strategy; And / or, for responding to the user's configuration operation on the unit routing policy, obtaining a predetermined unit routing policy, and sending the predetermined unit routing policy to each of the application units, so that the target application unit determines the target application cluster from the target application based on the business request and the predetermined unit routing policy.

8. The system of claim 1, wherein: The system also includes: a service registration platform; The application service registration platform is used to receive a registration request for an application service sent by an application cluster, configure a cluster identifier for the application cluster based on the registration request, establish a correspondence between the cluster identifier, the application services processed by the application cluster, the application cluster address, and the application unit to which the application cluster belongs, and send the correspondence to the application unit to which the application cluster belongs.

9. The system according to any one of claims 1 to 8, characterized in that: The system also includes an application configuration platform; The application configuration platform is used to store configuration files of various applications; And, it is used to respond to the modification operation of the user on the configuration file, obtain the modified configuration file, and send the modified configuration file to the corresponding application cluster, so that the application cluster performs application update.

10. The system according to any one of claims 1 to 8, characterized in that: The system also includes an application unitized transformation platform; The application unit transformation platform is used to divide each virtual machine based on the open source distributed service framework Dubbo to obtain a number of application units; And, it is used to create several application clusters for each application unit.

Citation Information

Patent Citations

  • Multi-machine-room operation scheduling method and device, medium and electronic equipment

    CN115756874A

  • Transaction processing method, device and equipment based on distributed architecture system

    CN117149432A

  • Request forwarding gateway implementation method and system based on multi-ceph cluster

    CN118075276A

  • Microservice-based load balancing method, apparatus and device, and storage medium

    WO2021179493A1

Cited By

  • Business system and business execution method

    CN120952950A