Activity distribution rate control method, system, device and readable storage medium

Through the rate management object allocation method, the activity issuance rate is determined based on the issuance rate of multiple channels, which solves the problem of downstream access control when multiple activities are parallel, and achieves stable and efficient execution of activity tasks.

CN112116399BActive Publication Date: 2024-09-24PINGAN YIQIANBAO E COMMERCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011038233.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-28
Publication Date
2024-09-24
Estimated Expiration
2040-09-28

AI Technical Summary

Technical Problem

The existing technology makes it difficult to effectively control the amount of downstream access when multiple activities are issued in parallel to multiple combination channels. As a result, requests are downgraded or discarded when the request volume exceeds the processing capacity, affecting activity efficiency.

Method used

The rate management object allocation method is used to determine the activity issuance rate based on the issuance rates of multiple target channels. The minimum value is determined as the activity issuance rate through the minimum allocation principle, and is redistributed when the channel issuance rate changes to ensure that activity tasks are within a fixed limit. Stable execution within flow scope.

Benefits of technology

It effectively avoids request overload, ensures the stable execution of active tasks when multiple tasks are performed simultaneously, and ensures the stability and efficiency of the entire active link.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000
    Figure 00000000_0000
Patent Text Reader

Abstract

The present invention discloses a method for controlling the activity issuance rate, including: receiving an activity issuance task instruction, the activity issuance task instruction includes multiple target channels for executing the activity issuance task; querying the issuance rates of multiple target channels in the rate management object corresponding to the activity issuance task according to the activity task issuance instruction, and determining the activity issuance rate according to the issuance rates of multiple target channels, the rate management object includes multiple channels and the issuance rates corresponding to each channel; allocating the issuance rates of the target channels in the rate management object to the activity issuance task at the activity issuance rate, and executing the activity issuance task according to the activity task issuance instruction; updating the issuance rates in the rate management object based on the activity issuance rate to obtain the remaining rates of each channel. The present invention also includes storing the activity issuance task in a blockchain. The present invention improves the efficiency of the activity issuance task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of data networks, and in particular to an activity distribution rate control method, system, device and readable storage medium. Background Art

[0002] As a system that actively pushes marketing offers to users, the offline marketing system needs to be configured according to different activity rules to issue multiple marketing offers for combined channels. One marketing offer corresponds to one downstream channel system, and different downstream systems have different concurrent processing capabilities, so different current limiting configurations are required for different channels. A marketing campaign can be configured with multiple combined offers, and the marketing campaign push time is determined by the rule configuration. Therefore, there are scenarios where multiple activities are issued in parallel and multiple combined channels are pushed at the same time. In this case of multiple combinations, how to ensure that the downstream access volume is controlled within a fixed range is a question worth considering.

[0003] Among the most popular technologies in the existing technology, the token bucket or leaky bucket algorithm is mainly used to control the flow access to a certain scenario processing logic in the request processing link, and the token current limiting algorithm is connected to each channel to perform current limiting control according to the throughput of different channels.

[0004] In this case, when there are too many activities going on at the same time and they are all sent to the same channel at the same time, for example, when the number of requests on a channel exceeds the upper limit of the processing capacity, too many requests will be downgraded or discarded, and the processing will not be complete. If the downgraded requests cannot be triggered again, this will affect the efficiency of the activity itself. Summary of the invention

[0005] In view of this, an object of the embodiments of the present invention is to provide an activity distribution rate control method, system, device and readable storage medium, which improve the efficiency of activity distribution tasks.

[0006] To achieve the above object, an embodiment of the present invention provides an activity issuance rate control method, comprising:

[0007] receiving an activity distribution task instruction, wherein the activity distribution task instruction includes a plurality of target channels for executing the activity distribution task;

[0008] According to the activity task issuing instruction, query the issuing rates of the multiple target channels in the rate management object corresponding to the activity issuing task, and determine the activity issuing rate according to the issuing rates of the multiple target channels, wherein the rate management object includes multiple channels and the issuing rate corresponding to each channel;

[0009] Allocate the available issuance rate of the target channel in the rate management object to the activity issuance task at the activity issuance rate, and execute the activity issuance task according to the activity task issuance instruction;

[0010] The available issuance rate in the rate management object is updated based on the active issuance rate to obtain the remaining rate of each channel.

[0011] Further, determining the activity issuance rate according to the issuance rates of the multiple target channels includes:

[0012] Determine the minimum value of the disbursable rates corresponding to the multiple target channels based on the minimum allocation principle;

[0013] The minimum value is taken as the activity release rate.

[0014] Further, before querying the issuable rate in the rate management object corresponding to the activity issuance task according to the activity task issuance instruction, the method includes:

[0015] A corresponding rate management object is set for the activity distribution task, and multiple channels are set in the rate management object, and an initialized dispensable rate is set for each of the channels.

[0016] Further, the determining the activity release rate according to the release rates of the multiple target channels also includes:

[0017] Monitoring the disbursable rates corresponding to the multiple target channels in the rate management object;

[0018] When the disbursable rate of the target channel corresponding to the minimum value in the rate management object increases, the active disbursement rate is re-determined based on the minimum allocation principle, the increased disbursable rate and the current active disbursement rate.

[0019] Further, the allocating the issuable rate in the rate management object to the activity issuance task according to the activity issuance rate, and executing the activity issuance task according to the activity task issuance instruction, comprises:

[0020] When the activity issuance task is completed, the activity issuance rate is marked for recycling, and the marked for recycling activity issuance rate is returned to the remaining rates corresponding to the multiple target channels.

[0021] Furthermore, the method further comprises:

[0022] The activity distribution task is stored in the blockchain.

[0023] To achieve the above object, an embodiment of the present invention further provides an activity issuance rate control system, comprising:

[0024] A receiving module, used for receiving an activity distribution task instruction, wherein the activity distribution task instruction includes a plurality of target channels for executing the activity distribution task;

[0025] A determination module, configured to query the available issuance rates of the multiple target channels in the rate management object corresponding to the activity issuance task according to the activity task issuance instruction, and determine the activity issuance rate according to the available issuance rates of the multiple target channels, wherein the rate management object includes the available issuance rates corresponding to the multiple channels;

[0026] an allocation module, configured to allocate the available issuance rate in the rate management object to the activity issuance task at the activity issuance rate, and execute the activity issuance task according to the activity task issuance instruction;

[0027] The updating module is used to update the available issuance rate in the rate management object based on the active issuance rate to obtain the remaining rate of each channel.

[0028] Furthermore, the allocation module is also used for:

[0029] Determine the minimum value of the disbursable rates corresponding to the multiple target channels based on the minimum allocation principle;

[0030] Use the minimum value as the active emission rate.

[0031] To achieve the above-mentioned purpose, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and when the computer program is executed by the processor, the steps of the activity release rate control method as described above are implemented.

[0032] To achieve the above objectives, an embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored. The computer program can be executed by at least one processor to enable the at least one processor to perform the steps of the activity release rate control method as described above.

[0033] The activity issuance rate control method, system, device and readable storage medium provided by the embodiments of the present invention manage the issuance rate of activity tasks by adopting a rate management object allocation method, and control the activity execution rate by the releasable rate in the rate management object. When the releasable rate corresponding to a certain channel is insufficient, the activity issuance task of the previous thread is completed first, and after the releasable rate is obtained, the activity issuance rate is re-determined to execute the activity task. Different rate control processing can be performed on different activity tasks, so that even if multiple activity tasks are carried out simultaneously, access requests to the same channel are within a fixed current limiting range to ensure the stability of the entire activity link. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 This is a flow chart of Example 1 of the activity release rate control method of the present invention.

[0035] Figure 2 This is a flow chart of step S120 in the first embodiment of the activity distribution rate control method of the present invention.

[0036] Figure 3 This is a flow chart of another embodiment of step S120 in the first embodiment of the activity distribution rate control method of the present invention.

[0037] Figure 4 This is a schematic diagram of program modules of Embodiment 2 of the activity distribution rate control system of the present invention.

[0038] Figure 5 This is a schematic diagram of the hardware structure of the computer device embodiment 3 of the present invention. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0040] Embodiment 1

[0041] See also Figure 1 , shows a flow chart of the steps of the activity distribution rate control method of the first embodiment of the present invention. It can be understood that the flow chart in the embodiment of the method is not used to limit the order of executing the steps. The following is an exemplary description using the computer device 2 as the execution subject. The details are as follows.

[0042] Step S100, receiving an activity distribution task instruction, wherein the activity distribution task instruction includes a plurality of target channels for executing the activity distribution task.

[0043] Specifically, when executing an activity distribution task, the activity distribution task may require multiple channels. Each channel is set with the number of channels required for the activity task. For example, if a user needs to be rewarded with one point and three coupons, an activity distribution task including points and coupons is generated. The target channels include points channels and coupons channels. The corresponding channel selection depends on the activity sending task.

[0044] Step S120, querying the issuable rates of the multiple target channels in the rate management object corresponding to the activity issuance task according to the activity task issuance instruction, and determining the activity issuance rate according to the issuable rates of the multiple target channels, wherein the rate management object includes multiple channels and the issuable rates corresponding to each channel.

[0045] Specifically, when the activity distribution task starts to be executed, according to the channel type of the activity distribution task: SMS channel plus points channel, the available distribution rate of the target channel in the rate management object is queried, and the minimum value of the available distribution rates of the points channel and the SMS channel in the rate management object is taken as the activity distribution rate of the activity sending task, and a rate management module corresponding to the activity is initialized to control the activity distribution rate of the activity distribution task. The channels in the rate management object also include: SMS channel, pop-up message channel, and in-site message channel, etc.

[0046] For example, see Figure 2 , the step S120 specifically includes:

[0047] Step S121, determining the minimum value of the available issuance rates corresponding to the multiple target channels based on the minimum allocation principle.

[0048] Specifically, the disbursable rates corresponding to multiple target channels in the query rate management object, and the minimum allocation principle is to take the minimum value of the disbursable rates in the target channels.

[0049] Step S122: taking the minimum value as the activity issuance rate.

[0050] Specifically, the minimum available issuance rate is used as the activity issuance rate. For example, in this embodiment, the available issuance rate of the SMS channel for the activity issuance task is 100, and the available issuance rate of the points channel is 50. The activity issuance rate with the minimum available issuance rate of points is 50, so the activity issuance rate of the activity issuance task is 50.

[0051] For example, see Figure 3 , the step S120 further includes:

[0052] Step S120A, monitoring the disbursable rates corresponding to the multiple target channels in the rate management object.

[0053] Specifically, the releasable rate in the rate management object is monitored. If, when the activity release rate is allocated, or the activity release rate has been allocated and the activity release task is being executed, the releasable rate corresponding to the target channel increases due to the corresponding rate release after the previous activity task is completed, the releasable rate of the activity release task is reallocated again according to the minimum allocation principle.

[0054] Step S120B: when the available issuance rate of the target channel corresponding to the minimum value in the rate management object increases, the active issuance rate is re-determined based on the minimum allocation principle, the increased available issuance rate and the current active issuance rate.

[0055] Specifically, if the activity issuance task is being executed and the issuance rate corresponding to the minimum target channel increases, the activity issuance rate is redetermined based on the minimum allocation principle, the increased issuance rate and the current activity issuance rate. If the target channel corresponding to the minimum value at this time is still the target channel corresponding to the original minimum value, the increased issuance rate will be reallocated to the activity issuance task, and the increased issuance rate will also be reallocated to other target channels. At this time, the activity issuance rate is the current activity issuance rate plus the increased issuance rate, so as to speed up the execution of the activity issuance task.

[0056] For example, the same activity distribution task may be executed by multiple channel threads. The rate management object allocates the rate according to the activity channel dimension. When different channel threads under the same activity distribution task are executed, they will be marked in the rate management object, indicating that there is a channel thread in use. Multiple channel threads under the same activity distribution task share the rate management object under this activity distribution task.

[0057] Exemplarily, before step S120, the following steps are included:

[0058] A corresponding rate management object is set for the activity distribution task, and multiple channels are set in the rate management object, and an initialized dispensable rate is set for each of the channels.

[0059] Specifically, before the activity distribution task starts, a rate management object is initialized to store the corresponding distribution rate of each channel. When there is no activity distribution task executed, the distribution rate number in the rate management object is equal to the sending rate of each channel defined in the configuration, for example, the distribution rate of the SMS channel is 100, and the distribution rate of the points channel is 50.

[0060] Step S140, allocating the available issuance rate of the target channel in the rate management object to the activity issuance task at the activity issuance rate, and executing the activity issuance task according to the activity task issuance instruction.

[0061] Specifically, after the activity release rate is assigned to the activity release task, the activity release task is executed at the activity release rate. When an activity release task starts to be executed, the rate allocation method provided by the rate management module is used to allocate the rate. If there is already a channel thread of an activity release task being executed, then in the rate management module, there is already a rate management object corresponding to this activity release task and the activity release rate allocated to this activity release task and the release rate corresponding to the rate management object, as well as all channel threads that share this rate.

[0062] Exemplarily, after step S140, the following steps are included:

[0063] When the activity issuance task is completed, the activity issuance rate is marked for recycling, and the marked activity issuance rate is returned to the remaining rate corresponding to the target channel.

[0064] Specifically, when the channel thread of the active sending task is executed, the rate management module calls the rate recovery method and notifies the rate management object to recycle the releasable rate held by the active task. When all the active release rates under the active release task are marked as recycled, it means that all the channel threads under the active task have been executed. The rate management module will return the rate assigned to the active task to 0, and the rate originally assigned to the task will be recovered to the rate management object. If no other active release tasks are executed after the active release task is executed, the SMS channel will be restored to 100, and the points channel will be restored to 50.

[0065] Step S160: updating the available issuance rate in the rate management object based on the active issuance rate to obtain the remaining rate of each channel.

[0066] Specifically, after the activity distribution task is allocated the rate according to the channel type required by the activity task, the corresponding channel remaining rate in the rate management object is reduced, and the latest remaining distributable rate of each channel is obtained. For example, after the above-mentioned activity distribution task is allocated the rate, the remaining distributable rate needs to be reduced accordingly. At this time, the rate management module queries the rate management object and finds that the remaining distributable rate of the SMS channel is 50, while the remaining distributable rate of the points channel is 0.

[0067] Exemplarily, the method further includes:

[0068] The activity distribution task is stored in the blockchain.

[0069] Specifically, uploading the activity distribution task to the blockchain can ensure its security and fairness and transparency to users. The user device can download the activity distribution task from the blockchain to verify whether the target channel has been tampered with. The blockchain referred to in this example is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain is essentially a decentralized database. It is a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. The blockchain can include the blockchain underlying platform, the platform product service layer, and the application service layer.

[0070] The present invention manages the issuance rate of active tasks by adopting a rate management object allocation method, and controls the activity execution rate through the releasable rate in the rate management object. When the releasable rate corresponding to a certain channel is insufficient, the activity issuance task of the previous thread is completed first, and after the releasable rate is obtained, the activity issuance rate is re-determined to execute the active task. Different rate control processing can be performed on different active tasks, so that even if multiple active tasks are carried out simultaneously, the access request to the same channel is within a fixed current limiting range to ensure the stability of the entire active link.

[0071] Embodiment 2

[0072] Please continue reading Figure 4 , showing a program module schematic diagram of the second embodiment of the activity release rate control system of the present invention. In this embodiment, the activity release rate control system 20 may include or be divided into one or more program modules, one or more program modules are stored in a storage medium, and are executed by one or more processors to complete the present invention and implement the above-mentioned activity release rate control method. The program module referred to in the embodiment of the present invention refers to a series of computer program instruction segments that can complete specific functions, and is more suitable for describing the execution process of the activity release rate control system 20 in the storage medium than the program itself. The following description will specifically introduce the functions of each program module of this embodiment:

[0073] The receiving module 200 is used to receive an activity distribution task instruction, where the activity distribution task instruction includes multiple target channels for executing the activity distribution task.

[0074] Specifically, when executing an activity distribution task, the activity distribution task may require multiple channels. Each channel is set with the number of channels required for the activity task. For example, if a user needs to be rewarded with one point and three coupons, an activity distribution task including points and coupons is generated. The target channels include points channels and coupons channels. The corresponding channel selection depends on the activity sending task.

[0075] Determination module 202 is used to query the issuable rates of the multiple target channels in the rate management object corresponding to the activity issuance task according to the activity task issuance instruction, and determine the activity issuance rate according to the issuable rates of the multiple target channels, wherein the rate management object includes multiple channels and the issuable rates corresponding to each channel.

[0076] Specifically, when the activity distribution task starts to be executed, according to the channel type of the activity distribution task: SMS channel plus points channel, the available distribution rate of the target channel in the rate management object is queried, and the minimum value of the available distribution rates of the points channel and the SMS channel in the rate management object is taken as the activity distribution rate of the activity sending task, and a rate management module corresponding to the activity is initialized to control the activity distribution rate of the activity distribution task. The channels in the rate management object also include: SMS channel, pop-up message channel, and in-site message channel, etc.

[0077] Exemplarily, the determining module 202 is specifically configured to:

[0078] The minimum value of the disbursable rates corresponding to the multiple target channels is determined based on the minimum allocation principle.

[0079] Specifically, the disbursable rates corresponding to multiple target channels in the query rate management object, and the minimum allocation principle is to take the minimum value of the disbursable rates in the target channels.

[0080] The minimum value is taken as the activity emission rate.

[0081] Specifically, the minimum available issuance rate is used as the activity issuance rate. For example, in this embodiment, the available issuance rate of the SMS channel for the activity issuance task is 100, and the available issuance rate of the points channel is 50. The activity issuance rate with the minimum available issuance rate of points is 50, so the activity issuance rate of the activity issuance task is 50.

[0082] Exemplarily, the determining module 202 is specifically configured to:

[0083] Monitor the disbursable rates corresponding to the multiple target channels in the rate management object.

[0084] Specifically, the releasable rate in the rate management object is monitored. If, when the activity release rate is allocated, or the activity release rate has been allocated and the activity release task is being executed, the releasable rate corresponding to the target channel increases due to the corresponding rate release after the previous activity task is completed, the releasable rate of the activity release task is reallocated again according to the minimum allocation principle.

[0085] When the disbursable rate of the target channel corresponding to the minimum value in the rate management object increases, the active disbursement rate is re-determined based on the minimum allocation principle, the increased disbursable rate and the current active disbursement rate.

[0086] Specifically, if the activity issuance task is being executed and the issuance rate corresponding to the minimum target channel increases, the activity issuance rate is redetermined based on the minimum allocation principle, the increased issuance rate and the current activity issuance rate. If the target channel corresponding to the minimum value at this time is still the target channel corresponding to the original minimum value, the increased issuance rate will be reallocated to the activity issuance task, and the increased issuance rate will also be reallocated to other target channels. At this time, the activity issuance rate is the current activity issuance rate plus the increased issuance rate, so as to speed up the execution of the activity issuance task.

[0087] The allocation module 204 is used to allocate the available release rate of the target channel in the rate management object to the activity release task at the activity release rate, and execute the activity release task according to the activity task release instruction.

[0088] Specifically, after the activity release rate is assigned to the activity release task, the activity release task is executed at the activity release rate. When an activity release task starts to be executed, the rate allocation method provided by the rate management module is used to allocate the rate. If there is already a channel thread of an activity release task being executed, then in the rate management module, there is already a rate management object corresponding to this activity release task and the activity release rate allocated to this activity release task and the release rate corresponding to the rate management object, as well as all channel threads that share this rate.

[0089] The updating module 206 is used to update the available issuance rate in the rate management object based on the active issuance rate to obtain the remaining rate of each channel.

[0090] Specifically, after the activity release rate is assigned to the activity release task, the activity release task is executed at the activity release rate. When an activity release task starts to be executed, the rate allocation method provided by the rate management module is used to allocate the rate. If there is already a channel thread of an activity release task being executed, then in the rate management module, there is already a rate management object corresponding to this activity release task and the activity release rate allocated to this activity release task and the release rate corresponding to the rate management object, as well as all channel threads that share this rate.

[0091] Embodiment 3

[0092] See also Figure 5 , is a schematic diagram of the hardware architecture of the computer device of the third embodiment of the present invention. In this embodiment, the computer device 2 is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions. The computer device 2 can be a rack server, a blade server, a tower server or a cabinet server (including an independent server, or a server cluster composed of multiple servers), etc. Figure 5 As shown, the computer device 2 at least includes, but is not limited to, a memory 21, a processor 22, a network interface 23, and an activity issuance rate control system 20 that can be interconnected and communicated via a system bus.

[0093] In this embodiment, the memory 21 includes at least one type of computer-readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 21 can be an internal storage unit of the computer device 2, such as a hard disk or memory of the computer device 2. In other embodiments, the memory 21 can also be an external storage device of the computer device 2, such as a plug-in hard disk equipped on the computer device 2, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 21 can also include both the internal storage unit of the computer device 2 and its external storage device. In this embodiment, the memory 21 is generally used to store the operating system and various application software installed on the computer device 2, such as the program code of the activity issuance rate control system 20 of the second embodiment. In addition, the memory 21 can also be used to temporarily store various types of data that have been output or are to be output.

[0094] The processor 22 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 22 is generally used to control the overall operation of the computer device 2. In this embodiment, the processor 22 is used to run the program code stored in the memory 21 or process data, such as running the activity issuance rate control system 20 to implement the activity issuance rate control method of the first embodiment.

[0095] The network interface 23 may include a wireless network interface or a wired network interface, and the network interface 23 is generally used to establish a communication connection between the server 2 and other electronic devices. For example, the network interface 23 is used to connect the server 2 to an external terminal through a network, to establish a data transmission channel and a communication connection between the server 2 and the external terminal, etc. The network may be an intranet, the Internet, the Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G network, Bluetooth, Wi-Fi and other wireless or wired networks. It should be pointed out that Figure 5 Computer device 2 is shown only with components 20 - 23 , but it should be understood that implementation of all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.

[0096] In this embodiment, the activity release rate control system 20 stored in the memory 21 can also be divided into one or more program modules, and the one or more program modules are stored in the memory 21 and executed by one or more processors (processor 22 in this embodiment) to complete the present invention.

[0097] For example, Figure 4 The program module schematic diagram of the second embodiment of the activity issuance rate control system 20 is shown. In this embodiment, the activity issuance rate control system 20 can be divided into a receiving module 200, a determining module 202, an allocating module 204 and an updating module 206. The program module referred to in the present invention refers to a series of computer program instruction segments that can complete specific functions, which is more suitable for describing the execution process of the activity issuance rate control system 20 in the computer device 2 than a program. The specific functions of the program modules 200-206 have been described in detail in the second embodiment and will not be repeated here.

[0098] Embodiment 4

[0099] This embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, and the program implements the corresponding function when executed by the processor. The computer-readable storage medium of this embodiment is used for a computer program, and when executed by the processor, the activity release rate control method of embodiment 1 is implemented.

[0100] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0101] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method.

[0102] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for controlling the rate of activity distribution, characterized in that: include: receiving an activity distribution task instruction, wherein the activity distribution task instruction includes a plurality of target channels for executing the activity distribution task, and different target channels execute different activity distribution tasks; According to the activity issuance task instruction, query the issuance rates of the multiple target channels in the rate management object corresponding to the activity issuance task, and determine the activity issuance rate according to the issuance rates of the multiple target channels, wherein the rate management object includes multiple channels and the issuance rate corresponding to each channel; Allocate the available issuance rate of the target channel in the rate management object to the activity issuance task at the activity issuance rate, and execute the activity issuance task according to the activity issuance task instruction; Based on the activity issuance rate, the available issuance rate in the rate management object is updated to obtain the remaining rate of each channel; The step of determining the activity issuance rate according to the issuance rates of the multiple target channels includes: Determine the minimum value of the disbursable rates corresponding to the multiple target channels based on the minimum allocation principle; The minimum value is taken as the activity emission rate.

2. The activity release rate control method according to claim 1, characterized in that: Before querying the available issuance rates of the plurality of target channels in the rate management object corresponding to the activity issuance task according to the activity issuance task instruction, the method includes: A corresponding rate management object is set for the activity distribution task, and multiple channels are set in the rate management object, and an initialized dispensable rate is set for each of the channels.

3. The activity release rate control method according to claim 1, characterized in that: The step of determining the activity disbursement rate according to the disbursable rates of the multiple target channels further comprises: Monitoring the disbursable rates corresponding to the multiple target channels in the rate management object; When the disbursable rate of the target channel corresponding to the minimum value in the rate management object increases, the active disbursement rate is re-determined based on the minimum allocation principle, the increased disbursable rate and the current active disbursement rate.

4. The activity release rate control method according to claim 1, characterized in that: After allocating the available issuance rate of the target channel in the rate management object to the activity issuance task at the activity issuance rate, and executing the activity issuance task according to the activity issuance task instruction, the method includes: When the activity issuance task is completed, the activity issuance rate is marked for recycling, and the marked for recycling activity issuance rate is returned to the remaining rates corresponding to the multiple target channels.

5. The activity release rate control method according to claim 1, characterized in that: The method further comprises: The activity distribution task is stored in the blockchain.

6. An activity release rate control system, characterized in that: include: A receiving module, used for receiving an activity distribution task instruction, wherein the activity distribution task instruction includes a plurality of target channels for executing the activity distribution task, and different target channels execute different activity distribution tasks; A determination module, configured to query the disbursable rates of the multiple target channels in the rate management object corresponding to the activity disbursement task according to the activity disbursement task instruction, and determine the activity disbursement rate according to the disbursable rates of the multiple target channels, wherein the rate management object includes the disbursable rates corresponding to the multiple channels; an allocation module, configured to allocate the available issuance rate in the rate management object to the activity issuance task at the activity issuance rate, and execute the activity issuance task according to the activity issuance task instruction; An updating module, configured to update the available issuance rate of the target channel in the rate management object based on the active issuance rate, and obtain the remaining rate of each channel; Among them, the determination module is also used for: Determine the minimum value of the disbursable rates corresponding to the multiple target channels based on the minimum allocation principle; The minimum value is taken as the activity emission rate.

7. A computer device, characterized in that: The computer device comprises a memory and a processor, wherein the memory stores a computer program executable on the processor, and when the computer program is executed by the processor, the steps of the activity issuance rate control method according to any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program can be executed by at least one processor to enable the at least one processor to perform the steps of the activity issuance rate control method according to any one of claims 1 to 5.