Task traffic distribution method and system, computer equipment and readable storage medium

By obtaining the group and identity information of the service unit nodes and dynamically adjusting the traffic allocation strategy based on real-time traffic task information and resource configuration information, the load balancing technology limitation caused by the business complexity of the fiscal and taxation industry is solved, and higher adaptability and flexibility are achieved.

CN120223642APending Publication Date: 2025-06-27BEIJING ZIJING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510372029.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-27
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

The business complexity of the fiscal and taxation industry is relatively high. The existing load balancing technology common to the Internet cannot meet the actual application needs. There are limitations on the total traffic limit of each unit node and the proportion of traffic categories.

Method used

By obtaining the information of each service unit node, determining its group and identity information, and dynamically adjusting the traffic allocation strategy based on real-time traffic task information and resource configuration information, avoiding limiting the total traffic upper limit and traffic category of each unit node.

Benefits of technology

It realizes dynamic adjustment of traffic allocation strategies based on real-time traffic task information and resource configuration information, improves adaptability in different application scenarios, and avoids the limitation of unit node traffic upper limit and category proportion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure HDA0005331637120000011
    Figure HDA0005331637120000011
  • Figure HDA0005331637120000021
    Figure HDA0005331637120000021
  • Figure HDA0005331637120000022
    Figure HDA0005331637120000022
Patent Text Reader

Abstract

The invention provides a task traffic distribution method and system, computer equipment and a readable storage medium. The task traffic distribution method comprises the following steps: firstly, acquiring information of each service unit node, and determining group and identity information of each service unit node according to the information of the service unit node; secondly, determining the total flow upper limit information and the flow type of each service unit node according to the group and identity information; and finally, obtaining real-time flow task information, and determining a current flow distribution strategy according to the real-time flow task information and the resource configuration information of the group corresponding to the real-time flow task information. By adopting the above mode, the flow distribution strategy can be determined according to the real-time flow task information and the resource configuration information of the corresponding group, and the total flow upper limit and the flow category of each unit node are prevented from being correspondingly limited, so that the adaptability of the method and the device in different application scenes is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet technologies, and in particular, to a method, a system, a computer device, and a readable storage medium for task traffic distribution. Background Art

[0002] With the rapid development of the Internet industry, the traffic of websites has increased sharply, and services have performance bottlenecks when dealing with high-concurrency connections. The services with a monolithic architecture are converted into microservices, and a large monolithic architecture project will be split into multiple small and autonomous microservices. These microservices need to call each other to complete complex business functions. When a service needs to call another service, there may be multiple service instances to choose from. For example, the product service needs to call the inventory service, and there are multiple instances of the inventory service deployed on different servers. In the above situation, in order to efficiently distribute requests to multiple service instances, load balancing technologies for traffic distribution have emerged, such as using hardware devices (such as F5), software (such as Nginx) at the traffic entrance, and microservice client load balancing (such as Ribbon). These load balancing technologies achieve load balancing distribution of traffic through the configuration of common rules or simple custom rules.

[0003] However, the business complexity of the financial and tax industries is relatively high, and the above-mentioned general-purpose load balancing for the Internet obviously cannot meet the actual application situation, and there are defects in restricting the total traffic upper limit and traffic category ratio of each unit node. Summary of the Invention

[0004] Based on this, it is necessary to provide a method, a system, a computer device, and a readable storage medium for task traffic distribution in view of the above technical problems.

[0005] A method for task traffic distribution includes:

[0006] Obtain information of each service unit node, and determine the group and identity information of each service unit node according to the service unit node information;

[0007] Determine the total traffic upper limit information and traffic type of each service unit node according to the group and identity information;

[0008] Obtain real-time traffic task information, and determine the current traffic distribution policy according to the real-time traffic task information and the resource configuration information of the group corresponding to the real-time traffic task information.

[0009] In one embodiment, the step of obtaining real-time traffic task information and determining the current traffic distribution policy according to the real-time traffic task information and the resource configuration information of the group corresponding to the real-time traffic task information includes:

[0010] Obtain real-time traffic task information, and obtain resource configuration information corresponding to the group of the real-time traffic task information according to the real-time traffic task information. The resource configuration information includes the total traffic resources of the group and traffic categories.

[0011] Determine service unit nodes to be served for traffic distribution according to the resource configuration information of the corresponding group and the real-time traffic task information, and send the real-time data volume in the real-time traffic task information to the service unit nodes to be served according to a preset rule.

[0012] In one embodiment, the step of determining service unit nodes to be served for traffic distribution according to the resource configuration information of the corresponding group and the real-time traffic task information, and sending the real-time data volume in the real-time traffic task information to the service unit nodes to be served according to a preset rule includes:

[0013] Determine whether the total traffic resources to be served of the corresponding group are sufficient according to the resource configuration information of the corresponding group and the real-time traffic task information;

[0014] If it is determined that the total traffic resources to be served of the corresponding group are sufficient, obtain the technical weights, business weights, and version information of each service unit node in the group, and determine the service unit nodes to be served according to the technical weights, business weights, and version information of each service unit node in the group;

[0015] Send the real-time data volume in the real-time traffic task information to the service unit nodes to be served in a uniformly distributed manner.

[0016] In one embodiment, the step of determining whether the total traffic resources to be served of the corresponding group are sufficient according to the resource configuration information of the corresponding group and the real-time traffic task information includes:

[0017] Determine the total traffic resources to be served of the corresponding group according to the resource configuration information of the corresponding group and the real-time traffic task information;

[0018] Compare the total traffic resources to be served with the real-time data volume in the real-time traffic task information. If the total traffic resources to be served are greater than or equal to the real-time traffic data volume, determine that the total traffic resources to be served of the corresponding group are sufficient;

[0019] If the total traffic resources to be served are less than the real-time traffic data volume, determine that the total traffic resources to be served of the corresponding group are insufficient.

[0020] In one embodiment, the step of obtaining information of each service unit node and determining the group and identity information of each service unit node according to the service unit node information includes:

[0021] Obtain information of each service unit node, and allocate each service unit node to a corresponding group according to the service unit node information;

[0022] Obtain corresponding group information, and determine the identity information of each service unit node in the group according to the corresponding group information, where the identity information includes a subdomain name and an IP address.

[0023] In one embodiment, the step of determining the total traffic limit information and traffic type of each service unit node according to the group and identity information includes:

[0024] Determine the total traffic limit information and the traffic type of the total traffic of each service unit node according to the group and identity information, where the traffic type of the total traffic includes a first job traffic and a second job traffic, and the traffic processing speeds of the first job traffic and the second job traffic are different.

[0025] A task traffic distribution system includes:

[0026] An acquisition module, configured to obtain information of each service unit node, and determine the group and identity information of each service unit node according to the service unit node information;

[0027] A configuration module, connected to the acquisition module, configured to determine the total traffic limit information and traffic type of each service unit node according to the group and identity information;

[0028] A processing module, connected to the configuration module, configured to obtain real-time traffic task information, and determine a current traffic distribution policy according to the real-time traffic task information and the resource configuration information of the group corresponding to the real-time traffic task information.

[0029] In one embodiment, the processing module is further configured to dynamically adjust the current traffic distribution policy according to the resource configuration information of the corresponding group and the data volume in the real-time traffic task information.

[0030] A computer device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the steps of the method according to any one of the above embodiments are implemented.

[0031] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of the above embodiments are implemented.

[0032] Compared with the prior art, the method, system, computer device and readable storage medium for task traffic distribution include: First, obtain information of each service unit node, and determine the group and identity information of each service unit node according to the service unit node information; Second, determine the total traffic upper limit information and traffic type of each service unit node according to the group and identity information; Finally, obtain real-time traffic task information, and determine the current traffic allocation policy according to the real-time traffic task information and the resource configuration information of the group corresponding to the real-time traffic task information. By adopting the above method, the present application can determine the traffic allocation policy according to the real-time traffic task information and the resource configuration information of the corresponding group, avoiding corresponding restrictions on the total traffic upper limit and traffic category of each unit node, thereby improving the adaptability of the present application in different application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application or in the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained according to these drawings.

[0034] Figure 1 It is a flowchart of the method for task traffic distribution provided by an embodiment of the present application;

[0035] Figure 2 It is a schematic diagram of group grouping provided by an embodiment of the present application;

[0036] Figure 3 It is a structural block diagram of the system for task traffic distribution provided by an embodiment of the present application;

[0037] Figure 4 It is an internal structure diagram of the computer device provided by an embodiment of the present application.

[0038] Description of the reference numerals:

[0039] 10. System for task traffic distribution; 100. Acquisition module; 200. Configuration module; 300. Processing module. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0040] To make the above objects, features, and advantages of the present application more apparent and understandable, the following provides a detailed description of the specific embodiments of the present application in conjunction with the accompanying drawings. Many specific details are set forth in the following description to facilitate a thorough understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without departing from the connotation of the present application. Therefore, the present application is not limited by the specific embodiments disclosed below.

[0041] The serial numbers assigned to the components herein, such as "first", "second", etc., are only used to distinguish the described objects and do not have any sequential or technical meanings. The terms "connection" and "coupling" as used in the present application, unless otherwise specified, both include direct and indirect connections (couplings). In the description of the present application, it should be understood that the orientation or positional relationships indicated by the terms "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", etc. are based on the orientation or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation to the present application.

[0042] In the present application, unless otherwise clearly defined and limited, the first feature being "on" or "under" the second feature may be that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, the first feature being "above", "over", and "on top of" the second feature may be that the first feature is directly above or obliquely above the second feature, or simply indicates that the first feature has a higher horizontal height than the second feature. The first feature being "under", "beneath", and "underneath" the second feature may be that the first feature is directly below or obliquely below the second feature, or simply indicates that the first feature has a lower horizontal height than the second feature.

[0043] It should be noted that when an element is referred to as being "fixed to" another element, it can be directly on the other element or there may also be an intermediate element. When an element is considered to be "connected" to another element, it can be directly connected to the other element or there may be an intermediate element present simultaneously.

[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which the present application belongs. The terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. The term "and / or" as used herein includes any and all combinations of one or more of the related listed items.

[0045] Please refer to Figure 1, an embodiment of the present application provides a method for task traffic distribution. The method includes:

[0046] S102: Obtain information of each service unit node, and determine the group and identity information of each service unit node according to the service unit node information.

[0047] In some embodiments, the server can obtain information of each service unit node, and determine the group and identity information of each service unit node according to the service unit node information. Specifically, each service unit node is assigned a corresponding group. And independent identity information is matched for each service unit node within the group. In some embodiments, the identity information may include a subdomain name, an IP address, etc. The subdomain name or IP address is equivalent to the ID card of each service unit node and has uniqueness.

[0048] Taking the subdomain name as an example, as Figure 2 shown, there are three groups (Group 1, Group 2, and Group 3). Among them, Group 1 includes nodes 1_1, 1_2, and 1_3. 1_1, 1_2, and 1_3 are the subdomain names of the corresponding nodes respectively. Node 1_1 represents the first service unit node in Group 1, node 1_2 represents the second service unit node in Group 1, and node 1_3 represents the third service unit node in Group 1. Similarly, Group 2 includes nodes 2_1, 2_2, and 2_3. Node 2_1 represents the first service unit node in Group 2, node 2_2 represents the second service unit node in Group 2, and node 2_3 represents the third service unit node in Group 1.

[0049] S104: Determine the total traffic limit information and traffic type of each service unit node according to the group and identity information.

[0050] In some embodiments, the server can determine the total traffic limit information and traffic type of each service unit node according to the group and identity information. Specifically, the total traffic limit of each service unit node can be set, as well as the specific traffic type composition of the total traffic. In some embodiments, the specific traffic type of the total traffic of a certain service unit node can be set to 200 for the total traffic, including 150 for slow jobs and 50 for fast jobs. The specific traffic type can be set according to actual needs and is not specifically limited.

[0051] S106: Obtain real-time traffic task information, and determine the current traffic distribution strategy according to the real-time traffic task information and the resource configuration information of the group corresponding to the real-time traffic task information.

[0052] In some embodiments, the real-time traffic task information can be obtained through a server, and the current traffic allocation policy can be determined according to the real-time traffic task information and the resource configuration information of the group corresponding to the real-time traffic task information. Specifically, when there is a new traffic task, the real-time traffic task information can be obtained through the server, and then the current traffic allocation policy can be determined according to the resource configuration information of the group corresponding to the real-time traffic task information and the real-time data volume.

[0053] In some embodiments, the traffic allocation policy can adopt a uniform allocation method, or the traffic allocation policy can be dynamically adjusted according to the resource configuration information of the group. For example, when the data volume is too large and the available service unit nodes are insufficient, the number of service unit nodes can be expanded in real time to achieve the purpose of quickly consuming traffic. On the contrary, the number of service unit nodes can also be reduced in real time to achieve the purpose of saving server resources. By adopting the above method in this embodiment, the traffic allocation policy can be determined according to the real-time traffic task information and the resource configuration information of the corresponding group, avoiding corresponding restrictions on the total traffic limit and traffic category of each unit node, thereby improving the adaptability of this embodiment in different application scenarios.

[0054] In some embodiments, the steps of obtaining the real-time traffic task information and determining the current traffic allocation policy according to the real-time traffic task information and the resource configuration information of the group corresponding to the real-time traffic task information include: obtaining the real-time traffic task information, and obtaining the resource configuration information of the group corresponding to the real-time traffic task information according to the real-time traffic task information, where the resource configuration information includes the total traffic resources of the group and the traffic category; according to the resource configuration information of the corresponding group and the real-time traffic task information, determining the service unit nodes to be served for traffic distribution, and sending the real-time data volume in the real-time traffic task information to the service unit nodes to be served according to a preset rule.

[0055] In some embodiments, if the real-time data volume in the real-time traffic task information is 120, and the group corresponding to the real-time traffic task information (such as group 2) includes node 2_1, node 2_2, and node 2_3, the total traffic limit of each node is 200, and at the current moment, each node has 80 fast job traffic and 20 slow job traffic remaining. Then the total traffic resources of this group are 600, with 300 remaining, and the traffic category of each node includes 80 fast job traffic and 20 slow job traffic.

[0056] Then, based on the resource configuration information of the corresponding group and the real-time traffic task information, the service unit nodes to be served for traffic distribution can be determined, that is, the service unit nodes to be served for traffic distribution are determined to be Node 2_1, Node 2_2, and Node 2_3. Then, the real-time data volume is sent to each node according to a preset rule (such as equal distribution). That is, Node 2_1, Node 2_2, and Node 2_3 each receive 40 data volumes and perform operations.

[0057] In some embodiments, the step of determining the service unit nodes to be served for traffic distribution according to the resource configuration information of the corresponding group and the real-time traffic task information, and sending the real-time data volume in the real-time traffic task information to the service unit nodes to be served according to a preset rule includes:

[0058] Determine whether the total traffic resources to be served in the corresponding group are sufficient according to the resource configuration information of the corresponding group and the real-time traffic task information; if it is determined that the total traffic resources to be served in the corresponding group are sufficient, obtain the technical weights, business weights, and version information of each service unit node in the group, and determine the service unit nodes to be served according to the technical weights, business weights, and version information of each service unit node in the group; send the real-time data volume in the real-time traffic task information to the service unit nodes to be served in a uniformly distributed manner.

[0059] In some embodiments, determine the total traffic resources to be served in the corresponding group according to the resource configuration information of the corresponding group and the real-time traffic task information; compare the total traffic resources to be served with the real-time data volume in the real-time traffic task information, if the total traffic resources to be served are greater than or equal to the real-time traffic data volume, determine that the total traffic resources to be served in the corresponding group are sufficient; at this time, the technical weights, business weights, version information, etc. of each service unit node in the group can be obtained, and the service unit nodes to be served are determined according to the technical weights, business weights, version information, etc. of each service unit node in the group.

[0060] For example, if the amount of real-time data in the real-time traffic task information is 120, and the group corresponding to this real-time traffic task information (such as Group 2) includes Node 2_1, Node 2_2, and Node 2_3, and the total traffic limit of each node is 200. At the current moment, Node 2_1 has 120 free fast job traffic and 20 slow job traffic, Node 2_3 has 100 free slow job traffic, and Node 2_2 is running at full capacity. Then the total traffic resources of this group are 600, with 220 remaining. At this time, the total traffic resources to be served in Group 2 are sufficient. If the real-time data volume needs to be processed quickly, the service unit node to be served can be determined as Node 2_1 based on the technical weight, business weight, and version information of Node 2_1 and Node 2_3, that is, all the real-time data volume is sent to Node 2_1 for processing.

[0061] In some embodiments, if the total traffic resources to be served are less than the real-time traffic data volume, it is determined that the total traffic resources to be served in the corresponding group are insufficient. At this time, the number of service unit nodes can be expanded in real time to achieve the purpose of quickly consuming traffic.

[0062] In some embodiments, the step of determining the total traffic limit information and traffic type of each service unit node according to the group and identity information includes: determining the total traffic limit information and the traffic type of the total traffic of each service unit node according to the group and identity information, where the traffic type of the total traffic includes first job traffic and second job traffic, and the traffic processing speeds of the first job traffic and the second job traffic are different. In some embodiments, the first job traffic may be fast job traffic; the second job traffic may be slow job traffic. Or, the first job traffic may be slow job traffic; the second job traffic may be fast job traffic. This embodiment does not make specific limitations and can be configured according to actual needs.

[0063] Please refer to Figure 3, an embodiment of the present application provides a task traffic distribution system 10. The task traffic distribution system 10 includes: an acquisition module 100, a configuration module 200, and a processing module 300. The acquisition module 100 is used to acquire information of each service unit node, and determine the group and identity information of each service unit node according to the service unit node information. The configuration module 200 is connected to the acquisition module 100. The configuration module 200 is used to determine the total traffic limit information and traffic type of each service unit node according to the group and identity information. The processing module 300 is connected to the configuration module 200. The processing module 300 is used to acquire real-time traffic task information, and determine the current traffic allocation strategy according to the real-time traffic task information and the resource configuration information of the group corresponding to the real-time traffic task information. In some embodiments, the processing module 300 is further used to dynamically adjust the current traffic allocation strategy according to the resource configuration information of the corresponding group and the data volume in the real-time traffic task information.

[0064] In some embodiments, the specific structure of the acquisition module 100 is not limited, as long as it has the function of acquiring information of each service unit node and determining the group and identity information of each service unit node according to the service unit node information. Specifically, the acquisition module 100 can be a collector, a processor, etc. The specific structure of the acquisition module 100 can be selected according to actual needs, and no specific limitation is made here.

[0065] In some embodiments, the specific structure of the configuration module 200 is not limited, as long as it has the function of determining the total traffic limit information and traffic type of each service unit node according to the group and identity information. Specifically, the configuration module 200 can be a microprocessor or an integrated controller, etc. The specific structure of the configuration module 200 can be selected according to actual needs, and no specific limitation is made here.

[0066] In some embodiments, the specific structure of the processing module 300 is not limited, as long as it has the function of acquiring real-time traffic task information and determining the current traffic allocation strategy according to the real-time traffic task information and the resource configuration information of the group corresponding to the real-time traffic task information. Specifically, the processing module 300 can be a processor or an integrated controller, etc. The specific structure of the processing module 300 can be selected according to actual needs, and no specific limitation is made here.

[0067] The task traffic distribution system 10 described in this embodiment can determine the traffic allocation strategy according to the real-time traffic task information and the resource configuration information of the corresponding group, avoiding corresponding restrictions on the total traffic limit and traffic category of each unit node, thereby improving the adaptability of this embodiment in different application scenarios.

[0068] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows Figure 4 shown. The computer device includes a processor, a memory, a network 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 network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it realizes a method for task traffic distribution. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device may be a touch layer covered on the display screen, or a button, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, touchpad, or mouse, etc.

[0069] Those skilled in the art can understand that Figure 4 the structure shown in is only a block diagram of some structures 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 some components, or have different component arrangements.

[0070] Please refer to Figure 4 , another embodiment of the present application provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it realizes the steps of the method for task traffic distribution described in any one of the above embodiments.

[0071] In one embodiment, when the processor executes the computer program, the following steps are realized:

[0072] S102: Obtain information of each service unit node, and determine the group and identity information of each service unit node according to the service unit node information;

[0073] S104: Determine the total traffic upper limit information and traffic type of each service unit node according to the group and identity information;

[0074] S106: Obtain real-time traffic task information, and determine the current traffic allocation policy according to the real-time traffic task information and the resource configuration information of the group corresponding to the real-time traffic task information.

[0075] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for task traffic distribution described in any one of the above embodiments are implemented.

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

[0077] S102: Obtain information of each service unit node, and determine the group and identity information of each service unit node according to the service unit node information;

[0078] S104: Determine the total traffic limit information and traffic type of each service unit node according to the group and identity information;

[0079] S106: Obtain real-time traffic task information, and determine the current traffic allocation policy according to the real-time traffic task information and the resource configuration information of the group corresponding to the real-time traffic task information.

[0080] Through the above method, the above computer device and computer-readable storage medium can determine the traffic allocation policy according to the real-time traffic task information and the resource configuration information of the corresponding group, avoiding corresponding restrictions on the total traffic limit and traffic category of each unit node, thereby improving the adaptability of this embodiment in different application scenarios.

[0081] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. 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 methods. Among them, any reference to a memory, storage, database, or other medium used in the various embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.

[0082] The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as falling within the scope described in this specification.

[0083] The above-described embodiments merely represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, 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 appended claims.

Claims

1. A method for distributing task traffic, characterized in that: include: Acquire information of each service unit node, and determine group and identity information of each service unit node according to the service unit node information; Determine the total flow limit information and flow type of each of the service unit nodes according to the group and identity information; Real-time traffic task information is acquired, and a current traffic allocation strategy is determined according to the real-time traffic task information and resource configuration information of a group corresponding to the real-time traffic task information.

2. The method for task flow distribution according to claim 1, characterized in that: The step of obtaining the real-time traffic task information and determining the current traffic allocation strategy according to the real-time traffic task information and the resource configuration information of the group corresponding to the real-time traffic task information includes: Acquire real-time traffic task information, and acquire resource configuration information of a group corresponding to the real-time traffic task information according to the real-time traffic task information, wherein the resource configuration information includes total traffic resources and traffic categories of the group; According to the resource configuration information of the corresponding group and the real-time traffic task information, the service unit node to be served for traffic distribution is determined, and the real-time data volume in the real-time traffic task information is sent to the service unit node to be served according to preset rules.

3. The method for task flow distribution as claimed in claim 2, characterized in that: The step of determining the service unit node to be served for traffic distribution according to the resource configuration information of the corresponding group and the real-time traffic task information, and sending the real-time data volume in the real-time traffic task information to the service unit node to be served according to a preset rule comprises: Determine whether the total traffic resources to be served by the corresponding group are sufficient according to the resource configuration information of the corresponding group and the real-time traffic task information; If it is determined that the total traffic resources to be served in the corresponding group are sufficient, then the technical weight, business weight and version information of each service unit node in the group are obtained, and the service unit node to be served is determined according to the technical weight, business weight and version information of each service unit node in the group; The real-time data volume in the real-time traffic task information is sent to the service unit nodes to be served in a uniformly distributed manner.

4. The method for task flow distribution according to claim 3, characterized in that: The step of determining whether the total traffic resources to be served by the corresponding group are sufficient according to the resource configuration information of the corresponding group and the real-time traffic task information comprises: Determine the total traffic resources to be served of the corresponding group according to the resource configuration information of the corresponding group and the real-time traffic task information; Compare the total traffic resources to be served with the real-time data volume in the real-time traffic task information, and if the total traffic resources to be served are greater than or equal to the real-time traffic data volume, determine that the total traffic resources to be served for the corresponding group are sufficient; If the total traffic resources to be served are less than the real-time traffic data volume, it is determined that the total traffic resources to be served for the corresponding group are insufficient.

5. The method for task flow distribution according to claim 1, characterized in that: The step of obtaining information of each service unit node and determining the group and identity information of each service unit node according to the service unit node information includes: Acquire information of each service unit node, and assign each service unit node to a corresponding group according to the service unit node information; The corresponding group information is obtained, and the identity information of each service unit node in the group is determined according to the corresponding group information, wherein the identity information includes a subdomain name and an IP address.

6. The method for task flow distribution according to claim 1, characterized in that: The step of determining the total flow upper limit information and flow type of each service unit node according to the group and identity information comprises: The total flow upper limit information and the flow type of the total flow of each service unit node are determined according to the group and identity information, wherein the flow type of the total flow includes a first operation flow and a second operation flow, and the flow processing speeds of the first operation flow and the second operation flow are different.

7. A system for task traffic distribution, characterized in that: include: An acquisition module, used to acquire information of each service unit node, and determine the group and identity information of each service unit node according to the service unit node information; A configuration module connected to the acquisition module, the configuration module is used to determine the total flow limit information and flow type of each of the service unit nodes according to the group and identity information; A processing module is connected to the configuration module, and is used to obtain real-time traffic task information and determine the current traffic allocation strategy based on the real-time traffic task information and the resource configuration information of the group corresponding to the real-time traffic task information.

8. The task flow distribution system according to claim 7, characterized in that: The processing module is also used to dynamically adjust the current traffic allocation strategy according to the resource configuration information of the corresponding group and the data volume in the real-time traffic task information.

9. 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.

10. 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.