CN114116207A - Flow control method, device, equipment and system - Google Patents

Flow control method, device, equipment and system Download PDF

Info

Publication number
CN114116207A
CN114116207A CN202111332156.6A CN202111332156A CN114116207A CN 114116207 A CN114116207 A CN 114116207A CN 202111332156 A CN202111332156 A CN 202111332156A CN 114116207 A CN114116207 A CN 114116207A
Authority
CN
China
Prior art keywords
application server
financial transaction
resource
delay
flow control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111332156.6A
Other languages
Chinese (zh)
Inventor
马国斌
李嘉荣
赵雁榕
解黎明
赵执宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202111332156.6A priority Critical patent/CN114116207A/en
Publication of CN114116207A publication Critical patent/CN114116207A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/004Error avoidance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5013Request control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5022Workload threshold
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/508Monitor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Quality & Reliability (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application discloses a flow control method, a flow control device, flow control equipment and a flow control system, and relates to the field of finance. The method comprises the steps of obtaining a resource usage value of a first application server, determining the time delay of the financial transaction flow to be transmitted to the first application server according to a flow control model if the resource usage value is larger than or equal to a threshold value, and controlling the transmission of the financial transaction flow to the first application server according to the determined time delay. The resource usage value is used for indicating the occupation condition of a resource used by the first application server for processing the financial transaction flow, and the resource comprises a computing resource and a storage resource. Therefore, the speed of the financial transaction flow transmitted to the first application server is adjusted according to the resource use condition of the first application server, so that the first application server can process the received financial transaction flow as soon as possible based on the hardware resource of the first application server, and the transaction is guaranteed to be completed smoothly.

Description

Flow control method, device, equipment and system
Technical Field
The present application relates to the field of finance, and in particular, to a flow control method, apparatus, device, and system.
Background
With the development of network technology, terminals perform financial transactions, such as money transfer or online shopping, through a network. When an application server in a banking system processes a large amount of financial transaction flow generated by financial transactions based on own hardware resources, the situations of slow transaction, response overtime and even downtime caused by insufficient own hardware resources can occur, so that the application server cannot timely feed back response messages to a terminal (for example, after a terminal initiates transfer, the transfer success reminding fed back to the terminal by the application server is generated), the transaction is failed, and the customer experience is influenced.
Generally, by predicting a peak in the transaction, hardware resources to deploy the application server are increased in advance. This increases hardware resource costs and labor costs for operation and maintenance. When the application server processes less financial transaction traffic, hardware resources are wasted. Therefore, in the case that the application server processes a large amount of financial transaction traffic, how to ensure the rate of processing the financial transaction traffic by the application server and feed back the response message as fast as possible is an urgent problem to be solved.
Disclosure of Invention
The application provides a flow control method, a flow control device, flow control equipment and a flow control system, so that when an application server processes a large amount of financial transaction flow, the rate of processing the financial transaction flow by the application server is ensured, and response messages are fed back as fast as possible.
In a first aspect, a method for controlling flow is provided, where the method includes: the control equipment acquires a resource usage value of the first application server, determines the delay of the financial transaction flow to be transmitted to the first application server according to the flow control model if the resource usage value is greater than or equal to a threshold value, and then controls the rate of transmitting the financial transaction flow to the first application server according to the determined delay. The resource usage value is used for indicating the occupation condition of a resource used by the first application server for processing the financial transaction flow, the resource comprises a computing resource and a storage resource, and the threshold value is used for indicating the limit of the resource which is allowed to be occupied by the first application server for processing the financial transaction flow.
In this way, the control device adjusts the rate of the financial transaction flow transmitted to the first application server according to the resource usage of the first application server, that is, under the condition that the first application server processes a large amount of financial transaction flow, the control device delays the transmission of the financial transaction flow to the first application server, reduces the financial transaction flow processed by the first application server within a certain time, enables the first application server to process the received financial transaction flow as soon as possible based on its own hardware resource, and feeds back a response message as soon as possible, thereby ensuring that the transaction is completed smoothly. The situations of slow transaction, overtime response and even downtime caused by the fact that the first application server cannot process the financial transaction flow as soon as possible due to insufficient hardware resources of the first application server are avoided.
In one possible implementation, determining a delay in transmitting the financial transaction traffic to the first application server based on the traffic control model includes: and inputting the resource use value and the unit transaction amount of the first application server into a flow control model, and outputting delay.
Therefore, the control equipment accurately calculates the time delay of the transmission equipment for transmitting the financial transaction amount flow to the first application server according to the flow control model, the resource use value of the first application server and the unit transaction amount. The delay calculated by the flow control model can be combined with the resource use condition of the first application server, and the accuracy of delay prediction is improved.
In one possible implementation, before determining the delay in transmitting the financial transaction traffic to the first application server according to the traffic control model, the method further comprises: and inputting the calculated resource sample value, the stored resource sample value and the unit transaction amount sample value into a flow control model, training parameters of the flow control model until errors of the delay and delay sample values output by the flow control model are converged, and obtaining the flow control model. And controlling the rate of transmitting the unit transaction amount sample value to the first application server according to the delay sample value, so that the first application server processes the unit transaction amount sample value based on the calculation resource sample value and the storage resource sample value to achieve the processing satisfaction degree.
In one possible implementation, inputting the calculation resource sample value, the storage resource sample value and the unit transaction amount sample value into a flow control model, training parameters of the flow control model until errors of a delay value and a delay sample value output by the flow control model converge, including: and inputting the calculation resource sample value, the storage resource sample value and the unit transaction amount sample value into a flow control model, and training flow control model parameters according to a back propagation algorithm until the errors of the delay and delay sample values output by the flow control model are converged.
In one possible implementation, controlling a rate of transmission of the financial transaction traffic to the first application server based on the delay includes: and sending a control instruction to the transmission equipment, wherein the control instruction is used for instructing the transmission equipment to send the financial transaction flow to the first server according to the time delay.
In one possible implementation, sending a control instruction to a transmission device includes: and sending a control instruction to a first transmission device in M transmission devices connected with N application servers in the system, wherein the first transmission device is connected with the first application server, and M and N are integers greater than or equal to 1.
And sending a control instruction to the first transmission equipment so that the first transmission equipment can send the financial transaction flow to the first application server according to the delay indicated by the control instruction, and further enabling the first application server to process the received financial transaction flow as soon as possible based on hardware resources of the first application server, thereby ensuring that the transaction is completed smoothly.
In a second aspect, there is provided a control apparatus comprising: the receiving unit is used for acquiring a resource usage value of the first application server, wherein the resource usage value is used for indicating the occupation condition of resources used by the first application server for processing the financial transaction flow, and the resources comprise computing resources and storage resources; when the resource usage value is greater than or equal to the threshold value, the processing unit is used for determining the delay of the financial transaction traffic to be transmitted to the first application server according to the traffic control model, and the threshold value is used for indicating the limit of resources allowed to be occupied by the first application server for processing the financial transaction traffic; and the sending unit is used for controlling the rate of transmitting the financial transaction flow to the first application server according to the time delay.
In a possible implementation manner, the processing unit is specifically configured to input the resource usage value and the unit transaction amount of the first application server into the traffic control model, and output the delay.
In a possible implementation manner, the processing unit is further configured to input the calculation resource sample value, the storage resource sample value, and the unit transaction amount sample value into a flow control model, train a flow control model parameter until an error of a delay and a delay sample value output by the flow control model converges, wherein a rate of transmitting the unit transaction amount sample value to the first application server is controlled according to the delay sample value, so that the first application server processes the unit transaction amount sample value based on the calculation resource sample value and the storage resource sample value to achieve a processing satisfaction degree.
In a possible implementation manner, the processing unit is specifically configured to input the calculation resource sample value, the storage resource sample value, and the unit transaction amount sample value into the flow control model, and train parameters of the flow control model according to a back propagation algorithm until errors of the delay and delay sample values output by the flow control model converge.
In a possible implementation manner, the sending unit is specifically configured to send a control instruction to the transmission device, where the control instruction is used to instruct the transmission device to send the financial transaction traffic to the first application server according to the delay.
In a possible implementation manner, the sending unit is specifically configured to send the control instruction to a first transmission device of M transmission devices connected to N application servers in the system, where the first transmission device is a transmission device connected to the first application server, and M and N are integers greater than or equal to 1.
In a third aspect, there is provided a control device comprising a memory for storing computer executable instructions and a processor for executing the computer executable instructions stored by the memory to cause the control device to perform any one of the methods as provided in the first aspect above.
In a fourth aspect, a communication system is provided, including a control device, M transmission devices and N application servers, where the M transmission devices include a first transmission device, the N application servers include a first application server, the first application server is an application server with a resource usage value greater than or equal to a threshold value among the M application servers, the first transmission device is a transmission device connected to the first application server among the M transmission devices, and M and N are integers greater than or equal to 1, where the control device is configured to implement any one of the methods provided in the first aspect to implement controlling, according to a delay, a rate at which the first transmission device transmits financial transaction traffic to the first application server.
In a fifth aspect, a computer-readable storage medium is provided, which stores computer instructions that, when executed on a computer, cause the computer to perform any one of the methods provided by the first aspect.
In a sixth aspect, there is provided a computer program product comprising computer instructions which, when run on a computer, cause the computer to perform any of the methods provided by the first aspect.
Technical effects brought by any possible implementation manner of the second aspect to the sixth aspect may be brought into consideration with technical effects brought by a corresponding implementation manner of the first aspect, and are not described herein again.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a schematic diagram of a networking structure of a transaction system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a flow control method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a flow control process according to an embodiment of the present application;
fig. 4 is a schematic diagram of another transaction system networking structure provided in the embodiment of the present application;
fig. 5 is a schematic composition diagram of a control device according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a hardware structure of a control device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless otherwise specified.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion for ease of understanding.
In the description of the present application, a "/" indicates a relationship in which the objects associated before and after are an "or", for example, a/B may indicate a or B; in the present application, "and/or" is only an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, and may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. Also, in the description of the present application, "a plurality" means two or more than two unless otherwise specified. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
In the embodiments of the present application, at least one may also be described as one or more, and a plurality may be two, three, four or more, which is not limited in the present application.
For an application server in a bank system, real-time response to financial transaction flow needs to be achieved, and smooth completion of transactions is guaranteed. For example, the financial transaction traffic may refer to a data amount of accessing an application server in a banking system for a certain time when a terminal performs a financial transaction through the internet. The embodiment of the application provides a flow control method, which adjusts the rate of financial transaction flow transmitted to an application server according to the resource use condition (such as computing resources and storage resources) of the application server, so that the application server can process the received financial transaction flow as soon as possible based on the hardware resources of the application server, feed back a response message to a terminal in time, and ensure that the transaction is completed smoothly.
Fig. 1 is a schematic structural diagram of a transaction system according to an embodiment of the present disclosure. As shown in fig. 1, the transaction system 10 includes at least one terminal (such as the terminal 101 and the terminal 102 shown in fig. 1), the internet 130, and a banking system 11.
A terminal, such as terminal 101, may be a device having wireless transceiving functionality. A terminal can be referred to by different names such as terminal equipment, access terminal, terminal unit, terminal station, mobile station, remote terminal, mobile device, wireless communication device, terminal agent, or terminal device. The terminal can be deployed on land, including indoors or outdoors, hand-held or vehicle-mounted; can also be deployed on the water surface (such as a ship and the like); and may also be deployed in the air (e.g., airplanes, balloons, satellites, etc.). The terminal device may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication capability, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device or a wearable device, an Unmanned Aerial Vehicle (UAV) and an unmanned aerial vehicle controller (UAV controller, UAVC), a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned driving (self driving), a wireless terminal in remote medical (remote medical), a wireless terminal in smart grid (smart grid), a wireless terminal in transit security (security), a wireless terminal in transit city (city) and a wireless terminal in transit city (city) connected to a wireless modem, a wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device or a wearable device, A wireless terminal in a smart home (smart home), etc. The terminal equipment may be mobile or fixed. The embodiment of the present application does not limit the specific technology and the specific device form adopted by the terminal. In this embodiment, the terminal may access the internet 130 in a wired or wireless manner, perform financial transactions such as online shopping and money transfer through the internet 130, generate financial transaction traffic, and send the financial transaction traffic to the banking system 11 through the internet 130.
The internet 130, also known as the internet or the transliteration internet, the internet, is a huge network formed by connecting networks in series, and these networks are connected by a set of common protocols to form a logically single huge international network. In the embodiment of the present application, the internet 130 is used to forward the financial transaction traffic sent by the terminal to the banking system 11.
Banking system 11 includes a control device 110, M transport devices (e.g., transport device 111, transport device 112, and transport device 113), and N application servers (e.g., application server 121, application server 122, and application server 123). N and M are integers greater than or equal to 1.
The control device 110 is connected to the M transmission devices and the N application servers by a wired or wireless connection. The control device 110 may be a separate physical device, such as a server or a computer. In this embodiment, the control device 110 may also be referred to as a traffic controller, and the control device 110 is configured to obtain a resource usage value of an application server included in the banking system 11, and adjust a rate at which the transmission device transmits the financial transaction traffic to the application server according to the resource usage value of the application server.
One transmission device may be connected to one application server, or may be connected to a plurality of application servers.
Illustratively, as shown in fig. 1, the transmission device 111 connects the application server 121, the transmission device 112 connects the application server 121, the application server 122, and the application server 123, and the transmission device 113 connects the application server 121 and the application server 122.
In some embodiments, an application server in the banking system is connected to a transmission device. For example, the transfer device 111 is connected only to the application server 121, the transfer device 112 is connected only to the application server 122, and the transfer device 113 is connected only to the application server 123.
The transmitting device (e.g., transmitting device 111 shown in fig. 1) may be a separate physical device, such as a server or a computer, for transmitting the financial transaction traffic to the application server. In the embodiment of the present application, the transmission device receives the financial transaction traffic sent by the terminal 101 through the internet 130, and further transmits the financial transaction traffic to the application server. The transmission device may also receive the control instruction sent by the control device 110 and transmit the financial transaction traffic to the application server according to the delay indicated by the control instruction. Illustratively, the transmission device 111 may receive the control instruction sent by the control device 110 and transmit the financial transaction traffic to the application server 121 according to the delay indicated by the control instruction.
An application server, such as application server 121 shown in fig. 1, may be a stand-alone physical device, such as a server or a computer. The application server is used for processing the received financial transaction flow, for example, if the financial transaction flow received by the application server is data generated by the transfer of the terminal, the process of the application server for processing the financial transaction flow may be to reduce a corresponding amount of money on an account of the transfer party, increase a corresponding amount of money on an account of the receiving party, and feed back a transfer success message to the transfer party. In this embodiment of the present application, the application server may also be referred to as an application node, and the application server is configured to receive the financial transaction traffic sent by the transmission device and report the resource usage of the application server to the control device 110.
It should be understood that fig. 1 is an exemplary architecture diagram, and the number of devices included in the transaction system shown in fig. 1 is not limited (e.g., the number of terminals, the number of transmission devices, and the number of application servers). Also, the transaction system shown in fig. 1 may include other devices besides the device shown in fig. 1, which is not limited thereto.
Next, as shown in fig. 2, an embodiment of the present application provides a flow control method, which is executed by a control device, which may be the control device 110 in the transaction system 10 shown in fig. 1, and includes the following steps.
S201, the control device obtains a resource use value of the first application server.
The control device may obtain the resource usage value of the first application server in the following ways.
Mode 1, passive acquisition. In the banking system, the first application server may report its resource usage value to the control device periodically, so that the control device dynamically adjusts a delay of the financial transaction traffic to be transmitted to the application server according to the resource usage value of the application server, where the reporting period may be preset by a manager.
Mode 2, active acquisition. The control device may actively send a request message to the first application server, where the request message is used to instruct the first application server to report its resource usage value.
The resource usage value is used to indicate an occupancy of resources used by the first application server to process the financial transaction traffic, the resources including computing resources and storage resources. The computing resource may be a Central Processing Unit (CPU) resource of the first application server, the computing resource sample value may refer to a CPU occupancy rate sample value, the storage resource may be a memory resource of the first application server, and the storage resource sample value may refer to a memory usage rate sample value.
The first application server may be any one of N application servers included in the banking system.
S202, when the resource usage value is larger than or equal to the threshold value, the control device determines the delay of the financial transaction flow to be transmitted to the first application server according to the flow control model.
The control device determines whether a resource usage value of the first application server is greater than a threshold value and determines whether to delay transmission of the financial transaction traffic to the first application server. The threshold value is used to indicate the limit of resources that the first application server is allowed to occupy for processing the financial transaction, and may be set by a manager in advance.
If the resource usage value of the first application server is less than the threshold, it represents that the first application server is not currently in a busy state, and the control device does not need to adjust the rate of the financial transaction traffic transmitted to the first application server, that is, the control device does not need to control the transmission device to delay transmission of the financial transaction traffic to the first application server.
If the resource usage value of the first application server is greater than or equal to the threshold value, which represents that the first application server is currently busy, the control device may adjust a rate of transmitting the financial transaction traffic to the first application server, i.e., delay transmission of the financial transaction traffic to the first application server.
When the resource usage value of the first application server is the occupancy rate of the central processing unit of the first application server, the resource usage value of the first application server is greater than or equal to the threshold, which may be that the occupancy rate of the central processing unit of the first application server is greater than or equal to the occupancy rate threshold. For example, if the occupancy rate threshold is 90%, it may be understood that the resource usage value of the first application server is greater than or equal to the threshold if the occupancy rate of the central processing unit of the first application server is greater than or equal to 90%.
When the resource usage value of the first application server is the memory usage rate of the first application server, the resource usage value of the first application server is greater than or equal to a threshold, which may be that the memory usage rate of the first application server is greater than or equal to a usage rate threshold. For example, if the usage threshold is 90%, if the memory usage of the first application server is greater than or equal to 90%, it may be understood that the resource usage value of the first application server is greater than or equal to the threshold.
When the resource usage value of the first application server includes an occupancy rate and a memory usage rate of the central processing unit of the first application server, the resource usage value of the first application server is greater than or equal to a threshold, which may be that a sum of the occupancy rate and the memory occupancy rate of the central processing unit of the first application server is greater than or equal to the threshold. Illustratively, the resource usage value may be equal to (occupancy of central processor + memory usage) of the first application server/2. For example, if the threshold is 90%, if the occupancy rate of the central processing unit of the first application server is greater than or equal to 90% and the memory usage rate is greater than or equal to 90%, it may be understood that the resource usage value of the first application server is greater than or equal to the threshold.
It can be understood that the higher the occupancy rate and the memory usage rate of the central processing unit of the first application server are, the more busy the first application server is. If the resource usage value of the first application server is greater than or equal to the threshold value, the financial transaction traffic is continuously transmitted to the first application server at this time, which may cause the first application server to fail to process the received financial transaction traffic as soon as possible, and to feed back a response message to the terminal in time, resulting in transaction failure and affecting the customer experience.
Therefore, when the resource usage value of the first application server is greater than or equal to the threshold value, the control device can determine the delay of the financial transaction flow to be transmitted to the first application server according to the flow control model, so that the transmission device delays the transmission of the financial transaction flow to the first application server, the data volume of the financial transaction flow processed by the first application server is reduced, the first application server can process the received financial transaction flow as soon as possible, a response message is fed back to the terminal in time, and the transaction is guaranteed to be completed smoothly.
Optionally, before the control device determines whether the resource usage value is greater than or equal to the threshold, the control device may create a flow control model according to a supervised learning method, input the calculated resource sample value, the stored resource sample value, and the unit transaction amount sample value into the flow control model, and train parameters of the flow control model until errors of the delay and delay sample values output by the flow control model converge.
The control device controls the rate of transmitting the unit transaction amount sample value to the first application server according to the delay sample value, so that the first application server processes the unit transaction amount sample value based on the calculation resource sample value and the storage resource sample value to achieve the processing satisfaction degree.
The unit transaction amount may refer to a transaction amount per unit time (e.g., 1 second), that is, an amount of data accessing the first application server per unit time, or an amount of data processed by the first application server per unit time. The unit transaction amount sample value may refer to a collection of transaction amounts for different units of time.
The calculation resource sample value may refer to a set of different calculation resource occupancy rates corresponding to the first application server when processing financial transaction traffic in different unit times.
The storage resource sample value may refer to a set of different storage resource usage rates corresponding to the first application server when processing financial transaction traffic in different unit times.
The delay sample value may refer to a set of delay times generated by the first application server in case of processing financial transaction traffic in different units of time.
Exemplarily, the application server 121 in fig. 1 is taken as an example for illustration. For the application server 121, an automatic testing tool is used to simulate a situation that the transaction pressure is increasing continuously, that is, a situation that the financial transaction traffic received by the application server 121 is increasing continuously, and the financial transaction traffic is continuously sent to the application server 121 to obtain sample data. Further, a transaction information table shown in table 1 below can be obtained.
TABLE 1
Figure BDA0003349295260000101
The judgment rule of the transaction satisfaction degree may be that under different unit transaction amounts, the response time of the application server to the financial transaction traffic is within 5 seconds (S), and the transaction success rate is 100%, which may be considered as satisfaction. If the response time of the application server to the financial transaction flow exceeds 5s and/or the success rate does not reach 100%, the application server can be determined to be unsatisfactory.
Next, the entries with satisfactory transaction satisfaction are selected, and the sample data table shown in Table 2 below is obtained.
TABLE 2
Figure BDA0003349295260000102
As can be seen from table 2, when the transaction satisfaction is satisfactory, a specific unit transaction amount, cpu occupancy, and memory usage rate may correspond to a specific delay time, and the following formula (1) may be satisfied.
T=A*Xtps+B*Xcpu+C*XramFormula (1)
Wherein T is a delay time, XtpsIs unit transaction amount, XcpuAs cpu occupancy, XramIs the memory usage rate.
And A, B, C three parameters need to be calculated to complete the training of the flow control model. A. B, C three parameters, also referred to as flow control model parameters, may also be referred to as training factors.
Supervised learning is a machine learning task in which a function is inferred from labeled training data. The training data includes a set of training examples. In supervised learning, each instance consists of an input object (usually a vector) and a desired output value (also called a supervisory signal). Supervised learning algorithms analyze the training data and produce an inferred function that can be used to map out new instances. An optimal solution would allow the algorithm to correctly determine class labels for those instances that are not visible. This requires that the learning algorithm be formed in a "rational" manner from a point of view of the training data to a point of view that is not visible.
After the flow control model is created by the supervised learning method, A, B, C the initial values of the three parameters are random numbers. According to table 2, the cpu occupancy rate sample value, the memory usage rate sample value, and the unit transaction amount sample value included in the sample data are input to the flow control model, and one delay time can be calculated. Comparing the calculated delay time with the sample delay time in table 2 to obtain an error, training A, B, C three flow control model parameters according to a back propagation algorithm and the error, continuously updating A, B, C three flow control model parameters, continuously reducing the error between the calculated delay time and the sample delay time, and finally calculating proper A, B, C three flow control model parameters, so that the error between the calculated delay time and the sample delay time output by the flow control model is completely converged, namely the error is within an acceptable range, completing the training of the flow control model, and obtaining the flow control model.
The back propagation algorithm (BP algorithm) is mainly repeated and circularly iterated by two links (excitation propagation and weight updating) until the output data reaches a preset target range after the flow control model acquires sample data. In the embodiment of the present application, the error between the calculated delay time and the sample delay time calculated by the trained A, B, C flow control model parameters for the input sample data is within the target range.
After the flow control model is obtained, the resource usage value and the unit transaction amount of the first application server may be input into the flow control model, and then the delay time, i.e., the delay time, for transmitting the financial transaction flow to the first application server is calculated through the flow control model.
S203, the control device sends a control instruction to the first transmission device.
And the control equipment sends the control instruction to a first transmission equipment in M transmission equipment connected with N application servers in the bank system, and the control instruction is used for instructing the first transmission equipment to send financial transaction flow to the application server according to the calculated delay.
The first transmission device may be a transmission device in the banking system that is connected to the first application server.
If the first application server is connected with only one transmission device, the transmission device connected with the first application server is the first transmission device.
Exemplarily, in connection with the transaction system shown in fig. 1, assuming that the resource usage value of the application server 123 is greater than the threshold value, since the application server 123 is connected only to the transmission device 112, the control device 110 sends a control instruction to the transmission device 112, and controls the transmission device 112 to transmit the financial transaction traffic to the application server 123 according to the indicated delay.
If the first application server is connected to a plurality of transmission devices, the first transmission device may be any one of the plurality of transmission devices.
Exemplarily, in connection with the transaction system shown in fig. 1, assuming that the resource usage value of the application server 121 is greater than the threshold value, and the application server 121 connects the transmission device 111, the transmission device 112, and the transmission device 113, the first transmission device may be any one of the three transmission devices of the transmission device 111, the transmission device 112, and the transmission device 113. Illustratively, the control device 110 may send control instructions to the transmission device 111 to control the transmission device 111 to send financial transaction traffic to the application server 121 according to the indicated delay.
S204, the first transmission equipment receives the control instruction sent by the control equipment.
And S205, the first transmission equipment sends the financial transaction flow to the first application server according to the delay indicated by the control instruction.
And after receiving the control instruction, the first transmission equipment sends the financial transaction flow to the first application server according to the delay indicated by the control instruction.
With reference to the transaction system shown in fig. 1, if the first transmission device is the transmission device 111, the first application server is the application server 121, and the delay time indicated by the control command is 1 s. The transfer device 111 transmits the financial transaction traffic to the application server 121 after a delay of 1s after receiving the control instruction transmitted by the control device 110.
Based on the embodiment shown in fig. 2, the control device adjusts the rate of the financial transaction traffic transmitted from the transmission device to the application server according to the resource usage of the application server and the supervised learning method, that is, when the application server processes a large amount of financial transaction traffic, the control device delays the transmission of the financial transaction traffic to the application server, so as to reduce the financial transaction traffic processed by the application server within a certain time, so that the application server can process the received financial transaction traffic as soon as possible based on its own hardware resources, and further feed back a response message as soon as possible, thereby ensuring that the transaction is completed smoothly. The situations that the application server cannot process the received financial transaction flow as soon as possible due to insufficient hardware resources of the application server when facing a large amount of financial transaction flow, and the transaction is slow, the response is overtime and even the application server is down are avoided.
A flow control method provided in an embodiment of the present application is described below with reference to a specific example.
Illustratively, as shown in fig. 3, the transmission device 111 is connected to the application server 121, the transmission device 112 is connected to the application server 122, and the transmission device 113 is connected to the application server 123. If the resource usage values of the application server 122 and the application server 123 are greater than the threshold, the unit transaction amount of the application server 122 is 150, the cpu occupancy rate is 60%, and the memory usage rate is 50%, the unit transaction amount of the application server 123 is 190, the cpu occupancy rate is 90%, and the memory usage rate is 70%, and the resource usage values and the unit transaction amount of the application server 122 and the application server 123 are input into the flow control model, so that the following table 3 can be obtained.
TABLE 3
Figure BDA0003349295260000131
As can be seen from table 3, the delay of the financial transaction traffic to be transmitted to the application server 122 calculated by the traffic control model is 3s, and the delay of the financial transaction traffic to be transmitted to the application server 123 is 4 s.
In turn, the control device 110 sends a first control instruction to the transmission device 112, instructing the transmission device 112 to send the financial transaction traffic to the application server 122 according to the delay time indicated by the first control instruction. The control device 110 sends a second control instruction to the transmission device 113, instructing the transmission device 112 to send the financial transaction traffic to the application server 123 according to the delay time indicated by the second transmission instruction.
The transmission device 112 sends the financial transaction traffic to the application server 122 according to the delay time indicated by the first control instruction, that is, after waiting for 3s, sends the financial transaction traffic to the application server 122.
The transmission device 113 sends the financial transaction traffic to the application server 123 according to the delay time indicated by the second control instruction, that is, after waiting for 4s, sends the financial transaction traffic to the application server 122.
The transaction system shown in fig. 1 includes a control device, and in a possible embodiment, the transaction system does not include the control device, and the function of the control device may be combined with the function of the transmission device on the same physical device, that is, the transmission device may also have the function of the control device, that is, the transmission device may be regarded as a control device. Illustratively, as shown in fig. 4, the embodiment of the present application provides a schematic structural diagram of another transaction system.
The transaction system 40 includes at least one terminal (such as the terminal 401 and the terminal 402 shown in fig. 4), the internet 430, and a banking system 41. Banking system 41 includes M transport devices (e.g., transport device 411, transport device 412, and transport device 413) and N application servers (e.g., application server 421, application server 422, and application server 423).
The transmission device 411 connects the transmission device 412 and the application server 421, and the transmission device 412 connects the transmission device 413, the application server 421, the application server 422, and the application server 423. The transmission device 413 is connected to the application server 423.
For the description of the terminal, the internet 430, the banking system 41, the transmission device and the application server, reference may be made to the above description of the terminal, the internet 130, the banking system 11, the transmission device and the application server in fig. 1, and no further description is given here. Fig. 4 differs from fig. 1 in that it is assumed that the transmission apparatus 412 has the function of a control apparatus, that is, the transmission apparatus 412 is a transmission apparatus having the function of a control apparatus. The transmission apparatus 412 needs to be connected with each application server in the banking system 41, that is, the transmission apparatus 412 is connected with the application server 421, the application server 422, and the application server 423.
Transport apparatus 412 may obtain resource usage values for application server 421, application server 422, and application server 423.
Assuming that the resource usage value of the application server 422 is greater than the threshold, since the application server 422 is connected to only the transmission device 412, the transmission device 412 may transmit the financial transaction traffic to the application server 422 according to the delay after determining the delay of the financial transaction traffic to be transmitted to the application server 422 by the transmission device 412 according to the traffic control model.
It is assumed that the resource usage value of the application server 421 is greater than the threshold value, since the application server 421 connects the transmission device 411 and the transmission device 412. Therefore, after the transmission device 412 determines the delay of the financial transaction traffic to be transmitted to the application server 422 according to the traffic control model, the transmission device 412 may transmit the financial transaction traffic to the application server 421 according to the delay.
The transmitting device 412 may also send control instructions to the transmitting device 411 to control the transmitting device 411 to transmit the financial transaction traffic to the application server 421 according to the indicated delay.
In one possible embodiment, the control device may allocate the financial transaction traffic based on a magnitude relationship of the resource usage value of each application server to a threshold value. Specifically, the control device preferentially allocates the financial transaction traffic to the application server having the resource usage value smaller than the threshold value without allocating the financial transaction traffic to the application server having the resource usage value greater than or equal to the threshold value.
Illustratively, the example is given by taking the control device as an example to connect the first application server and the second application server.
The control device obtains resource usage values of the first application server and the second application server, and if the resource usage value of the first application server is greater than a threshold value, the resource usage value of the second application server is smaller than the threshold value, that is, the resource usage value of the first application server is greater than the resource usage value of the second application server, it can be understood that the busy degree of the first application server is greater than the busy degree of the second application server. The financial transaction traffic may be distributed to and processed by the second application server. Specifically, the control device may send a control instruction to a transmission device connected to the second application server, the transmission device being controlled to send the financial transaction traffic to the second application server.
It can be understood that if the resource usage of the first application server is not considered, the financial transaction traffic is still allocated to the first application server, which may cause slow transaction, response timeout, or even downtime of the first application server due to insufficient hardware resources of the first application server, and the received financial transaction traffic cannot be processed in time, resulting in transaction failure and affecting customer experience.
The above mainly introduces the scheme provided by the present application from the perspective of interaction between the nodes. It will be appreciated that each node, for example a control device, comprises corresponding hardware structures and/or software modules for performing each function in order to implement the above-described functions. Those of skill in the art will readily appreciate that the present invention can be implemented in hardware or a combination of hardware and computer software, in conjunction with the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The present application may perform division of function modules on the control device according to the above method example, for example, each function module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.
Fig. 5 is a schematic diagram illustrating a composition of a control device according to an embodiment of the present application. As shown in fig. 5, the control device 50 includes a processing unit 501, a receiving unit 502, and a transmitting unit 503. Optionally, the control device 50 may further include a storage unit 504.
The control device 50 may be a network device or a chip in a network device. When the control device 50 is used to implement the functions of the control apparatus in the above-described embodiments, each unit is specifically used to implement the following functions.
A receiving unit 502, configured to obtain a resource usage value of the first application server, where the resource usage value is used to indicate an occupation situation of a resource used by the first application server to process the financial transaction traffic, and the resource includes a computing resource and a storage resource.
When the resource usage value is greater than or equal to the threshold, the processing unit 501 is configured to determine, according to the traffic control model, a delay of the financial transaction traffic to be transmitted to the first application server, where the threshold is used to indicate a limit of a resource that is allowed to be occupied by the first application server for processing the financial transaction traffic.
A sending unit 503, configured to control a rate of transmitting the financial transaction traffic to the first application server according to the delay.
Optionally, the processing unit 501 is specifically configured to input the resource usage value and the unit transaction amount of the first application server into the traffic control model, and output the delay.
Optionally, the processing unit 501 is further configured to input the calculated resource sample value, the stored resource sample value, and the unit transaction amount sample value into the flow control model, train parameters of the flow control model until errors of the delay and delay sample values output by the flow control model converge, and obtain the flow control model. And controlling the rate of transmitting the unit transaction amount sample value to the first application server according to the delay sample value, so that the first application server processes the unit transaction amount sample value based on the calculation resource sample value and the storage resource sample value to achieve the processing satisfaction degree.
Optionally, the processing unit 501 is specifically configured to input the calculation resource sample value, the storage resource sample value, and the unit transaction amount sample value into the flow control model, and train parameters of the flow control model according to a back propagation algorithm until the delay output by the flow control model and the error of the delay sample value converge.
Optionally, the sending unit 503 is specifically configured to send a control instruction to the transmission device, where the control instruction is used to instruct the transmission device to send the financial transaction traffic to the first application server according to the delay.
Optionally, the sending unit 503 is specifically configured to send the control instruction to a first transmission device of M transmission devices connected to N application servers in the system, where the first transmission device is a transmission device connected to the first application server, and M and N are integers greater than or equal to 1.
Optionally, the storage unit 504 is configured to store the delay calculated by the flow control model for sending the financial transaction flow to the first application server.
The storage unit 504 is further configured to store a control instruction.
The storage unit 504 is also used for storing the financial transaction flow.
The elements in fig. 5 may also be referred to as modules, for example, the processing elements may be referred to as processing modules. In addition, in the embodiment shown in fig. 5, the names of the respective units may not be the names shown in the figure, and for example, the transmitting unit may also be referred to as a communication unit.
The respective units in fig. 5, if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or all or part of the technical solutions may be implemented in the form of a software product stored in a storage medium, and including several instructions to enable a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. A storage medium storing a computer software product comprising: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
As shown in fig. 6, the control device 60 includes a processor 11, and optionally, a memory 12 and a communication interface 13 connected to the processor 11. The processor 11, the memory 12 and the communication interface 13 are connected by a bus 14.
The processor 11 may be a Central Processing Unit (CPU), a general purpose processor Network (NP), a Digital Signal Processor (DSP), a microprocessor, a microcontroller, a Programmable Logic Device (PLD), or any combination thereof. The processor may also be any other means having a processing function such as a circuit, device or software module. The processor 11 may also include a plurality of CPUs, and the processor 11 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, or processing cores that process data (e.g., computer program instructions).
In the embodiment of the present application, the processor 11 may be used to implement the functions of the processing unit 501 in the control device 50. Illustratively, the processor 11 may be configured to determine a delay for transmitting the financial transaction traffic to the first application server according to a traffic control model.
Alternatively, the schematic structural diagram shown in fig. 6 may be used to illustrate the structure of the control device in the above embodiment. The processor 11 is used for controlling and managing the action of the control device. The processor 11 may communicate with other devices, for example with an application server, via a communication interface 13. The memory 12 is used for storing program codes and data for controlling the device, e.g. resource usage values of an application server may be stored.
Memory 12 may be a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, but is not limited to, electrically erasable programmable read-only memory (EEPROM), compact disk read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 12 may be separate or integrated with the processor 11. Wherein the memory 12 may have computer program code embodied therein. The processor 11 is configured to execute the computer program code stored in the memory 12, thereby implementing the method provided by the embodiment of the present application. The communication interface 13 may be used for communicating with other devices or communication networks (e.g., ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), etc.). The communication interface 13 may be a module, a circuit, a transceiver or any device capable of enabling communication.
The bus 14 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 14 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
Embodiments of the present application also provide a computer-readable storage medium, which includes computer-executable instructions, which, when executed on a computer, cause the computer to perform any one of the methods described above.
Embodiments of the present application also provide a computer program product comprising computer executable instructions, which when run on a computer, cause the computer to perform any of the above methods.
An embodiment of the present application further provides a chip, including: a processor coupled to the memory through the interface, and an interface, when the processor executes the computer program or the computer execution instructions in the memory, the processor causes any one of the methods provided by the above embodiments to be performed.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer-executable instructions. The processes or functions described in accordance with the embodiments of the present application occur, in whole or in part, when computer-executable instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer executable instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer executable instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). Computer-readable storage media can be any available media that can be accessed by a computer or can comprise one or more data storage devices, such as servers, data centers, and the like, that can be integrated with the media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
While the present application has been described in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed application, from a review of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
Although the present application has been described in conjunction with specific features and embodiments thereof, it will be evident that various modifications and combinations can be made thereto without departing from the spirit and scope of the application. Accordingly, the specification and figures are merely exemplary of the present application as defined in the appended claims and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of the present application. It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method of flow control, comprising:
acquiring a resource usage value of a first application server, wherein the resource usage value is used for indicating the occupation condition of resources used by the first application server for processing financial transaction flow, and the resources comprise computing resources and storage resources;
when the resource usage value is greater than or equal to a threshold value, determining the delay of the financial transaction traffic to be transmitted to the first application server according to a traffic control model, wherein the threshold value is used for indicating the limit of resources allowed to be occupied by the first application server for processing the financial transaction traffic;
and controlling the rate of transmitting the financial transaction flow to the first application server according to the delay.
2. The method of claim 1, wherein determining the delay in transmitting the financial transaction traffic to the first application server based on the traffic control model comprises:
and inputting the resource usage value and the unit transaction amount of the first application server into the flow control model, and outputting the delay.
3. The method of claim 2, wherein prior to said determining a delay time to transmit financial transaction traffic to the first application server according to a traffic control model, the method further comprises:
inputting a calculation resource sample value, a storage resource sample value and a unit transaction amount sample value into the flow control model, training flow control model parameters until errors of a delay value and a delay sample value output by the flow control model are converged to obtain the flow control model, wherein the rate of transmitting the unit transaction amount sample value to the first application server is controlled according to the delay sample value, so that the first application server processes the unit transaction amount sample value based on the calculation resource sample value and the storage resource sample value to reach the processing satisfaction degree.
4. The method of claim 3, wherein inputting the compute resource sample value, the store resource sample value, and the unit transaction amount sample value into the flow control model, training flow control model parameters until errors of the delay and delay sample values output by the flow control model converge, comprises:
and inputting the calculation resource sample value, the storage resource sample value and the unit transaction amount sample value into the flow control model, and training the flow control model parameters according to a back propagation algorithm until the delay output by the flow control model and the error of the delay sample value are converged.
5. The method of any of claims 1-4, wherein controlling a rate of transmission of financial transaction traffic to the first application server based on the delay comprises:
and sending a control instruction to a transmission device, wherein the control instruction is used for instructing the transmission device to send financial transaction flow to the first application server according to the delay.
6. The method of claim 5, wherein sending control instructions to the transmitting device comprises:
and sending the control instruction to a first transmission device in M transmission devices connected with N application servers in the system, wherein the first transmission device is connected with the first application server, and M and N are integers greater than or equal to 1.
7. A control device, comprising:
the receiving unit is used for acquiring a resource usage value of a first application server, wherein the resource usage value is used for indicating the occupation condition of a resource used by the first application server for processing financial transaction flow, and the resource comprises a computing resource and a storage resource;
when the resource usage value is greater than or equal to a threshold value, a processing unit, configured to determine, according to a traffic control model, a delay of a financial transaction traffic to be transmitted to the first application server, where the threshold value is used to indicate a limit of a resource that is allowed to be occupied by the first application server for processing the financial transaction traffic;
and the sending unit is used for controlling the rate of transmitting the financial transaction flow to the first application server according to the time delay.
8. A control apparatus, characterized by comprising: a memory for storing a computer program and a processor for executing the computer program to cause the control apparatus to perform the method of any of claims 1-6.
9. A communication system, comprising: the system comprises control equipment, M transmission equipment and N application servers, wherein the M transmission equipment comprises first transmission equipment, the N application servers comprise first application servers, the first application servers are application servers with resource use values larger than or equal to a threshold value in the N application servers, the first transmission equipment is transmission equipment connected with the first application server in the M transmission equipment, and M and N are integers larger than or equal to 1;
the control device is configured to perform the method of any of claims 1-6 above to enable controlling a rate at which the first transmission device transmits financial transaction traffic to the first application server according to a delay.
10. A computer-readable storage medium comprising computer instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1-6.
CN202111332156.6A 2021-11-11 2021-11-11 Flow control method, device, equipment and system Pending CN114116207A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111332156.6A CN114116207A (en) 2021-11-11 2021-11-11 Flow control method, device, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111332156.6A CN114116207A (en) 2021-11-11 2021-11-11 Flow control method, device, equipment and system

Publications (1)

Publication Number Publication Date
CN114116207A true CN114116207A (en) 2022-03-01

Family

ID=80378271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111332156.6A Pending CN114116207A (en) 2021-11-11 2021-11-11 Flow control method, device, equipment and system

Country Status (1)

Country Link
CN (1) CN114116207A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629852A (en) * 2022-03-14 2022-06-14 中国银行股份有限公司 Bank business data transmission method and device
CN114826951A (en) * 2022-05-31 2022-07-29 中国工商银行股份有限公司 Service automatic degradation method, device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629852A (en) * 2022-03-14 2022-06-14 中国银行股份有限公司 Bank business data transmission method and device
CN114826951A (en) * 2022-05-31 2022-07-29 中国工商银行股份有限公司 Service automatic degradation method, device, computer equipment and storage medium
CN114826951B (en) * 2022-05-31 2024-02-20 中国工商银行股份有限公司 Service automatic degradation method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN113098773B (en) Data processing method, device and system
CN110808922B (en) Message processing method and device, storage medium and electronic equipment
CN114116207A (en) Flow control method, device, equipment and system
CN104901989B (en) A kind of Site Service offer system and method
CN108449286A (en) Network bandwidth resources distribution method and device
CN109802997B (en) Node equipment selection method and related equipment thereof
CN113259479B (en) Data processing method and equipment
CN109995839B (en) Load balancing method, system and load balancer
Kliazovich et al. CA-DAG: Communication-aware directed acyclic graphs for modeling cloud computing applications
WO2013188411A4 (en) Methods, systems, and computer readable media for routing diameter messages at a diameter signaling router
CN113438681B (en) Network slice feasibility evaluation method and device and computing equipment
CN110544159B (en) Map information processing method and device, readable storage medium and electronic equipment
CN111431730B (en) Service processing method, system, computer equipment and readable medium
CN113949666B (en) Flow control method, device, equipment and system
CN112714146B (en) Resource scheduling method, device, equipment and computer readable storage medium
CN112968794A (en) Network function chain deployment method, device, terminal device and storage medium
CN114579311B (en) Method, device, equipment and storage medium for executing distributed computing task
CN113726881B (en) Communication connection establishment method, related device and computer readable storage medium
CN114448838B (en) System reliability evaluation method
CN116991337B (en) Cloud storage method and device for educational resources of remote educational system
CN111314189B (en) Service message sending method and device
CN116436978B (en) Cloud computing-oriented memory allocation method, memory acquisition method, device and equipment
CN115297047B (en) Networking method, electronic device and computer-readable storage medium
CN112104756B (en) Internet of things data reporting method and system
CN117472563A (en) Multi-task cooperative allocation method, device and related equipment for non-ground network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination