Transaction flow control method, device, equipment, medium and computer program product

By obtaining and comparing real-time and historical transaction indicator data of business in the financial system and dynamically adjusting the flow control level, the problem that the existing technology cannot meet the transaction flow control requirements of different business types is solved, and more accurate flow control and system operation are achieved.

CN114257411BActive Publication Date: 2025-03-28CHINA CONSTRUCTION BANK
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111401046.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-19
Publication Date
2025-03-28
Estimated Expiration
2041-11-19

AI Technical Summary

Technical Problem

The existing technology cannot meet the transaction flow control requirements of different business types in the financial system, and cannot accurately match the operation of the financial system.

Method used

By obtaining real-time and historical transaction indicator data of target type services, comparing and adjusting flow control levels to meet the needs of different business types. The specific method includes determining the ratio between the real-time service response time and the historical average response time, and reducing the flow control level if the ratio is greater than the preset value; at the same time, determining whether it is a hacker attack based on the ratio of real-time and historical service data, and increasing the flow control level if the conditions are not met.

Benefits of technology

Accurate flow control for different business types is realized, flow control strategies are dynamically adjusted to adapt to the operation of the financial system, and the system's response speed and security are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114257411B_ABST
    Figure CN114257411B_ABST
Patent Text Reader

Abstract

The present application relates to a transaction flow control method, device, computer equipment and storage medium. The method comprises: obtaining real-time transaction index data of a target type of business; obtaining historical transaction index data of a target type of business; comparing the real-time transaction index data with the historical transaction index data, and adjusting the current flow control level of the target type of business according to the comparison result. The present method can meet the transaction flow control requirements of different business types and fit the operation of the financial system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of big data analysis, and in particular to a transaction flow control method, apparatus, computer equipment, storage medium and computer program product. Background Art

[0002] In financial systems, the purpose of transaction flow control is to limit the number of concurrent transactions, avoid slow or even stopped business response due to excessive concurrent transactions, and ensure the normal operation of the financial system.

[0003] In the prior art, when performing transaction flow control, a rated transaction flow control threshold is set based on a unified and standardized transaction flow control method. When the transaction volume in the financial system exceeds the rated transaction flow control threshold, flow control is triggered, and access is denied to transaction requests that exceed the flow control threshold.

[0004] However, in the financial system, there are many types of business. The use of a unified and standardized transaction flow control method cannot meet the transaction flow control requirements of different business types and cannot accurately fit the operation of the financial system. Summary of the invention

[0005] Based on this, it is necessary to provide a transaction flow control method, device, computer equipment, storage medium and computer program product that can meet the transaction flow control requirements of different business types in response to the above technical problems.

[0006] In a first aspect, a transaction flow control method is provided, the method comprising:

[0007] Obtain real-time transaction indicator data for target type of business;

[0008] Obtain historical transaction indicator data of target type of business;

[0009] Compare the real-time transaction index data with the historical transaction index data, and adjust the current flow control level of the target type of business based on the comparison results.

[0010] In one embodiment, the real-time transaction indicator data includes the real-time service response time, and the historical transaction indicator data includes the historical average service response time. The current flow control level of the target type of service is adjusted according to the comparison result, including:

[0011] Determine a first ratio between the real-time service response time and the historical average service response time;

[0012] If the first ratio is greater than the first preset ratio, the current flow control level of the target type of service is reduced, wherein the level of the flow control level is positively correlated with the number of concurrent services.

[0013] In one embodiment, obtaining historical transaction indicator data of a target type of business includes:

[0014] Acquire historical business transaction data, where the historical transaction data includes historical business response times of multiple target types of businesses in a first historical time period;

[0015] The average of multiple historical service response times is calculated to obtain the historical average service response time.

[0016] In one embodiment, the method further comprises:

[0017] Obtaining an initial regulation level for a target type of business;

[0018] Update the real-time service response time of the target type of service according to the preset conditions and obtain the updated real-time service response time;

[0019] When the ratio between the updated real-time service response time and the historical average service response time is less than a second preset ratio, the flow control level of the target type of service is adjusted to the initial regulation level.

[0020] In one embodiment, the real-time transaction indicator data includes the real-time business data volume, and the historical transaction indicator data includes the historical business data volume. The current flow control level of the target type of business is adjusted according to the comparison result, including:

[0021] Determining a second ratio between the amount of real-time business data and the amount of historical business data;

[0022] If the second ratio is greater than the third preset ratio, determining whether the hacker attack condition is met;

[0023] If the hacker attack conditions are not met, the current flow control level of the target type of business is increased, where the flow control level is positively correlated with the number of concurrent businesses.

[0024] In one embodiment, obtaining historical transaction indicator data of a target type of business includes:

[0025] Obtain the maximum historical business transaction data volume of the target type of business in the second historical time period;

[0026] The maximum historical business transaction data volume is used as the historical business data volume.

[0027] In one embodiment, determining whether a hacker attack condition is met includes:

[0028] Determine whether the IP address of the device that initiates the target type of service is in the IP address blacklist;

[0029] If not, it is determined that the hacker attack condition is not met.

[0030] In one embodiment, the method further comprises:

[0031] Obtain the IP addresses corresponding to the services occurring within a preset time period;

[0032] Count the business transaction data volume corresponding to each IP address, and compare the business transaction data volume corresponding to each IP address with a preset threshold;

[0033] If the amount of business transaction data corresponding to an IP address is greater than a preset threshold and the IP address is not in the IP address whitelist, the IP address will be added to the IP address blacklist.

[0034] In one embodiment, the method further comprises:

[0035] The current flow control level of the target type of service is determined according to the target type, wherein different service types correspond to different flow control levels.

[0036] In a second aspect, a transaction flow control device is provided, comprising:

[0037] A first acquisition module, for real-time transaction index data of a target type of business and historical transaction index data of a target type of business;

[0038] The flow control module is used to compare the real-time transaction index data with the historical transaction index data, and adjust the current flow control level of the target type of business according to the comparison results.

[0039] In one embodiment, the real-time transaction indicator data includes the real-time business response time, the historical transaction indicator data includes the historical average business response time, and the flow control module includes:

[0040] A first ratio determination unit, used to determine a first ratio between the real-time service response time and the historical average service response time;

[0041] The first comparison unit is used to reduce the current flow control level of the target type of business if the first ratio is greater than the first preset ratio, wherein the flow control level is positively correlated with the number of concurrent businesses.

[0042] In one embodiment, the first acquisition module is used to:

[0043] Acquire historical business transaction data, where the historical transaction data includes historical business response times of multiple target types of businesses in a first historical time period;

[0044] The average of multiple historical service response times is calculated to obtain the historical average service response time.

[0045] In one embodiment, the device further comprises:

[0046] A second acquisition module is used to acquire an initial regulation level of a target type of service;

[0047] An updating module, used to update the real-time service response time of the target type of service according to preset conditions and obtain the updated real-time service response time;

[0048] The adjustment module is used to adjust the flow control level of the target type of business to the initial regulation level when the ratio between the updated real-time business response time and the historical average business response time is less than a second preset ratio.

[0049] In one embodiment, the real-time transaction indicator data includes the real-time business data volume, the historical transaction indicator data includes the historical business data volume, and the flow control module includes:

[0050] A second ratio determination unit, used to determine a second ratio between the real-time service data volume and the historical service data volume;

[0051] A second comparison unit, configured to determine whether a hacker attack condition is met if the second ratio is greater than a third preset ratio;

[0052] The level control unit is used to increase the current flow control level of the target type of business if the hacker attack conditions are not met, wherein the level of flow control is positively correlated with the number of concurrent businesses.

[0053] In one embodiment, the first acquisition module is used to:

[0054] Obtain the maximum historical business transaction data volume of the target type of business in the second historical time period;

[0055] The maximum historical business transaction data volume is used as the historical business data volume.

[0056] In one of the embodiments, the second comparison unit is used to determine whether the IP address of the device that initiates the target type of service is in the IP address blacklist, and if not, it is determined that the hacker attack condition is not met.

[0057] In one embodiment, the device further comprises:

[0058] An IP address acquisition module is used to acquire the IP addresses corresponding to the services occurring within a preset time period;

[0059] The IP address statistics module is used to count the business transaction data volume corresponding to each IP address and compare the business transaction data volume corresponding to each IP address with a preset threshold;

[0060] The IP address judgment module is used to add an IP address to the IP address blacklist if the amount of business transaction data corresponding to the IP address is greater than a preset threshold and the IP address is not in the IP address whitelist.

[0061] In one embodiment, the device further comprises:

[0062] The flow control level acquisition module is used to determine the current flow control level of the target type of business according to the target type, wherein different business types correspond to different flow control levels.

[0063] In a third aspect, a computer device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the transaction flow control method as described in the first aspect is implemented.

[0064] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the transaction flow control method as described in the first aspect is implemented.

[0065] In a fifth aspect, a computer program product is provided, which includes a computer program, and when the computer program is executed by a processor, the transaction flow control method as described in the first aspect above is implemented.

[0066] The transaction flow control method, device, computer equipment, storage medium and computer program product described above obtain the real-time transaction index data of the target type of business and the historical transaction index data of the target type of business, compare the real-time transaction index data and the historical transaction index data, and adjust the current flow control level of the target type of business according to the comparison result. Since the real-time transaction index data and the historical transaction index data are obtained according to the business type, and the current flow control level of the business is also adjusted according to the business type, the purpose of flow control for different business types is achieved, and the requirements of transaction flow control for different business types can be met; and since the regulation level is adjusted in real time, dynamic control of transaction flow is achieved, which is more in line with the operation of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 A flowchart of a transaction flow control method in one embodiment;

[0068] Figure 2 A schematic diagram of data interaction in a transaction flow control method in an embodiment;

[0069] Figure 3 is a flow chart of step 103 in one embodiment;

[0070] Figure 4 is a flow chart of step 102 in one embodiment;

[0071] Figure 5 A flowchart of a transaction flow control method in one embodiment;

[0072] Figure 6 is a flow chart of step 103 in one embodiment;

[0073] Figure 7 is a flow chart of step 102 in one embodiment;

[0074] Figure 8 is a flow chart of step 502 in one embodiment;

[0075] Fig. 9 A flowchart of a transaction flow control method in one embodiment;

[0076] Fig.10 A flowchart of a transaction flow control method in one embodiment;

[0077] Fig.11 A structural block diagram of a transaction flow control device in an embodiment;

[0078] Fig.12 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0079] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0080] It should be noted that the acquisition, storage, use and processing of data in the embodiments of the present application are in compliance with the relevant provisions of national laws and regulations.

[0081] In financial systems, the purpose of transaction flow control is to limit the number of concurrent transactions, avoid slow or even stopped business response due to excessive concurrent transactions, and ensure the normal operation of the financial system.

[0082] In the prior art, when performing transaction flow control, a rated transaction flow control threshold is set based on a unified and standardized transaction flow control method. When the transaction volume in the financial system exceeds the rated transaction flow control threshold, flow control is triggered, and access is denied to transaction requests that exceed the flow control threshold.

[0083] However, the above method is only applicable to single ordinary business scenarios. In the financial system, business needs are showing a trend of personalization and diversification, and there are many types of business, such as inquiry, investment and financial management, account opening and activation, life services, and transfer transactions. Different business types have different flow control transaction control requirements. The use of a unified and standardized transaction flow control method cannot meet the transaction flow control requirements of different business types and cannot accurately fit the operation of the financial system.

[0084] In view of this, an embodiment of the present application provides a transaction flow control method that can meet the transaction flow control requirements of different business types and can accurately adapt to the operation of the financial system.

[0085] It should be noted that the transaction flow control method provided in the embodiment of the present application may be executed by a transaction flow control device, which may be implemented as part or all of a database through software, hardware, or a combination of software and hardware.

[0086] In the following method embodiments, the execution subject is taken as an example for explanation, wherein the server can be implemented as an independent server or a server cluster composed of multiple servers. It can be understood that the method can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server.

[0087] Please refer to Figure 1 , which shows a flow chart of a transaction flow control method provided by an embodiment of the present application. Figure 1 As shown, the transaction flow control method may include the following steps:

[0088] Step 101: Acquire real-time transaction index data of a target type of business.

[0089] Among them, real-time transaction indicator data includes real-time business response time, real-time business data volume, and the IP address of the device that initiates the business request, etc. Among them, real-time business response time refers to the average response time per minute in real time, and real-time business data volume refers to the real-time business transaction data volume per minute.

[0090] The business type is a financial business type, including: inquiry, transfer transaction, investment and financial management, account opening and activation, and life service, etc. Optionally, the financial system stores the business transaction data in blocks according to the business type. The terminal can call the required business transaction data from the server.

[0091] The data interaction process in the transaction flow control method is as follows: Figure 2As shown in . Optionally, the terminal is provided with a sampling period, for example, 5 minutes, to realize transaction data collection, wherein the transaction data includes transaction name, transaction code, business response time, transaction request IP, and business transaction data volume. According to the sampling period, the business transaction data volume of the target type in each period and the business response time of each business transaction data are collected in real time. The terminal obtains the business response time and business transaction data volume of each business transaction data in the sampling period corresponding to the current moment, and averages the business response time of the financial transaction business data in the sampling period. The calculated average is the real-time business response time. The business transaction data volume is divided by the sampling period length to obtain the average transaction volume per minute corresponding to the sampling period. The average transaction volume per minute corresponding to the sampling period is the real-time business data volume.

[0092] Step 102: Obtain historical transaction indicator data of the target type of business.

[0093] Among them, historical transaction indicator data includes historical average business response time and historical business data volume.

[0094] Optionally, the terminal stores corresponding historical transaction index data for different types of services, and the corresponding historical transaction index data is searched and obtained according to the type of service.

[0095] Step 103: compare the real-time transaction index data with the historical transaction index data, and adjust the current flow control level of the target type of business according to the comparison result.

[0096] Optionally, the flow control level includes 5 levels, as follows:

[0097] 1) Level 1: The flow control strategy with the largest number of concurrent services, that is, the maximum concurrent service flow control threshold is allocated, for example, 60.

[0098] 2) Level 4: flow control strategy for a large number of concurrent services, that is, allocating a larger flow control threshold for concurrent services, for example, 20.

[0099] 3) Level 3, flow control strategy for a medium number of concurrent services, that is, allocating a medium number of concurrent services flow control threshold, for example, 10.

[0100] 4) Level 2: a flow control strategy for a medium number of concurrent services, that is, a medium flow control threshold for concurrent services is allocated, for example, 5.

[0101] 5) Level 1: flow control strategy for extremely small concurrent business numbers, that is, allocating an extremely small concurrent business flow control threshold, for example, 2.

[0102] Optionally, the terminal sets different flow control level adjustment rules for different services. Determine the flow control level adjustment rules according to the target type. Compare the real-time transaction index data with the historical transaction index data, including: performing a difference operation between the real-time transaction index data and the historical transaction index data, and determining the adjusted level according to the difference obtained. Then adjust the current flow control level to the determined adjusted level.

[0103] Optionally, the terminal determines a current flow control level of a service of the target type according to the target type, wherein different service types correspond to different flow control levels.

[0104] This embodiment obtains the real-time transaction index data of the target type of business and the historical transaction index data of the target type of business, compares the real-time transaction index data and the historical transaction index data, and adjusts the current flow control level of the target type of business according to the comparison result. Since the real-time transaction index data and the historical transaction index data are obtained according to the business type, and the current flow control level of the business is adjusted according to the business type, the purpose of flow control for different business types is achieved, and the requirements of transaction flow control for different business types can be met; and since the regulation level is adjusted in real time, dynamic control of transaction flow is achieved, which is more in line with the operation of the financial system.

[0105] In the implementation of this application, the real-time transaction indicator data includes the real-time business response time, and the historical transaction indicator data includes the historical average business response time, such as Figure 3 As shown, based on Figure 1 The embodiment shown in the figure, this embodiment involves adjusting the current flow control level of the target type of service according to the comparison result in step 103, including steps 201 and 202:

[0106] Step 201: determine a first ratio between a real-time service response time and a historical average service response time.

[0107] Optionally, the calculation formula of the first ratio K1 is:

[0108]

[0109] Step 202: If the first ratio is greater than a first preset ratio, the current flow control level of the target type of service is reduced.

[0110] Among them, the level of flow control is positively correlated with the number of concurrent services.

[0111] Optionally, the first preset ratio is set to 5. When the first ratio is greater than the first preset ratio, the current flow control level is decreased by 1 level. That is, when the real-time service response duration AvgCost > 5 * BaseTXCost, the current flow control level is decreased by 1 level.

[0112] Optionally, the terminal sets the corresponding relationship between the first ratio and the target flow control service level as shown in Table 1 below. The terminal can determine the target flow control level by looking up the table according to the first ratio. That is, when the real-time service response duration AvgCost > 5 * BaseTXCost, the current flow control level is adjusted to level 1; when 2 * BaseTXCost < AvgCost < 5 * BaseTXCost, the flow control level is adjusted to level 2.

[0113] <![CDATA[First ratio K1]]> Target flow control service level <![CDATA[K1≥5]]> 1 <![CDATA[2≤K1<5]]> 2

[0114] Table 1 Relationship table between the first ratio and the target flow control service level

[0115] In this embodiment, by determining the first ratio between the real-time service response duration and the historical average service response duration, if the first ratio is greater than the first preset ratio, the current flow control level of the service of the target type is decreased, realizing the dynamic real-time adjustment of the current flow control level of the service of the target type, with simple calculation and small computation volume.

[0116] In the example of this application, as Figure 4 shown, based on Figure 3 the embodiment shown, this embodiment relates to obtaining the historical transaction index data of the service of the target type in step 102, including step 301 and step 302:

[0117] Step 301, obtain historical business transaction data.

[0118] Among them, the historical financial transaction data includes the historical business response durations of multiple services of the target type within the first historical time period.

[0119] Optionally, the first historical period refers to one week before the current moment.

[0120] Step 302, perform an averaging process on multiple historical business response durations to obtain the historical average business response duration.

[0121] Optionally, calculate the average transaction time of the service of the target type in the recent week, where the transaction time is the business response duration, to obtain the historical average business response duration BaseTXCost.

[0122] The embodiment of the present application obtains historical business transaction data and averages multiple historical business response times to obtain the historical average business response time. Since the historical business transaction data is statistically calculated, the reliability of the historical average business response time is improved.

[0123] In the present application, please refer to Figure 5 Based on the above embodiment, the transaction flow control method further includes step 401, step 402 and step 403:

[0124] Step 401: Obtain an initial regulation level of a target type of service.

[0125] Optionally, the terminal sets corresponding initial control levels for different services according to the service type of the service. For example, the initial control level of query services is level 4, the initial control level of transfer transaction services is level 4, the initial control level of investment and financial management services is level 3; the initial control level of life service services is level 3; and the initial control level of account opening and activation services is level 2.

[0126] Step 402: Update the real-time service response duration of the target type of service according to preset conditions and obtain the updated real-time service response duration.

[0127] Optionally, the terminal is set with a sampling period, for example, 5 minutes, and the corresponding time of each sampling point is obtained according to the sampling interval. The preset condition is to determine whether the next sampling point has been reached. When the terminal detects that the next sampling point has been reached, the real-time service response time of the target type of service is updated.

[0128] Step 403: When the ratio between the updated real-time service response time and the historical average service response time is less than a second preset ratio, the flow control level of the target type of service is adjusted to the initial control level.

[0129] Optionally, the second preset ratio is equal to the first preset ratio. For example, the second preset ratio is 5, that is, when the real-time service response time AvgCost<5*BaseTXCost, the flow control level of the target type of service is restored to the initial control level.

[0130] This embodiment updates the real-time service response time of the target type of service according to preset conditions and obtains the updated real-time service response time. When the ratio between the updated real-time service response time and the historical average service response time is less than a second preset ratio, the flow control level of the target type of service is adjusted to the initial regulation level, thereby realizing real-time update of the real-time service response time. When the real-time service response time returns to a normal state, the flow control level is restored to the initial regulation level, thereby realizing the purpose of dynamically adjusting the flow control strategy.

[0131] In the embodiment of the present application, the real-time transaction index data includes the real-time business data volume, and the historical transaction index data includes the historical business data volume. Please refer to Figure 6 ,based on Figure 1 The embodiment shown in the figure, this embodiment involves adjusting the current flow control level of the target type of service according to the comparison result in step 103, including step 501, step 502 and step 503:

[0132] Step 501: determine a second ratio between the amount of real-time business data and the amount of historical business data.

[0133] Optionally, the second ratio K2 is calculated as follows:

[0134]

[0135] Step 502: If the second ratio is greater than the third preset ratio, determine whether the hacker attack condition is met.

[0136] Among them, when the amount of real-time business data in the system increases significantly, it may be that hackers exploit loopholes in financial transactions to attack, or it may be that financial activities (such as Double Eleven promotions, commemorative coin issuance, etc.) trigger normal transaction increases.

[0137] Optionally, the third preset ratio is set to 5. When the real-time service data volume TPM>5*BaseTPM, a hacker attack may occur, and it is necessary to further determine whether there is a hacker attack in the current situation.

[0138] Step 503: If the hacker attack condition is not met, the current flow control level of the target type of service is increased.

[0139] Among them, the level of flow control is positively correlated with the number of concurrent services.

[0140] Optionally, improving the current flow control level of the target type of business includes: improving the current flow control level of the target type of business by 1 level.

[0141] This embodiment determines a second ratio between the real-time business data volume and the historical business data volume. If the second ratio is greater than a third preset ratio, it determines whether the hacker attack conditions are met. If the hacker attack conditions are not met, the current flow control level of the target type of business is increased. In the case of a large amount of real-time business data, the flow control level is appropriately increased for the business transaction volume without abnormal IP, so as to meet the concurrency requirements of special financial activities in a timely manner.

[0142] In the present application, please refer to Figure 7 ,based on Figure 7The embodiment shown in this embodiment involves obtaining historical transaction index data of a target type of business in step 102, including steps 601 and 602:

[0143] Step 601, obtaining the maximum historical business transaction data volume of the target type of business in the second historical time period.

[0144] Optionally, the second historical time period may be set to one week before the current moment.

[0145] Optionally, the terminal obtains the target type of business transaction data volume for each hour in the second historical time period to obtain an hourly business transaction data volume curve. Find the peak of the curve and the time point corresponding to the peak, for example, the nth hour. Then calculate the business transaction data volume from the n-1th to the n+1th hour, and divide the business transaction data volume by 2 to obtain the average transaction volume from the n-1th to the n+1th hour, which is the maximum historical business transaction data volume.

[0146] Optionally, the terminal obtains the peak time point corresponding to each day of the second preset time period, and then takes a time period with the corresponding peak time point as the midpoint as the peak time period, and the length of the peak time period is 2 hours. For example, if the peak time of a certain day is 10:00, then the peak time period is 9:00-11:00. The average transaction volume of the peak time period of each day is calculated, and then the transaction data volume obtained after averaging the average transaction volume of the peak time period of each day is the maximum historical business transaction data volume.

[0147] Step 602: taking the maximum historical business transaction data volume as the historical business data volume.

[0148] This embodiment obtains the maximum historical business transaction data volume of the target type of business in the second historical time period, and uses the maximum historical business transaction data volume as the historical business data volume. Since the historical business data volume is obtained by statistical means, the reliability of using the historical business data volume as a flow control level adjustment indicator is improved.

[0149] In the present application, please refer to Figure 8 ,based on Figure 6 The embodiment shown in this embodiment involves determining whether the hacker attack condition is met in step 502, including steps 701 and 702:

[0150] Step 701: determine whether the IP address of the device that initiates the target type of service is in the IP address blacklist.

[0151] Optionally, the terminal stores an IP address blacklist. The IP address of the device that initiates the target type of service is matched with the information in the IP address blacklist, and whether the IP address of the device that initiates the target type of service is in the IP address blacklist is determined based on whether the match is successful.

[0152] Step 702: If not, it is determined that the hacker attack condition is not met.

[0153] Among them, when the IP address of the device that initiates the target type of service is not in the IP address blacklist, it can be determined that the IP address of the device that initiates the target type of service is normal and there is no hacker attack.

[0154] This embodiment improves the security and reliability of flow control in the financial system by determining whether the IP address of the device that initiates the target type of service is in the IP address blacklist. If not, it is determined that the hacker attack conditions are not met, thereby improving the security and reliability of flow control in the financial system.

[0155] In the present application, please refer to Fig. 9 ,based on Figure 8 In the embodiment shown, the transaction flow control method involved in this embodiment further includes step 801, step 802 and step 803:

[0156] Step 801, obtaining IP addresses corresponding to services occurring within a preset time period.

[0157] Optionally, the preset time period is a time period starting from midnight of the day of the current moment and ending at the current moment.

[0158] Step 802: Count the business transaction data volume corresponding to each IP address, and compare the business transaction data volume corresponding to each IP address with a preset threshold.

[0159] Optionally, the terminal divides the services occurring within a preset time period into multiple types according to the IP addresses, and obtains the service transaction data volume corresponding to each type, that is, the service transaction data volume corresponding to each IP address.

[0160] Step 803: If the amount of business transaction data corresponding to a certain IP address is greater than a preset threshold and the certain IP address is not in the IP address whitelist, the certain IP address is added to the IP address blacklist.

[0161] Among them, the IP address whitelist includes the IP address information of financial institution partners.

[0162] This embodiment obtains the IP addresses corresponding to the businesses occurring within a preset time period, counts the business transaction data volume corresponding to each IP address, and compares the business transaction data volume corresponding to each IP address with a preset threshold. If the business transaction data volume corresponding to a certain IP address is greater than the preset threshold, the IP address is added to the IP address blacklist. This achieves the goal of blacklisting hacker IPs with abnormal transaction volumes when an increase in the transaction volume of a certain business is found, dynamically updating the IP address blacklist, and improving the security of the system.

[0163] In the present application embodiment, Fig.10 As shown, a transaction flow control method is provided, the method comprising the following steps:

[0164] Step 901, obtain historical business transaction data, average multiple historical business response times, and obtain the historical average business response time.

[0165] The historical financial transaction data includes historical business response times of multiple target types of businesses within a first historical time period.

[0166] Step 902: Acquire the maximum historical business transaction data volume of the target type of business in the second historical time period, and use the maximum historical business transaction data volume as the historical business data volume.

[0167] Step 903: Obtain the IP addresses corresponding to the services occurring within a preset time period.

[0168] Step 904: Count the business transaction data volume corresponding to each IP address, and compare the business transaction data volume corresponding to each IP address with a preset threshold.

[0169] Step 905: If the amount of business transaction data corresponding to a certain IP address is greater than a preset threshold and the certain IP address is not in the IP address whitelist, the certain IP address is added to the IP address blacklist.

[0170] Step 906, obtaining real-time transaction index data and initial regulation level of the target type of business.

[0171] The real-time transaction indicator data includes real-time business response time and real-time business data volume; different business types correspond to different flow control levels.

[0172] Step 907: Determine a first ratio between the real-time service response time and the historical average service response time.

[0173] Step 908 , determining whether the first ratio is greater than a first preset ratio, if so, proceeding to step 909 , otherwise proceeding to step 913 .

[0174] Step 909: reduce the current flow control level of the target type of service.

[0175] Among them, the level of flow control is positively correlated with the number of concurrent services.

[0176] Step 910: Update the real-time service response duration of the target type of service according to the preset conditions and obtain the updated real-time service response duration.

[0177] Step 911, determine whether the third ratio is less than the second preset ratio, if so, proceed to step 912, otherwise, proceed to step 913.

[0178] The third ratio is the ratio between the updated real-time service response time and the historical average service response time.

[0179] Step 912: Adjust the flow control level of the target type of service to the initial control level.

[0180] Step 913: Do not adjust the flow control level of the service.

[0181] Step 914, determining a second ratio between the real-time business data volume and the historical business data volume.

[0182] Step 915, determining whether the second ratio is greater than a third preset ratio, if so, executing step 916, otherwise executing step 913.

[0183] Step 916, determine whether the IP address of the device that initiates the target type of service is in the IP address blacklist. If so, proceed to step 917; if not, proceed to step 918.

[0184] Step 917: Issue an alarm message and block the IP address.

[0185] Step 918: Increase the current flow control level of the target type of service.

[0186] Since the embodiment obtains real-time transaction index data and historical transaction index data according to the business type, and adjusts the current flow control level of the business according to the business type, the purpose of performing flow control for different business types is achieved, and the requirements of transaction flow control for different business types can be met; and since the regulation level is adjusted in real time, dynamic control of transaction flow is achieved, which is more in line with the operation of the financial system. At the same time, due to the use of statistical methods to obtain historical transaction index data, that is, historical business data volume and historical average business response time, the reliability of transaction indicators is improved. At the same time, by obtaining the IP addresses corresponding to the businesses occurring within the preset time period, the business transaction data volume corresponding to each IP address is counted, and the business transaction data volume corresponding to each IP address is compared with the preset threshold. If the business transaction data volume corresponding to a certain IP address is greater than the preset threshold, the certain IP address is added to the IP address blacklist, and when the transaction volume of a certain business is found to increase, the hacker IP with abnormal transaction volume is blacklisted and banned, and the IP address blacklist is dynamically updated, thereby improving the security of the system. Moreover, when the amount of real-time business data is large, the flow control level can be appropriately increased by detecting business transaction volume with no abnormal IP addresses, so as to meet the concurrency requirements of special financial activities in a timely manner.

[0187] It should be understood that although Figure 1 as well as Figure 3-10 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 as well as Figure 3-10 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0188] In the embodiments of the present application, Fig.11 As shown, a transaction flow control device is provided, including a first acquisition module and a flow control module, wherein:

[0189] A first acquisition module, for real-time transaction index data of a target type of business and historical transaction index data of a target type of business;

[0190] The flow control module is used to compare the real-time transaction index data with the historical transaction index data, and adjust the current flow control level of the target type of business according to the comparison results.

[0191] In one embodiment, the real-time transaction indicator data includes the real-time business response time, the historical transaction indicator data includes the historical average business response time, and the flow control module includes:

[0192] A first ratio determination unit, used to determine a first ratio between the real-time service response time and the historical average service response time;

[0193] The first comparison unit is used to reduce the current flow control level of the target type of business if the first ratio is greater than the first preset ratio, wherein the flow control level is positively correlated with the number of concurrent businesses.

[0194] In one embodiment, the first acquisition module is used to:

[0195] Acquire historical business transaction data, where the historical financial transaction data includes historical business response times of multiple target types of businesses in a first historical time period;

[0196] The average of multiple historical service response times is calculated to obtain the historical average service response time.

[0197] In one embodiment, the apparatus further comprises:

[0198] A second acquisition module is used to acquire an initial regulation level of a target type of service;

[0199] An updating module, used to update the real-time service response time of the target type of service according to preset conditions and obtain the updated real-time service response time;

[0200] The adjustment module is used to adjust the flow control level of the target type of business to the initial regulation level when the ratio between the updated real-time business response time and the historical average business response time is less than a second preset ratio.

[0201] In one embodiment, the real-time transaction indicator data includes the real-time business data volume, the historical transaction indicator data includes the historical business data volume, and the flow control module includes:

[0202] A second ratio determination unit, used to determine a second ratio between the real-time service data volume and the historical service data volume;

[0203] A second comparison unit, configured to determine whether a hacker attack condition is met if the second ratio is greater than a third preset ratio;

[0204] The level control unit is used to increase the current flow control level of the target type of business if the hacker attack conditions are not met, wherein the level of flow control is positively correlated with the number of concurrent businesses.

[0205] In one embodiment, the first acquisition module is used to:

[0206] Obtain the maximum historical business transaction data volume of the target type of business in the second historical time period;

[0207] The maximum historical business transaction data volume is used as the historical business data volume.

[0208] In one embodiment, the second comparison unit is used to determine whether the IP address of the device that initiates the target type of service is in the IP address blacklist, and if not, it is determined that the hacker attack condition is not met.

[0209] In one embodiment, the apparatus further comprises:

[0210] An IP address acquisition module is used to acquire the IP addresses corresponding to the services occurring within a preset time period;

[0211] The IP address statistics module is used to count the business transaction data volume corresponding to each IP address and compare the business transaction data volume corresponding to each IP address with a preset threshold;

[0212] The IP address judgment module is used to add an IP address to the IP address blacklist if the amount of business transaction data corresponding to the IP address is greater than a preset threshold.

[0213] In one embodiment, the apparatus further comprises:

[0214] The flow control level acquisition module is used to determine the current flow control level of the target type of business according to the target type, wherein different business types correspond to different flow control levels.

[0215] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.12 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a transaction flow control method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0216] Those skilled in the art will understand that Fig.12 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0217] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0218] Obtain real-time transaction indicator data for target type of business;

[0219] Obtain historical transaction indicator data of target type of business;

[0220] Compare the real-time transaction index data with the historical transaction index data, and adjust the current flow control level of the target type of business based on the comparison results.

[0221] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0222] Determine a first ratio between the real-time business response time and the historical average business response time, wherein the real-time transaction indicator data includes the real-time business response time, and the historical transaction indicator data includes the historical average business response time; if the first ratio is greater than the first preset ratio, reduce the current flow control level of the target type of business, wherein the level of the flow control level is positively correlated with the number of concurrent businesses.

[0223] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0224] Acquire historical business transaction data, where the historical financial transaction data includes historical business response times of multiple target types of businesses in a first historical time period; average multiple historical business response times to obtain a historical average business response time.

[0225] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0226] Obtain an initial regulation level for a target type of business; update the real-time business response time for the target type of business according to preset conditions and obtain the updated real-time business response time; when the ratio between the updated real-time business response time and the historical average business response time is less than a second preset ratio, adjust the flow control level for the target type of business to the initial regulation level.

[0227] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0228] Determine a second ratio between the real-time business data volume and the historical business data volume, wherein the real-time transaction index data includes the real-time business data volume, and the historical transaction index data includes the historical business data volume; if the second ratio is greater than a third preset ratio, determine whether the hacker attack conditions are met; if the hacker attack conditions are not met, increase the current flow control level of the target type of business, wherein the level of the flow control level is positively correlated with the number of concurrent businesses.

[0229] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0230] Obtain the maximum historical business transaction data volume of the target type of business in the second historical time period; and use the maximum historical business transaction data volume as the historical business data volume.

[0231] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0232] Determine whether the IP address of the device that initiates the target type of service is in the IP address blacklist; if not, determine that the hacker attack condition is not met.

[0233] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0234] Obtain the IP addresses corresponding to the businesses occurring within a preset time period; count the business transaction data volume corresponding to each IP address, and compare the business transaction data volume corresponding to each IP address with a preset threshold; if the business transaction data volume corresponding to an IP address is greater than the preset threshold, add the IP address to the IP address blacklist.

[0235] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0236] The current flow control level of the target type of service is determined according to the target type, wherein different service types correspond to different flow control levels.

[0237] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0238] Obtain real-time transaction indicator data for target type of business;

[0239] Obtain historical transaction indicator data of target type of business;

[0240] Compare the real-time transaction index data with the historical transaction index data, and adjust the current flow control level of the target type of business based on the comparison results.

[0241] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0242] Determine a first ratio between the real-time business response time and the historical average business response time, wherein the real-time transaction indicator data includes the real-time business response time, and the historical transaction indicator data includes the historical average business response time; if the first ratio is greater than the first preset ratio, reduce the current flow control level of the target type of business, wherein the level of the flow control level is positively correlated with the number of concurrent businesses.

[0243] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0244] Acquire historical business transaction data, where the historical financial transaction data includes historical business response times of multiple target types of businesses in a first historical time period; average multiple historical business response times to obtain a historical average business response time.

[0245] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0246] Obtain an initial regulation level for a target type of business; update the real-time business response time for the target type of business according to preset conditions and obtain the updated real-time business response time; when the ratio between the updated real-time business response time and the historical average business response time is less than a second preset ratio, adjust the flow control level for the target type of business to the initial regulation level.

[0247] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0248] Determine a second ratio between the real-time business data volume and the historical business data volume, wherein the real-time transaction index data includes the real-time business data volume, and the historical transaction index data includes the historical business data volume; if the second ratio is greater than a third preset ratio, determine whether the hacker attack conditions are met; if the hacker attack conditions are not met, increase the current flow control level of the target type of business, wherein the level of the flow control level is positively correlated with the number of concurrent businesses.

[0249] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0250] Obtain the maximum historical business transaction data volume of the target type of business in the second historical time period; and use the maximum historical business transaction data volume as the historical business data volume.

[0251] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0252] Determine whether the IP address of the device that initiates the target type of service is in the IP address blacklist; if not, determine that the hacker attack condition is not met.

[0253] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0254] Obtain the IP addresses corresponding to the businesses occurring within a preset time period; count the business transaction data volume corresponding to each IP address, and compare the business transaction data volume corresponding to each IP address with a preset threshold; if the business transaction data volume corresponding to an IP address is greater than the preset threshold, add the IP address to the IP address blacklist.

[0255] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0256] The current flow control level of the target type of service is determined according to the target type, wherein different service types correspond to different flow control levels.

[0257] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0258] Obtain real-time transaction indicator data for target type of business;

[0259] Obtain historical transaction indicator data of target type of business;

[0260] Compare the real-time transaction index data with the historical transaction index data, and adjust the current flow control level of the target type of business based on the comparison results.

[0261] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0262] Determine a first ratio between the real-time business response time and the historical average business response time, wherein the real-time transaction indicator data includes the real-time business response time, and the historical transaction indicator data includes the historical average business response time; if the first ratio is greater than the first preset ratio, reduce the current flow control level of the target type of business, wherein the level of the flow control level is positively correlated with the number of concurrent businesses.

[0263] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0264] Acquire historical business transaction data, where the historical financial transaction data includes historical business response times of multiple target types of businesses in a first historical time period; average multiple historical business response times to obtain a historical average business response time.

[0265] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0266] Obtain an initial regulation level for a target type of business; update the real-time business response time for the target type of business according to preset conditions and obtain the updated real-time business response time; when the ratio between the updated real-time business response time and the historical average business response time is less than a second preset ratio, adjust the flow control level for the target type of business to the initial regulation level.

[0267] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0268] Determine a second ratio between the real-time business data volume and the historical business data volume, wherein the real-time transaction index data includes the real-time business data volume, and the historical transaction index data includes the historical business data volume; if the second ratio is greater than a third preset ratio, determine whether the hacker attack conditions are met; if the hacker attack conditions are not met, increase the current flow control level of the target type of business, wherein the level of the flow control level is positively correlated with the number of concurrent businesses.

[0269] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0270] Obtain the maximum historical business transaction data volume of the target type of business in the second historical time period; and use the maximum historical business transaction data volume as the historical business data volume.

[0271] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0272] Determine whether the IP address of the device that initiates the target type of service is in the IP address blacklist; if not, determine that the hacker attack condition is not met.

[0273] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0274] Obtain the IP addresses corresponding to the businesses occurring within a preset time period; count the business transaction data volume corresponding to each IP address, and compare the business transaction data volume corresponding to each IP address with a preset threshold; if the business transaction data volume corresponding to an IP address is greater than the preset threshold, add the IP address to the IP address blacklist.

[0275] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0276] The current flow control level of the target type of service is determined according to the target type, wherein different service types correspond to different flow control levels.

[0277] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0278] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0279] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A transaction flow control method, characterized in that: The method comprises: Obtain real-time transaction indicator data for target type of business; Obtain historical transaction indicator data of the target type of business; Compare the real-time transaction index data with the historical transaction index data, and adjust the current flow control level of the target type of business according to the comparison result; different flow control levels correspond to different business concurrent flow control thresholds, and the higher the flow control level, the larger the corresponding business concurrent flow control threshold; The real-time transaction indicator data includes the real-time business data volume, the historical transaction indicator data includes the historical business data volume, and the current flow control level of the target type of business is adjusted according to the comparison result, including: Determining a second ratio between the real-time service data volume and the historical service data volume; If the second ratio is greater than a third preset ratio, determining whether a hacker attack condition is met; If the hacker attack condition is not met, the current flow control level of the target type of service is increased, wherein the level of flow control is positively correlated with the number of concurrent services; The real-time transaction indicator data includes the real-time service response time, the historical transaction indicator data includes the historical average service response time, and the current flow control level of the target type of service is adjusted according to the comparison result, including: Determine a first ratio between the real-time service response time and the historical average service response time; If the first ratio is greater than a first preset ratio, the current flow control level of the target type of service is reduced, wherein the level of flow control is positively correlated with the number of concurrent services; The method further comprises: Obtaining an initial flow control level for the target type of service; Update the real-time service response time of the target type of service according to the preset conditions and obtain the updated real-time service response time; When the ratio between the updated real-time service response time and the historical average service response time is less than a second preset ratio, the flow control level of the target type of service is adjusted to the initial flow control level.

2. The method according to claim 1, characterized in that The acquiring of historical transaction indicator data of the target type of business includes: Acquire historical business transaction data, where the historical business transaction data includes historical business response durations of multiple target types of businesses within a first historical time period; An average is calculated for a plurality of the historical service response times to obtain the historical average service response time.

3. The method according to claim 1, characterized in that The acquiring of historical transaction indicator data of the target type of business includes: Acquire the maximum historical business transaction data volume of the target type of business in the second historical time period; The maximum historical business transaction data volume is used as the historical business data volume.

4. The method according to claim 1, characterized in that: The determining whether the hacker attack condition is met includes: Determine whether the IP address of the device that initiates the target type of service is in the IP address blacklist; If not, it is determined that the hacker attack condition is not met.

5. The method according to claim 4, characterized in that The method further comprises: Obtain the IP addresses corresponding to the services occurring within a preset time period; Counting the amount of business transaction data corresponding to each of the IP addresses, and comparing the amount of business transaction data corresponding to each of the IP addresses with a preset threshold; If the amount of business transaction data corresponding to a certain IP address is greater than the preset threshold and the certain IP address is not in the IP address whitelist, the certain IP address is added to the IP address blacklist.

6. The method according to claim 1, characterized in that The method further comprises: The current flow control level of the service of the target type is determined according to the target type, wherein different service types correspond to different flow control levels.

7. A transaction flow control device, characterized in that: The device comprises: A first acquisition module, used for real-time transaction index data of a target type of business and historical transaction index data of the target type of business; A flow control module, used to compare the real-time transaction index data with the historical transaction index data, and adjust the current flow control level of the target type of business according to the comparison result; different flow control levels correspond to different business concurrent flow control thresholds, and the higher the flow control level, the larger the corresponding business concurrent flow control threshold; The real-time transaction index data includes the real-time business data volume, the historical transaction index data includes the historical business data volume, and the flow control module includes: A second ratio determination unit, configured to determine a second ratio between the real-time service data volume and the historical service data volume; a second comparing unit, configured to determine whether a hacker attack condition is met if the second ratio is greater than a third preset ratio; A level control unit, configured to increase the current flow control level of the target type of service if the hacker attack condition is not met, wherein the level of the flow control level is positively correlated with the number of concurrent services; The real-time transaction index data includes the real-time business response time, the historical transaction index data includes the historical average business response time, and the flow control module includes: A first ratio determination unit, configured to determine a first ratio between the real-time service response time and the historical average service response time; A first comparison unit, configured to reduce a current flow control level of the target type of service if the first ratio is greater than a first preset ratio, wherein the flow control level is positively correlated with the number of concurrent services; The device also includes: A second acquisition module, used to acquire an initial flow control level of the target type of service; An updating module, used to update the real-time service response time of the target type of service according to preset conditions and obtain the updated real-time service response time; An adjustment module is used to adjust the flow control level of the target type of service to the initial flow control level when the ratio between the updated real-time service response time and the historical average service response time is less than a second preset ratio.

8. The device according to claim 7, characterized in that The first acquisition module is used to: Acquire historical business transaction data, where the historical business transaction data includes historical business response durations of multiple target types of businesses within a first historical time period; An average is calculated for a plurality of the historical service response times to obtain the historical average service response time.

9. The device according to claim 7, characterized in that The first acquisition module is used to: Acquire the maximum historical business transaction data volume of the target type of business in the second historical time period; The maximum historical business transaction data volume is used as the historical business data volume.

10. The device according to claim 7, characterized in that The second comparison unit is used to determine whether the IP address of the device that initiates the target type of service is in the IP address blacklist, and if not, determine that the hacker attack condition is not met.

11. The device according to claim 10, characterized in that The device also includes: An IP address acquisition module is used to acquire the IP addresses corresponding to the services occurring within a preset time period; An IP address statistics module is used to count the business transaction data volume corresponding to each IP address, and compare the business transaction data volume corresponding to each IP address with a preset threshold; The IP address judgment module is used to add a certain IP address to the IP address blacklist if the amount of business transaction data corresponding to a certain IP address is greater than the preset threshold and the certain IP address is not in the IP address whitelist.

12. The device according to claim 7, characterized in that The device also includes: The flow control level acquisition module is used to determine the current flow control level of the service of the target type according to the target type, wherein different service types correspond to different flow control levels.

13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Data processing method, electronic device, computer device and storage medium

    CN109885399A

  • Traffic anomaly detection method and device for target event, electronic equipment and medium

    CN110830448A