A middleware connection system and method for shielding middleware differences

Through a unified middleware connection system and method, components such as the connection configuration manager are used to simplify the connection between application software and middleware, solving the problems of connection complexity and high dependence in the existing technology, and realizing fast and reliable middleware. Connection improves the implementation and operation and maintenance efficiency of application systems.

CN115801886BActive Publication Date: 2024-09-10INSPUR GENERSOFT CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211433291.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-16
Publication Date
2024-09-10
Estimated Expiration
2042-11-16

AI Technical Summary

Technical Problem

In the existing technology, the connection between application software and middleware is complex and highly dependent, which results in the need for synchronous updates when the middleware service address changes, and the configuration of each application software service node needs to be changed, resulting in cumbersome development and deployment processes.

Method used

Provide a middleware connection system and method that shields middleware differences, including a connection configuration manager, a request receiver, a request dispatcher, a request verifier, a middleware connection router and a connection tracker, and implements middleware through a unified API Connection, simplify configuration management, create communication connection channels and register with middleware connection pool when necessary, track connection status and perform circuit breaker or current limiting processing.

Benefits of technology

It realizes reliable, fast and simple connection between application system and middleware, shields the differences of middleware, decouples the relationship between application software and middleware, and improves the efficiency of connection configuration and operation and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115801886B
    Figure CN115801886B
Patent Text Reader

Abstract

The present invention relates to the field of computer application software, and in particular to a middleware connection system and method for shielding middleware differences. The system comprises: a connection configuration manager, a request receiver for connecting middleware, a request distributor for connecting middleware, a request verifier for connecting middleware, a middleware connection router and a middleware connection tracker; the connection configuration manager is used to manage middleware connection adapters, middleware connection configurations and an application system whitelist; the request receiver for connecting middleware is used to receive a request for connecting middleware from an application system and to respond to the request for connecting middleware; the request distributor for connecting middleware is used to generate a request identifier for the request for connecting middleware and distribute it to a request pool for connecting middleware corresponding to the middleware; the present invention simplifies the implementation and configuration of the application system connecting middleware and improves the implementation and operation and maintenance efficiency of application software.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer application software, and in particular to a middleware connection system and method for shielding middleware differences. Background Art

[0002] With the changes in information technology, the architecture of computer application software is becoming more and more complex, and the number of middlewares it relies on is increasing, especially for distributed and cluster deployment architecture application software, which relies on more middlewares. For example, an ERP system based on microservice architecture not only relies on structured databases, but also on middlewares such as Redis, RabbitMQ, Elasticsearch, Seata, and Istio.

[0003] At present, the above-mentioned application software is highly dependent on various middlewares, and it is very complicated to realize and deploy the connection with the middleware. In the process of developing application software, developers need to call different types of middleware connection adapters to realize communication with various middlewares; in the deployment process, the connection information with each middleware should be configured in each application software service node. When the middleware service address changes, the corresponding configuration of each application software service node should be changed synchronously. In order to solve this technical problem, a middleware connection system and method for shielding middleware differences are proposed. Summary of the invention

[0004] In order to solve the technical problems existing in the above-mentioned prior art, the present invention provides a middleware connection system and method for shielding middleware differences. No matter how many application software systems are connected to how many middleware, it is only necessary to call one API and configure the connection once to achieve reliable, fast and simple connection of the middleware, and to improve the implementation efficiency of the connection configuration between the application system and the middleware.

[0005] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:

[0006] In a first aspect, in an embodiment provided by the present invention, a middleware connection system for shielding middleware differences is provided, the system comprising: a connection configuration manager, a request receiver for connecting middleware, a request distributor for connecting middleware, a request verifier for connecting middleware, a middleware connection router and a middleware connection tracker;

[0007] The connection configuration manager is used to manage middleware connection adapters, middleware connection configurations, and application system whitelists;

[0008] The request receiver of the connection middleware is used to receive the request of the application system to connect to the middleware and respond to the request of the connection middleware;

[0009] The request distributor of the connection middleware is used to generate a request identifier for the request of the connection middleware and distribute it to the request pool of the connection middleware corresponding to the middleware;

[0010] The request verifier of the connection middleware is used to verify whether the application system is allowed to connect to the middleware;

[0011] The middleware connection router is used to search for a corresponding middleware connection from a middleware connection pool corresponding to the request to connect to the middleware, and if not found, to create a communication connection channel between the application system and the middleware, and register the connection to the corresponding middleware connection pool;

[0012] The middleware connection tracker is used to track the connection status of all middleware throughout the process, and to perform fuse or current limiting processing on the connection depending on the connection status and the middleware server resource situation.

[0013] As a further solution of the present invention, the connection configuration manager may further include:

[0014] Middleware connection adapter, which is used to register the implementation class of different types of middleware services;

[0015] Middleware connector configuration, which is used to define and manage the configuration information for connecting to middleware services, including middleware server URL, port, user name, and password information;

[0016] Application system whitelist management is used to register application systems that can establish connections with the middleware. The whitelist information includes the application system ID, name, server URL, and port information.

[0017] As a further solution of the present invention, the request distributor of the connection middleware is used to generate a request identifier for the request of the connection middleware and distribute it to the request pool of the connection middleware corresponding to the middleware, and also includes:

[0018] The request pool of the middleware-connected middleware is used to cache the request of the application system to connect to the middleware;

[0019] Different middleware services create different middleware connection middleware request pools.

[0020] In a second aspect, in another embodiment provided by the present invention, a middleware connection method for shielding middleware differences is provided, the method comprising the following steps:

[0021] As a further solution of the present invention, initializing the middleware to connect to the request pool and the middleware connection pool of the middleware;

[0022] Receiving a connection middleware request sent by an application system, wherein the connection middleware request is used by the application system to request a connection middleware, and the connection middleware request includes an identifier of the application system and an identifier of the middleware;

[0023] Generate a request identifier for the request of the connection middleware, and assign it to the request pool of the connection middleware corresponding to the middleware;

[0024] Based on the request for connecting to the middleware, verify whether the application system is allowed to connect to the middleware;

[0025] Based on the middleware connection configuration, searching for a corresponding middleware connection from the middleware connection pool corresponding to the request to connect to the middleware, if not found, creating a communication connection channel between the application system and the middleware, and registering the connection to the corresponding middleware connection pool;

[0026] Track the connection status of all middleware throughout the process, and perform fuse or current limiting on the connection depending on the connection status and middleware server resources.

[0027] As a further solution of the present invention, a connection middleware request sent by an application system is received, the connection middleware request is used by the application system to request the connection middleware, the connection middleware request includes an identifier of the application system and an identifier of the middleware, and further includes:

[0028] It can receive requests from the connection middleware of multiple distributed applications within an application system, and it can also receive requests from the connection middleware of multiple application systems;

[0029] The middleware includes but is not limited to structured database, time series database, message middleware, API management, service registration discovery and transaction management type middleware;

[0030] A whitelist mechanism is used to perform connection permission control on the requester of the connection middleware. Application systems that are not on the whitelist will have their requests to connect to the middleware rejected.

[0031] As a further solution of the present invention, a request identifier is generated for the request of the connection middleware, and the request identifier is allocated to the request pool of the connection middleware corresponding to the middleware, further comprising:

[0032] When the request to connect to the middleware is processed, it will be removed from the request pool of the corresponding middleware to connect to the middleware, and the removal operation follows the first-in-first-out principle.

[0033] As a further solution of the present invention, based on the request of the connection middleware, verifying whether the application system is allowed to connect to the middleware includes:

[0034] Verify whether the middleware service is connectable, and if not, provide feedback to the requester that the target is not connectable;

[0035] Verify whether the number of connections of the middleware service is limited. If the number of connections exceeds the preset limit, feedback to the requester that the target number of connections exceeds the limit is fed back.

[0036] As a further solution of the present invention, searching for a corresponding middleware connection from a middleware connection pool corresponding to the request to connect to the middleware, and if not found, creating a communication connection channel between the application system and the middleware, and registering the connection to the corresponding middleware connection pool, further comprising:

[0037] Returning the found middleware connection to the requester, and the requester communicates with the middleware service through the connection;

[0038] The created communication connection channel is returned to the requester, and the requester communicates with the corresponding middleware service through the connection.

[0039] As a further solution of the present invention, the middleware connection status is tracked throughout the process, and the middleware connection is subjected to fuse and current limiting processing based on the resource status, which also includes:

[0040] The resource status includes the computing resources of the middleware server, including the usage status of the CPU, hard disk and network;

[0041] When the application system fails to connect to the middleware multiple times, the connection is fused. The number of connections is preset and greater than 1.

[0042] When the usage of the computing resources of the middleware server exceeds the preset limit, the number of concurrent connections is limited.

[0043] The technical solution provided by the present invention has the following beneficial effects:

[0044] The present invention provides a middleware connection system and method for shielding middleware differences. The present invention receives requests from different business systems to connect to middleware, and establishes and manages connections with different middleware, shielding the differences between middleware and decoupling the relationship between application software and middleware, simplifying the implementation and configuration of application system connection to middleware, and improving the implementation and operation efficiency of application software.

[0045] These and other aspects of the present invention will be more clearly understood in the following description of the embodiments. It should be understood that the above general description and the following detailed description are only exemplary and explanatory and cannot limit the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can be obtained based on these drawings without paying creative work.

[0047] Figure 1 A functional module block diagram of a middleware connection system for shielding middleware differences provided by an embodiment of the present invention;

[0048] Figure 2 A functional module block diagram of a middleware connection system module 101 for shielding middleware differences provided by an embodiment of the present invention;

[0049] Figure 3 A schematic flow chart of a middleware connection method for shielding middleware differences provided by an embodiment of the present invention;

[0050] Figure 4 A schematic diagram showing the principle of the traditional connection between the business application software and the middleware provided in the embodiment of the present invention;

[0051] Figure 5 A schematic diagram of the principles of a middleware connection system and method for shielding middleware differences provided by an embodiment of the present invention.

[0052] In the figure: connection configuration manager-101, connection middleware request receiver-102, connection middleware request distributor-103, connection middleware request verifier-104, middleware connection router-105, middleware connection tracker-106, middleware connection adapter-201, middleware connector configuration-202, application system whitelist management-203. DETAILED DESCRIPTION

[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor do they have to be executed in the order described. For example, some operations / steps can also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0055] It should be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0056] Specifically, the embodiments of the present invention are further described below in conjunction with the accompanying drawings.

[0057] See also Figure 3 As shown, in an embodiment of the present invention, a middleware connection system that shields middleware differences is also provided. The system is used to receive requests from different business systems to connect to middleware, and to establish and manage connections with different middleware; the system includes a connection configuration manager 101, a connection middleware request receiver 102, a connection middleware request distributor 103, a connection middleware request verifier 104, a middleware connection router 105, and a middleware connection tracker 106.

[0058] The connection configuration manager 101 is used to manage middleware connection adapters, middleware connection configurations, and application system whitelists.

[0059] Further, in one embodiment of the present invention, Figure 2 As shown, the connection configuration manager 101 may further include:

[0060] Middleware connection adapter 201, used to register and connect to the implementation class of different types of middleware services;

[0061] Middleware connector configuration 202, used to define and manage configuration information for connecting to middleware services, including middleware server URL, port, user name, password, etc.;

[0062] Application system whitelist management 203 is used to register application systems that can establish connections with the middleware. The whitelist information includes application system ID, name, server URL, port and other information.

[0063] The connection middleware request receiver 102 is used to receive a request from an application system to connect to a middleware, and to respond to the request to connect to the middleware.

[0064] The connection middleware request distributor 103 is used to generate a request identifier for the request of the connection middleware, and distribute it to the connection middleware request pool corresponding to the middleware.

[0065] Furthermore, in an embodiment of the present invention, the connection middleware request distributor 103 further comprises: the middleware connection middleware request pool is used to cache the application system connection middleware request; different middleware services create different middleware connection middleware request pools.

[0066] The connection middleware request verifier 104 is used to verify whether the application system is allowed to connect to the middleware.

[0067] The middleware connection router 105 is used to search for the corresponding middleware connection from the middleware connection pool corresponding to the connection middleware request. If not found, a communication connection channel between the application system and the middleware is created and the connection is registered to the corresponding middleware connection pool.

[0068] Furthermore, in one embodiment of the present invention, the middleware connection router 105 further includes: the middleware connection pool is used to cache the connection established between the application system and the middleware; different middleware services create different middleware connection pools.

[0069] The middleware connection tracker 106 is used to track the connection status of all middleware throughout the process, and perform fuse or current limiting processing on the connection depending on the connection status and the middleware server resource situation.

[0070] To perform fuse or current limiting on the connection, technicians can set a threshold state based on the connection status and middleware server resource conditions, and perform corresponding fuse or current limiting processing when the state is reached.

[0071] Furthermore, in one embodiment of the present invention, the system of the present invention only provides a unique connection API for application software system calls, and the API contains information such as middleware identification and application software system identification.

[0072] In one embodiment, see Figure 1 , Figure 1 is a flow chart of a middleware connection method for shielding middleware differences provided by an embodiment of the present invention, such as Figure 1 As shown, the middleware connection method for shielding middleware differences includes steps S301 to S306.

[0073] S301, initializing the middleware to connect to the middleware request pool and the middleware connection pool.

[0074] S302: Receive a connection middleware request sent by an application system, where the connection middleware request is used by the application system to request a connection middleware, and the connection middleware request includes an identifier of the application system and an identifier of the middleware.

[0075] Wherein, the step S302 further includes:

[0076] Receive connection middleware requests from multiple distributed applications within an application system, and also receive connection middleware requests from multiple application systems;

[0077] The middleware includes but is not limited to structured database, time series database, message middleware, API management, service registration discovery, transaction management and other types of middleware;

[0078] A whitelist mechanism is used to perform connection permission control on the connection middleware requester. Application systems that are not on the whitelist will have their connection middleware requests rejected.

[0079] S303: Generate a request identifier for the connection middleware request, and allocate it to a connection middleware request pool corresponding to the middleware.

[0080] Wherein, the step S303 includes:

[0081] When the connection middleware request is processed, it will be removed from the corresponding middleware connection middleware request pool, and the removal operation follows the first-in-first-out principle.

[0082] S304: Based on the middleware connection request, verify whether the application system is allowed to connect to the middleware.

[0083] Wherein, the step S304 includes:

[0084] Verify whether the middleware service is connectable, and if not, provide feedback to the requester that the target is not connectable;

[0085] Verify whether the number of connections of the middleware service is limited. If the number of connections exceeds the preset limit, feedback to the requester that the target number of connections exceeds the limit is fed back.

[0086] S305. Based on the middleware connection configuration, search for a corresponding middleware connection from a middleware connection pool corresponding to the connection middleware request. If not found, create a communication connection channel between the application system and the middleware, and register the connection to the corresponding middleware connection pool.

[0087] Wherein, the step S305 further includes:

[0088] Returning the found middleware connection to the requester, and the requester communicates with the middleware service through the connection;

[0089] The created communication connection channel is returned to the requester, and the requester communicates with the corresponding middleware service through the connection.

[0090] In practical applications, for example, Figure 5As shown, the application system (such as financial management, sales management, and capital management in the ERP system) sends a connection middleware request, and the middleware connection system receives the connection middleware request sent by the application system, and then establishes connections between different application systems and different types of middleware according to the connection middleware request.

[0091] In some embodiments, a middleware connection method for shielding middleware differences provided by an embodiment of the present application may further include:

[0092] S306: Track the middleware connection status, and perform fuse and current limiting processing on the middleware connection based on the resource status.

[0093] Among them, the resource status includes the computing resources of the middleware server, including the usage status of the CPU, hard disk and network; when the application system fails to connect to the middleware multiple times, the connection is fused, and the number of connections is preset and greater than 1; when the usage of the computing resources of the middleware server exceeds the preset limit, the number of concurrent connections is limited.

[0094] The traditional connection method between application system and middleware, such as Figure 4 As shown, the application system is highly coupled with the middleware, and the traditional connection relationship between the application software system and the middleware is complex, which seriously affects the flexibility and reliability of the application software system. Figure 5 As shown, it is not only novel in concept, reasonable in design, simple in implementation, and convenient in configuration, but also has the advantages of reliable connection and high efficiency. The embodiment of the present invention can quickly realize the middleware connection that shields the difference of middleware, reduce the coupling degree between the application system and the middleware, and improve the implementation efficiency of the connection configuration between the application system and the middleware, and has good promotion value.

[0095] It should be understood that, although described in a certain order, these steps are not necessarily performed in sequence in the above order. Unless there is clear explanation in this article, the execution of these steps does not have strict order restriction, and these steps can be performed in other orders. Moreover, a part of the steps of the present embodiment may include a plurality of steps or a plurality of stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a part of the steps or stages in other steps or other steps.

[0096] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

[0097] The above are exemplary embodiments disclosed in the present invention, but it should be noted that various changes and modifications may be made without departing from the scope disclosed in the embodiments of the present invention as defined in the claims. The functions, steps and / or actions of the method claims according to the disclosed embodiments described herein do not need to be performed in any particular order. In addition, although the elements disclosed in the embodiments of the present invention may be described or required in individual form, they may also be understood as multiple unless explicitly limited to the singular.

[0098] It should be understood that, as used herein, the singular form "a" or "an" is intended to include the plural form as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" refers to any and all possible combinations of one or more of the items listed in association. The serial numbers of the embodiments disclosed in the above embodiments of the present invention are for description only and do not represent the advantages and disadvantages of the embodiments.

[0099] A person skilled in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the disclosure of the embodiments of the present invention (including the claims) is limited to these examples; under the concept of the embodiments of the present invention, the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the embodiments of the present invention as above, which are not provided in detail for the sake of simplicity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the embodiments of the present invention.

Claims

1. A middleware connection system that shields middleware differences, used to receive requests from different business systems to connect to middleware, and to establish and manage connections with different middleware. It is characterized in that The system includes: a connection configuration manager, a connection middleware request receiver, a connection middleware request distributor, a connection middleware request verifier, a middleware connection router and a middleware connection tracker; The connection configuration manager is used to manage middleware connection adapters, middleware connection configurations, and application system whitelists; The request receiver of the connection middleware is used to receive the request of the application system to connect to the middleware and respond to the request of the connection middleware; The request distributor of the connection middleware is used to generate a request identifier for the request of the connection middleware and distribute it to the request pool of the connection middleware corresponding to the middleware; The request verifier of the connection middleware is used to verify whether the application system is allowed to connect to the middleware; The middleware connection router is used to search for a corresponding middleware connection from a middleware connection pool corresponding to the request to connect to the middleware, and if not found, to create a communication connection channel between the application system and the middleware, and register the connection to the corresponding middleware connection pool; The middleware connection tracker is used to track the connection status of all middleware throughout the process, and to perform fuse or current limiting processing on the connection according to the connection status and the middleware server resource situation; Among them, the corresponding middleware connection is searched from the middleware connection pool corresponding to the request for connecting to the middleware. If not found, a communication connection channel between the application system and the middleware is created, and the connection is registered in the corresponding middleware connection pool. It also includes: returning the found middleware connection to the requester, and the requester communicates with the middleware service through the connection; returning the created communication connection channel to the requester, and the requester communicates with the corresponding middleware service through the connection.

2. The middleware connection system for shielding middleware differences according to claim 1, It is characterized in that The connection configuration manager further includes: Middleware connection adapter, used to register implementation classes that connect to different types of middleware services; Middleware connector configuration, which is used to define and manage the configuration information for connecting to middleware services, including middleware server URL, port, user name, and password information; Application system whitelist management is used to register application systems that establish connections with middleware. The whitelist information includes application system ID, name, server URL, and port information.

3. The middleware connection system for shielding middleware differences according to claim 1, It is characterized in that The request distributor of the connection middleware is used to generate a request identifier for the request of the connection middleware and distribute it to the request pool of the connection middleware corresponding to the middleware, and also includes: The request pool of the connection middleware is used to cache the request of the application system connection middleware; Different middleware services create different request pools for connecting to middleware.

4. The middleware connection system for shielding middleware differences according to claim 1, It is characterized in that The middleware connection router is used to search for a corresponding middleware connection from a middleware connection pool corresponding to the request to connect to the middleware, and if not found, to create a communication connection channel between the application system and the middleware, and register the connection to the corresponding middleware connection pool, and also includes: The middleware connection pool is used to cache the connection established between the application system and the middleware; Different middleware services create different middleware connection pools.

5. A middleware connection method that shields middleware differences, It is characterized in that include: Initialize the request pool and middleware connection pool for connecting to the middleware; Receiving different types of connection middleware requests sent by different application systems, wherein the connection middleware request is used by the application system to request the connection middleware, and the connection middleware request includes an identifier of the application system and an identifier of the middleware; Generate a request identifier for the request of the connection middleware, and assign it to the request pool of the connection middleware corresponding to the middleware; Based on the request for connecting to the middleware, verify whether the application system is allowed to connect to the middleware; Based on the middleware connection configuration, searching for a corresponding middleware connection from the middleware connection pool corresponding to the request to connect to the middleware, if not found, creating a communication connection channel between the application system and the middleware, and registering the connection to the corresponding middleware connection pool; Track the connection status of all middleware throughout the process, and perform fuse or current limiting on the connection depending on the connection status and middleware server resources; Among them, based on the middleware connection configuration, the corresponding middleware connection is searched from the middleware connection pool corresponding to the request for connecting to the middleware. If not found, a communication connection channel between the application system and the middleware is created, and the connection is registered to the corresponding middleware connection pool. It also includes: returning the found middleware connection to the requester, and the requester communicates with the middleware service through the connection; returning the created communication connection channel to the requester, and the requester communicates with the corresponding middleware service through the connection.

6. The method according to claim 5, It is characterized in that A connection middleware request sent by an application system is received, wherein the connection middleware request is used by the application system to request the connection middleware, and the connection middleware request includes an identifier of the application system and an identifier of the middleware, and further includes: Receiving a request from a connection middleware of multiple distributed applications in one application system, or receiving a request from a connection middleware of multiple application systems; The middleware includes but is not limited to structured database, time series database, message middleware, API management, service registration discovery and transaction management type middleware; A whitelist mechanism is used to perform connection permission control on the requester of the connection middleware. Application systems that are not on the whitelist will have their requests to connect to the middleware rejected.

7. The method according to claim 5, It is characterized in that Generating a request identifier for the request of the connection middleware and allocating it to the request pool of the connection middleware corresponding to the middleware, further comprising: When the request of the connection middleware is processed, it will be removed from the request pool of the corresponding connection middleware, and the removal operation follows the first-in-first-out principle.

8. The method according to claim 5, It is characterized in that Based on the request for connecting to the middleware, verifying whether the application system is allowed to connect to the middleware includes: Verify whether the middleware service is connectable, and if not, provide feedback to the requester that the target is not connectable; Verify whether the number of connections of the middleware service is limited. If the number of connections exceeds the preset limit, feedback to the requester that the target number of connections exceeds the limit is fed back.

9. The method according to claim 5, It is characterized in that Track the middleware connection status throughout the process, and perform fuse and current limiting on the middleware connection based on resource status, including: The resource status includes the computing resources of the middleware server, including the usage status of the CPU, hard disk and network; When the application system fails to connect to the middleware multiple times, the connection is fused. The number of connections is preset and greater than 1. When the usage of the computing resources of the middleware server exceeds the preset limit, the number of concurrent connections is limited.

Citation Information

Patent Citations

  • Middleware system, service request processing method, electronic equipment and storage medium

    CN114466070A

  • Database multi-thread processing method and device, equipment and storage medium

    CN115309757A

  • A mobile middleware and a method for processing business logic using it

    KR100671506B1

  • Service request processing method and device

    WO2016107340A1