Business system global flow control method and device

Through the global flow control method, the output rates of fault nodes and associated units are regulated in real time by using flow control information and co-control information, solving the problem of fault spread in the prior art and ensuring the stability and business consistency of the system.

CN118900252APending Publication Date: 2024-11-05JIUXINGXING CHENGDU INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411206063.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

The existing flow control methods cannot promptly notify the faulty nodes in complex business scenarios, causing the fault to spread to the upstream and downstream service groups, causing overall service problems.

Method used

Provide a global flow control method for business systems, by receiving fault requests from service units, determining fault nodes, and performing traffic control based on configured flow control information and co-control information, including flow control implementation units and message middleware, to adjust faults in real time The output rate of nodes and associated units.

Benefits of technology

It effectively solves the problem of fault spread, maintains the stability of system service functions, reduces the spread and transfer of faults, and ensures the consistency of the business capabilities of the entire system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118900252A_ABST
    Figure CN118900252A_ABST
Patent Text Reader

Abstract

The invention provides a service system global flow control method and device, and relates to the technical field of computers, and the method comprises the following steps: receiving a fault request of a service unit, and determining a fault node; performing flow regulation and control on the fault node according to flow control information matched with the fault node and configured in a control unit, wherein each service unit is preset with the flow control information in one-to-one correspondence; according to the flow regulation and control method and the flow regulation and control device, flow regulation and control are carried out on a fault node according to coordinated control information which is configured in a control unit and matched with an association unit, the association unit is associated with a service unit of the fault node, and each association unit is preset with coordinated control information which is in one-to-one correspondence, so that the secondary problem caused by regulation and control of a single fault node at present is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a flow control method for a business system. Background Art

[0002] At present, traffic control technology is mainly used to solve single-point service management problems. It controls the size of access and output traffic according to the current service situation to ensure the continuous operation of the service.

[0003] However, for complex business scenarios, using the current flow control method, the service system will split services according to functions, so that a business will eventually need to be completed across multiple services. Based on the existing flow control method, when a local service fails, the faulty service node can self-protect and control the flow; however, since the adjustment of the faulty node cannot be notified to the upstream and downstream service nodes in time, the secondary problems caused by single-point control will gradually spread to the upstream and downstream service groups, and then cause overall upstream and downstream service problems. Summary of the invention

[0004] The object of the present invention is to provide a method and device for global flow control of a business system, so as to solve the limitations of current flow control methods and secondary problems caused by failures.

[0005] To solve the above problems, the present invention first provides a global flow control method for a business system, comprising the following steps: receiving a fault request from a service unit and determining a faulty node; regulating the flow of the service unit according to the flow control information configured in the control unit and matching the faulty node, and each of the service units is preset with a one-to-one corresponding flow control information; regulating the flow of the service unit according to the cooperative control information configured in the control unit and matching the associated unit, and the associated unit is associated with the service unit of the faulty node, and each of the associated units is preset with a one-to-one corresponding cooperative control information.

[0006] Furthermore, the service units are all deployed with flow control implementation units, and the flow control implementation units send the identities and operating indicators of the corresponding service units to the control unit, and send the flow control information and the coordination information of the control unit to the corresponding service units, and execute the adjustment of the flow control of the corresponding service units.

[0007] Furthermore, each of the service units is provided with an indicator threshold, and when the monitoring indicator of the service unit exceeds the set indicator threshold, the fault request is issued.

[0008] Furthermore, the service unit is provided with a message middleware, and the message middleware can save the output data and input data when a failure occurs in the service unit.

[0009] Furthermore, the flow control information and the coordination control information both include output rates, which can correspondingly adjust the output rates of the faulty nodes and associated units.

[0010] The present invention also provides a global flow control device for a business system, characterized in that it includes: a receiving module, which receives a fault request from a service unit and determines a faulty node; a general control module, which is configured with flow control information and co-control information, wherein the flow control information is used to regulate the service unit of the faulty node, and the co-control information is used to regulate the associated units associated with the faulty node, and each of the service units is configured with a one-to-one correspondence between the flow control information and the co-control information; and an execution module, which performs flow regulation on the faulty node according to the flow control information matched by the faulty node, and performs flow regulation on the associated unit according to the co-control information matched by the associated unit.

[0011] Furthermore, the execution module sends the identity and operation index corresponding to the service unit to the general control module.

[0012] Furthermore, each of the service units is provided with an indicator threshold, and when the monitoring indicator of the service unit exceeds the set indicator threshold, the fault request is issued.

[0013] Furthermore, the service unit is provided with a message middleware, and the message middleware can save the output data and input data when a failure occurs in the service unit.

[0014] Furthermore, the flow control information and the coordination control information both include output rates, which can correspondingly adjust the output rates of the faulty nodes and associated units.

[0015] According to a global flow control method and device for a business system provided by the present invention, each service unit is configured with an independent flow control method, including flow control information and co-control information. The faulty service unit performs flow control and processing based on the flow control information, and other associated upstream and downstream associated units perform processing according to the corresponding co-control information. In this way, after a service unit fails, the flow of the faulty node can be regulated in real time, and the associated services can be notified to make adjustments, thereby performing flow control on the global business system, solving the secondary problems caused by the current regulation of a single faulty node. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] 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 described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0017] Figure 1 A schematic diagram of service deployment of a global flow control method for a business system provided by an embodiment of the present invention;

[0018] Figure 2 This is a flow chart of a method for global flow control of a business system provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to make the above-mentioned objects, features and advantages of the present invention more clearly understood, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0020] Example 1

[0021] In order to solve the limitations of current flow control methods and secondary problems caused by faults, this embodiment provides a global flow control method for a business system, such as Figure 1 and 2 As shown, the following steps are included:

[0022] A flow control implementation unit is deployed for each service unit. When the service unit is running, the flow control implementation unit can send the corresponding service unit identity and operation indicators to the control unit;

[0023] The control unit can receive the operation status information of each service unit, and the control unit is configured with one-to-one corresponding flow control information and coordination control information for each service unit;

[0024] Each service unit has an indicator threshold. When the monitoring indicator of a service unit exceeds the set indicator threshold, a fault request is issued;

[0025] Receiving a fault request from a service unit and determining a faulty node;

[0026] Select the flow control information configured in the control unit that matches the faulty node, and perform flow control on the faulty node through the flow control implementation unit;

[0027] The cooperative control information configured in the control unit and matching the associated unit is selected, and the flow control implementation unit synchronously performs flow control on the associated unit, wherein the associated unit is associated with the service unit.

[0028] Preferably, in order to increase the buffering capacity when a service unit fails, the service unit is provided with a message middleware. When a service unit fails, the message middleware can save the output data and input data at the time of the failure to a database.

[0029] When the failed service unit is regulated, the output rates of the failed node and the associated units can be adjusted accordingly according to the corresponding output rates included in the flow control information and the cooperative control information, thereby avoiding secondary problems.

[0030] The flow control method provided in this embodiment aims to maintain the stability of system service functions and perform global flow control, effectively solving the secondary problems and fault diffusion and transfer problems caused by the current single service point control. This method reduces the spread and transfer of faults, avoids the fluctuation of other service stability after the flow control of the faulty service node, and ensures the consistency of the entire system's ability to provide external services.

[0031] Example 2

[0032] This embodiment provides a business system global flow control device, which can implement the business system global flow control method provided in Embodiment 1, including:

[0033] The receiving module receives the fault request from the service unit and determines the fault node; each service unit has an indicator threshold, and if the monitoring indicator of the service unit exceeds the set indicator threshold, a fault request is issued;

[0034] The master control module is configured with flow control information and cooperative control information. The flow control information is used to regulate the service unit of the faulty node, and the cooperative control information is used to regulate the associated unit associated with the faulty node. Each service unit is configured with one-to-one corresponding flow control information and cooperative control information;

[0035] The execution module regulates the flow of the faulty node according to the flow control information matched by the faulty node, and regulates the flow of the faulty node according to the coordination control information matched by the associated unit. In addition, the identity and operation indicators of the corresponding service unit can be sent to the master control module.

[0036] In the description of this embodiment, it should be noted that those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment method can be implemented by instructing the control device through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it may include the processes of the above-mentioned method embodiments, wherein the storage medium may be a memory, a disk, an optical disk, etc.

[0037] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.

[0038] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0039] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0040] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A global flow control method for a business system, characterized in that: The following steps are involved: Receive a fault request from a service unit and determine the faulty node; Regulating the flow of the faulty node according to the flow control information configured in the control unit and matching the faulty node, wherein each of the service units is preset with one-to-one corresponding flow control information; Traffic is regulated according to the coordination information configured in the control unit and matching the association unit, wherein the association unit is associated with the service unit of the faulty node, and each of the association units is preset with one-to-one corresponding coordination information.

2. The business system global flow control method according to claim 1, characterized in that: The service units are all deployed with flow control implementation units, and the flow control implementation units send the identities and operating indicators of the corresponding service units to the control unit, and send the flow control information and the coordination information of the control unit to the corresponding service units, and execute the flow control adjustment of the corresponding service units.

3. The business system global flow control method according to claim 2, characterized in that: The service units are all provided with an indicator threshold. When the monitoring indicator of the service unit exceeds the set indicator threshold, the fault request is issued.

4. The business system global flow control method according to claim 2, characterized in that: The service unit is provided with a message middleware, and the message middleware can save the output data and input data when a failure occurs in the service unit.

5. The business system global flow control method according to claim 2, characterized in that: The flow control information and the coordination control information both include output rates, which can correspondingly adjust the output rates of the faulty node and associated units.

6. A global flow control device for a business system, characterized in that: include: A receiving module receives a fault request from a service unit and determines a faulty node; A master control module is configured with flow control information and cooperative control information, wherein the flow control information is used to regulate the service unit of the faulty node, and the cooperative control information is used to regulate the associated unit associated with the faulty node, and each of the service units is configured with the flow control information and the cooperative control information in one-to-one correspondence; An execution module performs flow control on the faulty node according to the flow control information matched by the faulty node, and performs flow control on the faulty node according to the cooperative control information matched by the association unit.

7. The service system global flow control device according to claim 6, characterized in that: The execution module sends the identity and operation index of the corresponding service unit to the general control module.

8. The service system global flow control device according to claim 7, characterized in that: The service units are all provided with an indicator threshold. When the monitoring indicator of the service unit exceeds the set indicator threshold, the fault request is issued.

9. The service system global flow control device according to claim 7, characterized in that: The service unit is provided with a message middleware, and the message middleware can save the output data and input data when a failure occurs in the service unit.

10. The service system global flow control device according to claim 7, characterized in that: The flow control information and the coordination control information both include output rates, which can correspondingly adjust the output rates of the faulty node and associated units.