CN113422734B - Resource distribution method, device, electronic equipment and storage medium - Google Patents

Resource distribution method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113422734B
CN113422734B CN202110669196.3A CN202110669196A CN113422734B CN 113422734 B CN113422734 B CN 113422734B CN 202110669196 A CN202110669196 A CN 202110669196A CN 113422734 B CN113422734 B CN 113422734B
Authority
CN
China
Prior art keywords
distribution
distributed
resource
preset
resources
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.)
Active
Application number
CN202110669196.3A
Other languages
Chinese (zh)
Other versions
CN113422734A (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110669196.3A priority Critical patent/CN113422734B/en
Publication of CN113422734A publication Critical patent/CN113422734A/en
Application granted granted Critical
Publication of CN113422734B publication Critical patent/CN113422734B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2416Real-time traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure discloses a resource distribution method, a resource distribution device, electronic equipment and a storage medium, and relates to the technical field of computers, in particular to the field of information flow. The specific implementation scheme is as follows: and determining the preset distribution rate of the resources to be distributed according to the preset distribution duration and the preset distribution quantity of the resources to be distributed. The actual distribution rate of the resource to be distributed is determined. And determining the distribution probability of the resources to be distributed according to the preset distribution rate and the actual distribution rate. And distributing the resources to be distributed according to the distribution probability.

Description

Resource distribution method, device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technology, and more particularly, to the field of information flow.
Background
Network resources are information resources that are propagated through communication devices and managed by network software using computer systems. Flow refers to the amount of human access to network resources over a period of time.
Operators usually have traffic intervention requirements on some resources, for example, more traffic is introduced into a given resource, and the resource is distributed more widely.
Disclosure of Invention
The disclosure provides a resource distribution method, a resource distribution device, an electronic device and a storage medium.
According to an aspect of the present disclosure, there is provided a resource distribution method, including: determining a preset distribution rate of the resources to be distributed according to the preset distribution duration and the preset distribution quantity of the resources to be distributed; determining the actual distribution rate of the resource to be distributed; determining the distribution probability of the resources to be distributed according to the preset distribution rate and the actual distribution rate; and distributing the resources to be distributed according to the distribution probability.
According to another aspect of the present disclosure, there is provided a resource distribution apparatus including: the first determining module is used for determining the preset distribution rate of the resources to be distributed according to the preset distribution duration and the preset distribution quantity of the resources to be distributed; the second determining module is used for determining the actual distribution rate of the resources to be distributed; a third determining module, configured to determine, according to the preset distribution rate and the actual distribution rate, a distribution probability of the resource to be distributed; and the first distribution module is used for distributing the resources to be distributed according to the distribution probability.
According to another aspect of the present disclosure, there is provided an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the resource distribution method as described above.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the resource distribution method as described above.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the resource distribution method as described above.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 schematically illustrates an exemplary system architecture to which the resource distribution method and apparatus may be applied, according to an embodiment of the present disclosure;
FIG. 2 schematically shows a flow diagram of a resource distribution method according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a block diagram of an operation order system according to an embodiment of the present disclosure;
FIG. 4 schematically illustrates a flow diagram for resource distribution based on an operation order system according to an embodiment of the disclosure;
FIG. 5 schematically shows a block diagram of a resource distribution apparatus according to an embodiment of the present disclosure; and
FIG. 6 illustrates a schematic block diagram of an example electronic device that can be used to implement embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, necessary security measures are taken, and the customs of the public order is not violated.
Taking live broadcast resources as an example, the current live broadcast flow intervention requirement is mainly realized by a manual configuration mode of operators. When the live broadcast flow needs to be interfered, an operator needs to select scenes (screen opening, recommendation pages and the like) for the live broadcast interference to take effect, intervening crowds needing to take effect and the like.
The inventor finds that flow intervention is realized in a manual configuration mode, operators need to manually configure scenes and crowds for intervention to take effect, the operation labor cost is high, and the manual processing efficiency is low in the process of realizing the concept disclosed by the invention. Moreover, the crowd intervened by the operators is not accurate, and the flow intervention effect is poor.
Fig. 1 schematically shows an exemplary system architecture to which the resource distribution method and apparatus may be applied, according to an embodiment of the present disclosure.
It should be noted that fig. 1 is only an example of a system architecture to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios. For example, in another embodiment, an exemplary system architecture to which the resource distribution method and apparatus may be applied may include a terminal device, but the terminal device may implement the resource distribution method and apparatus provided in the embodiments of the present disclosure without interacting with a server.
As shown in fig. 1, a system architecture 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired and/or wireless communication links, and so forth.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as a knowledge reading-type application, a web browser application, a search-type application, an instant messaging tool, a mailbox client, and/or social platform software, etc. (by way of example only).
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for resources requested by users with the terminal devices 101, 102, 103. The backend management server may analyze and process the received data such as the user request, and feed back a processing result (for example, a web page, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the resource distribution method provided by the embodiment of the present disclosure may be generally executed by the terminal device 101, 102, or 103. Accordingly, the resource distribution apparatus provided by the embodiment of the present disclosure may also be disposed in the terminal device 101, 102, or 103.
Alternatively, the resource distribution method provided by the embodiment of the present disclosure may also be generally performed by the server 105. Accordingly, the resource distribution apparatus provided by the embodiment of the present disclosure may be generally disposed in the server 105. The resource distribution method provided by the embodiments of the present disclosure may also be performed by a server or a server cluster that is different from the server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Accordingly, the resource distribution apparatus provided by the embodiment of the present disclosure may also be disposed in a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and/or the server 105.
For example, when traffic intervention needs to be performed on the resource to be distributed, the terminal devices 101, 102, and 103 may obtain a preset distribution duration and a preset distribution number of the resource to be distributed. Then, the preset distribution duration and the preset distribution number are sent to the server 105, the server 105 calculates the preset distribution rate of the resource to be distributed, and accordingly, the actual distribution rate of the resource to be distributed is determined. And determining the distribution probability of the resource to be distributed according to the preset distribution rate and the actual distribution rate. And distributing the resources to be distributed according to the distribution probability, and realizing flow intervention on the resources to be distributed in the distribution process. Or a server cluster capable of communicating with the terminal devices 101, 102, 103 and/or the server 105 analyzes the preset distribution duration and the preset distribution number of the resource to be distributed, calculates the distribution probability by combining the actual distribution rate, and finally realizes the distribution of the resource to be distributed according to the distribution probability.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Fig. 2 schematically shows a flow chart of a resource distribution method according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes operations S210 to S240.
In operation S210, a preset distribution rate of the resource to be distributed is determined according to the preset distribution duration and the preset distribution amount of the resource to be distributed.
In operation S220, an actual distribution rate of the resource to be distributed is determined.
In operation S230, a distribution probability of the resource to be distributed is determined according to the preset distribution rate and the actual distribution rate.
In operation S240, the resource to be distributed is distributed according to the distribution probability.
The operations S210 to S240 can be implemented based on an operation order system, for example. The operation order system is used as a flow acquisition and purchase system for releasing operation manpower, and automatic flow acquisition and purchase can be realized. Each user may represent a flow.
According to the embodiment of the disclosure, the resource to be distributed can be various resources requiring flow acquisition, such as at least one of live broadcast, news, entertainment and other network resources. The preset distribution quantity is represented by expect _ pv, for example, and can represent the traffic volume required to be bought by one resource. The preset distribution duration, for example expressed in expect _ time, may represent an expected completion duration for a resource purchase to complete a flow of a preset size. The preset distribution rate is represented, for example, by expect _ speed, and then expect _ speed is equal to expect _ pv/expect _ time.
According to embodiments of the present disclosure, the actual distribution rate may characterize the actual or available flow rate per unit time for a resource. The size of the flow rate can be determined according to the configuration information related to the flow rate in the operation order system. The actual purchase traffic size may be determined, for example, based on the number of users to whom a resource is actually distributed.
According to the embodiment of the disclosure, an operator can set a resource of the flow to be purchased in an operation order system, and configure the flow to be purchased and the expected completion time for the resource. The operation order system can calculate the preset distribution rate of the related resources according to the configuration information of the operator. After the resource begins to be distributed, the operation order system can continue to determine the actual distribution rate of the resource according to the process of resource distribution. Thus, a distribution probability can be determined according to the preset distribution rate and the actual distribution rate, and the distribution of the resources can be controlled according to the distribution probability.
According to the embodiment of the disclosure, the resources can be distributed according to the distribution probability, so that the automatic control of the resource distribution process can be realized according to the distribution probability, the labor cost consumed in the labor distribution operation is at least partially saved, and an automatic and intelligent resource distribution mode is realized.
The method shown in fig. 2 is further described below with reference to fig. 3-4 in conjunction with specific embodiments.
According to an embodiment of the present disclosure, the resource distribution process includes, for example, a slow start process and a normal distribution process. The slow starting process starts resource distribution with a lower probability, and avoids the problem that the flow is over-sent because the resource distribution is too fast to adjust the distribution speed when the order is started. In the normal distribution process, the distribution rate can be controlled simultaneously in the resource distribution process, and the method specifically includes: in the resource distribution process, if the actual distribution rate of the resource exceeds the preset distribution rate of the resource, the distribution rate of the resource is reduced, otherwise, the distribution rate of the resource is improved.
According to an embodiment of the present disclosure, the determining the actual distribution rate of the resource to be distributed may include: and acquiring a preset system distribution rate. The system distribution rate is used for controlling the initial distribution rate of the resource to be distributed in a first preset time period. The first preset time period is a time period which takes the starting distribution time of the resource to be distributed as the starting time and has a first preset duration. The system distribution rate is taken as the actual distribution rate.
According to an embodiment of the present disclosure, the first preset time period represents, for example, a time period corresponding to the slow start process. Taking the slow start process occupying the first 1/5 stage of the whole resource distribution process as an example, the first preset duration corresponding to the first preset time period is, for example, 1/5 of the preset distribution duration.
According to the embodiment of the present disclosure, the system distribution rate is expressed in perfect _ speed, for example, and is used for characterizing the size of the available traffic of the above one resource in unit time. The value of perfect _ speed can be adaptively adjusted according to software and hardware resources and peripheral resources of an operation order system, for example. The system distribution rate is configured to mainly control the maximum distribution rate of the slow start process.
According to the embodiments of the present disclosure, since the slow-start procedure generally performs resource distribution with a low probability, the actual distributed amount of resources in the slow-start procedure can be roughly estimated to be 0. In this case, it is not preferable to determine the actual distribution rate from the actual distribution number, and the system distribution rate described above may be taken as the actual distribution rate during the slow start.
By the embodiment of the disclosure, the actual distribution rate is determined according to the system distribution rate, and the slow start process can be ensured to distribute resources with lower probability.
According to an embodiment of the present disclosure, the determining an actual distribution rate of the resource to be distributed may further include: and acquiring the actual distribution duration and the actual distribution quantity of the resources to be distributed in a second preset time period. And calculating the actual distribution rate according to the actual distribution time length and the actual distribution quantity.
According to an embodiment of the present disclosure, the second preset time period represents, for example, a time period corresponding to the above-described normal distribution process. Taking the example where the slow start process occupies the first 1/5 stage of the overall resource distribution process, the normal distribution process occupies the last 4/5 stage of the overall resource distribution process, for example.
According to the embodiment of the present disclosure, the actual distribution amount, for example, expressed as real _ pv, may represent the amount of traffic actually bought by a resource in a time period, and the time period may be a time period formed by any period of time in the second preset time period. The actual distribution time duration, e.g. expressed in real time, may characterize the duration of the one time period. The actual distribution rate is represented by real _ speed, for example, and is used to characterize the actual purchased traffic volume per unit time of the above one resource, real _ speed is real _ pv/real _ time.
According to the embodiment of the present disclosure, since the normal distribution process can perform resource distribution with a normal probability, the actual distribution number of each stage in the normal distribution process is acquirable, that is, the actual distribution number is greater than 0. In this case, the actual distribution rate may be calculated by directly obtaining the actual distribution number and the corresponding actual distribution time length.
Through the embodiment of the disclosure, the actual distribution rate is determined according to the actual distribution duration and the actual distribution number, and reliable data support can be provided for the subsequent control of the resource distribution rate.
According to an embodiment of the present disclosure, the determining the distribution probability of the resource to be distributed according to the preset distribution rate and the actual distribution rate includes: and under the condition that the preset distribution rate is greater than or equal to the actual distribution rate, determining that the distribution probability of the resources to be distributed is 1. And under the condition that the preset distribution rate is smaller than the actual distribution rate, determining the distribution probability of the resource to be distributed as a quotient value of the division of the preset distribution rate and the actual distribution rate.
According to an embodiment of the present disclosure, the distribution probability is expressed in, for example, ratio. The actual distribution rate may include the above-described system distribution rate and a distribution rate calculated from the actual distribution time length and the actual distribution number. In the case where the actual distribution rate is the system distribution rate, ratio is identical _ speed/perfect _ speed. When the actual distribution rate is the distribution rate calculated according to the actual distribution time length and the actual distribution number, the ratio is expected _ speed/real _ speed.
When the ratio calculated by the two methods is greater than 1.0, the ratio is 1.0.
Through the embodiment of the disclosure, the distribution probability is respectively calculated for different distribution stages, and the resource distribution can be performed based on reasonable distribution probability in each stage.
According to an embodiment of the present disclosure, the distributing the resource to be distributed according to the distribution probability includes: and acquiring a random value allocated to a single distribution process of the resource to be distributed. Wherein the random number is a number greater than 0 and less than 1. In the case where the random number is less than the distribution probability, the single distribution process is performed. In case the random number is larger than the distribution probability, the single distribution process is stopped.
According to the embodiment of the disclosure, each resource to be distributed needs to be distributed for example multiple times corresponding to the traffic size that the resource to be distributed needs to buy. For each distribution process of the resource to be distributed, a random number value, for example expressed as rand, may be generated, 0 < rand < 1.
According to the embodiment of the disclosure, in both the slow start process and the normal distribution process, whether the resource distribution process needs to be executed can be determined according to the rand and the ratio. And when rand is less than ratio, issuing an order to complete the resource distribution. Otherwise, the distribution process is not executed.
According to the embodiment of the present disclosure, in the case that the actual distribution rate is greater than the preset distribution rate, the ratio is a probability value between 0 and 1. At this stage, the resource to be distributed can be distributed according to probability by allocating the random number rand to the resource to be distributed that needs to be distributed.
Through the embodiment of the disclosure, the rate of resource distribution can be effectively controlled within a reasonable range by distributing the resources according to the probability.
According to an embodiment of the present disclosure, the resource distribution method further includes: and acquiring a target distribution mode. The target distribution mode comprises one of an intelligent distribution mode and a specified user distribution mode. And distributing the resources to be distributed by utilizing a target distribution mode.
According to the embodiment of the disclosure, whether the intelligent distribution mode or the designated user distribution mode is selected can be determined according to the setting of the operator in the operation order system. For example, if the resource distribution method set by the operator for a certain resource in the operation order system is an intelligent distribution method, the resource is distributed by using the intelligent distribution method when the resource is distributed.
According to the embodiment of the disclosure, the intelligent distribution mode can distribute the resource to all users who may be interested in the resource. The specified user distribution mode can distribute the resources to the specified users.
Through the embodiment of the disclosure, different resource distribution modes are provided, and various resource distribution conditions can be adapted.
According to an embodiment of the present disclosure, in a case that the target distribution manner is an intelligent distribution manner, the distributing resources to be distributed by using the target distribution manner includes: the first attribute information of the distributed user and the second attribute information of the resource to be distributed are obtained. The correlation of the first attribute information and the second attribute information is calculated. And determining a corresponding first target user under the condition that the correlation is greater than or equal to a first preset threshold value, and directly distributing the resource to be distributed to the first target user, or distributing the resource to be distributed to the first target user according to the distribution probability. And determining a corresponding second target user under the condition that the correlation is smaller than the first preset threshold value. And distributing the resource to be distributed to the second target user according to the distribution probability, or stopping distributing the resource to be distributed to the second target user.
According to the embodiment of the disclosure, when the resource is distributed by using the intelligent distribution mode, for example, all users that may be interested in the resource to be distributed may be obtained first as the distributed users. And then, according to the first attribute information of each user and the second attribute information of the resource to be distributed, calculating the correlation between each user and the resource to be distributed. The first preset threshold is used to measure the magnitude of the correlation. For example, a relevance greater than or equal to the first preset threshold may be regarded as a high relevance, and the corresponding user is regarded as a high relevance user, i.e. a first target user interested in the resource to be distributed. The relevance less than the first preset threshold may be regarded as low relevance, and the corresponding user may be regarded as a low relevance user, that is, a second target user with little interest in the resource to be distributed.
According to the embodiment of the disclosure, in the slow start process and the normal distribution process, the resource distribution can be performed according to the distribution probability, and the object of the resource distribution can include a first target user and a second target user. In the case that the resource distribution rate is detected to be too fast, for example, the distribution to the second target user may be stopped, and the resource distribution to the first target user may be performed according to the distribution probability. In the case that the distribution rate is detected to be too slow, for example, the resource distribution may be performed on the first target user according to a distribution probability that the probability is greater than or equal to 1, and the resource distribution may be performed on the second target user according to the distribution probability.
According to the embodiment of the disclosure, when the distributed user belongs to the first target user, the slow start process and the normal distribution process can be skipped, and the logic of speed control in the normal distribution process is skipped, so that the resource to be distributed is directly distributed to the distributed user, and the purpose of preferentially distributing the high-correlation user is realized.
Through the embodiment of the disclosure, a scheme for distributing resources by using an intelligent distribution mode is realized, intelligent resource distribution can be realized, and the effectiveness of resource distribution can be improved.
According to an embodiment of the present disclosure, in a case that the target distribution manner is a designated user distribution manner, the distributing the resource to be distributed by using the target distribution manner includes: a specified user to which the resource to be distributed needs to be distributed is determined. And directly distributing the resource to be distributed to the specified user.
According to the embodiment of the disclosure, the specified users include, for example, users who subscribe to related resources, users who are specified by an operator in an operation order system and conform to a preset category, and the like. The preset category includes, for example, preset regional information, that is, other preset user attribute information.
Through the embodiment of the disclosure, a scheme for distributing resources by using a specified user distribution mode is realized, and more efficient resource distribution can be realized.
According to an embodiment of the present disclosure, the resource distribution method further includes: and acquiring the display amount of the resources to be distributed. Wherein the exposure is used for representing the distributed amount of the resource to be distributed. And acquiring the click quantity of the resource to be distributed after the resource to be distributed is distributed. And calculating the point-to-area ratio of the resources to be distributed according to the click quantity and the display quantity. And stopping the distribution of the resources to be distributed under the condition that the point-to-point spread ratio is smaller than a second preset threshold value.
According to the embodiment of the disclosure, the operation order system can count the display amount and click rate of the distributed resources in real time and display the resources in real time. The operation order system can also determine the current distribution progress of the resources by combining the preset distribution quantity of the resources on the basis of detecting the resource display quantity, and display the distribution progress to related personnel. The operation order system can also show the final distribution effect, such as point-to-point ratio and the like, when the resource distribution is finished. The operation order system can also control the resource distribution speed in the normal distribution process according to the display amount.
According to the embodiment of the disclosure, based on the resource distribution progress and the resource distribution effect detected by the operation order system, for example, when the resource distribution amount has reached the preset distribution amount of the resource, or the resource release effect is poor, such as the point-to-spread ratio is too low, further release of the resource may be stopped.
Through the embodiment of the disclosure, the distribution of the resources can be timely terminated when the resource distribution effect is poor, unnecessary traffic consumption is reduced, and user experience is improved.
FIG. 3 schematically illustrates a block diagram of an operation order system according to an embodiment of the disclosure.
As shown in FIG. 3, the operation order system 300 includes, for example, an order setup module 310, an order distribution module 320, a recall module 330, a verification module 340, a speed control module 350, and a statistics and feedback module 360.
According to an embodiment of the disclosure, the order setting module 310 may be used to set a desired exposure amount and a desired dispensing time period of the resource to be dispensed. The order distribution module 320 can be used for setting the distribution mode of the resource to be distributed. Such as an intelligent distribution mode or a designated user distribution mode. A flow buy order can be determined by the setup order setup module 310 and the order distribution module 320.
According to an embodiment of the present disclosure, the recall module 330 may be configured to recall the purchased resources to the relevant users according to the distribution mode set by the order distribution module 320. For example, the recall module 330 may be provided with a relevance calculating unit, which is used to implement the distribution of the resource to users who may be interested in the resource according to an intelligent distribution manner. The recall module 330 may further include a targeted crowd matching unit configured to implement resource distribution to known users according to known user distribution manners.
According to the embodiment of the present disclosure, the checking module 340 may be provided with a distribution progress checking unit for checking the distribution progress of the resource and a distribution effect checking unit for checking the distribution effect of the resource.
According to an embodiment of the present disclosure, a slow start unit may be disposed in the speed control module 350, and may be configured to control a resource distribution speed of the slow start process. The speed control module 350 may further include a distribution speed control unit, which is configured to control the resource distribution speed in the normal distribution process. The combination of the slow start process and the normal distribution process can form a complete resource distribution process. The speed control module 350 may further include a high-correlation priority distribution unit, which may control the resource to be directly distributed to the high-correlation user when the high-correlation user is determined. It should be noted that the process corresponding to the high-correlation-priority distribution may independently constitute a complete resource distribution process, or may be combined with the normal distribution process to jointly constitute a complete resource distribution process. For example, in the normal distribution stage of the resource, a high-relevance user related to the resource to be distributed is detected, and the resource to be distributed can be distributed to the high-relevance user with a higher probability (for example, the probability value is greater than or equal to 1) without considering the logic of speed control.
According to the embodiment of the present disclosure, a display amount/click rate real-time counting unit and a distribution progress feedback unit, etc. may be disposed in the counting and feedback module 360, and the display amount/click rate real-time counting unit can provide data support for the distribution progress feedback unit and the distribution speed control unit in the speed control module 350. The presentation amount/click amount real-time counting unit can count the number of distributed resources, the number of clicked distributed resources and the like in real time. The distribution progress feedback unit may determine the resource distribution progress according to the expected display amount in the order setting module 310 and the displayed amount statistically obtained in the statistics and feedback module 360, and perform visual display.
According to the embodiment of the disclosure, the operation statistical system may also pre-store the user and the attribute information thereof, or may be associated with a related database or system in which the user and the attribute information thereof are stored, so that the related user can be obtained in time, and resource distribution is realized.
Fig. 4 schematically shows a flow chart of resource distribution based on an operation order system according to an embodiment of the present disclosure.
As shown in fig. 4, the flow includes operations S410 to S470.
In operation S410, an expected display amount, an expected distribution duration, and a distribution manner of the resource to be distributed are obtained.
In operation S420, in the case that the distribution manner is the intelligent distribution manner, a distributed user related to the resource to be distributed is determined.
In operation S430, are the distributed users high-relevance users? If yes, perform operation S440; if not, operation S450 is performed.
In operation S440, the resource to be distributed is directly distributed to the user.
In operation S450, the resource to be distributed is distributed to the user according to the distribution probability.
In operation S460, in the case that the distribution manner is the designated user distribution manner, a designated user related to the resource to be distributed is determined.
In operation S470, is the user designated as a high-relevance user? If yes, perform operation S440; if not, operation S450 is performed.
Through the embodiment of the disclosure, an automatic flow operation tool is provided for operators based on an operation order system. The automatic flow acquisition and purchase can be realized, and the labor cost in operation is solved. Meanwhile, the speed of resource distribution is intelligently controlled, and on the basis of ensuring that the expected display amount is completed within the expected distribution time, the flow loss caused by over-generation can be avoided.
Fig. 5 schematically shows a block diagram of a resource distribution apparatus according to an embodiment of the present disclosure.
As shown in fig. 5, the resource distribution apparatus 500 includes a first determining module 510, a second determining module 520, a third determining module 530, and a first distribution module 540.
The first determining module 510 is configured to determine a preset distribution rate of the resource to be distributed according to a preset distribution duration and a preset distribution number of the resource to be distributed.
A second determining module 520, configured to determine an actual distribution rate of the resource to be distributed.
A third determining module 530, configured to determine a distribution probability of the resource to be distributed according to the preset distribution rate and the actual distribution rate.
A first distribution module 540, configured to distribute the resource to be distributed according to the distribution probability.
According to an embodiment of the present disclosure, the second determination module includes a first acquisition unit and a definition unit.
The first obtaining unit is used for obtaining a preset system distribution rate. The system distribution rate is used for controlling the maximum distribution rate of the resources to be distributed in a first preset time period. The first preset time period is a time period which takes the starting distribution time of the resource to be distributed as the starting time and has a first preset duration.
And the defining unit is used for taking the system distribution rate as the actual distribution rate.
According to an embodiment of the present disclosure, the second determination module includes a second acquisition unit and a first calculation unit.
And the second obtaining unit is used for obtaining the actual distribution duration and the actual distribution quantity of the resources to be distributed in a second preset time period.
And the first calculating unit is used for calculating the actual distribution rate according to the actual distribution time length and the actual distribution quantity.
According to an embodiment of the present disclosure, the third determination module includes a first determination unit and a second determination unit.
The first determining unit is used for determining that the distribution probability of the resource to be distributed is 1 under the condition that the preset distribution rate is greater than or equal to the actual distribution rate.
And the second determining unit is used for determining the distribution probability of the resource to be distributed as a quotient obtained by dividing the preset distribution rate by the actual distribution rate under the condition that the preset distribution rate is smaller than the actual distribution rate.
According to an embodiment of the present disclosure, the first distribution module includes a third acquisition unit, an execution unit, and a stop unit.
And the third acquisition unit is used for acquiring the random numerical value distributed by the single distribution process of the resource to be distributed. Wherein the random number is a number greater than 0 and less than 1.
And the execution unit is used for executing the single distribution process under the condition that the random value is smaller than the distribution probability.
And the stopping unit is used for stopping the single distribution process under the condition that the random value is greater than the distribution probability.
According to the embodiment of the disclosure, the resource distribution device further comprises a first obtaining module and a second distribution module.
The first acquisition module is used for acquiring the target distribution mode. The target distribution mode comprises one of an intelligent distribution mode and a specified user distribution mode.
And the second distribution module is used for distributing the resources to be distributed by utilizing the target distribution mode.
According to the embodiment of the disclosure, in the case that the target distribution mode is the intelligent distribution mode, the second distribution module includes a fourth obtaining unit, a second calculating unit, a third determining unit, a first distribution unit, a fourth determining unit and a second distribution unit.
And the fourth acquisition unit is used for acquiring the first attribute information of the distributed user and the second attribute information of the resource to be distributed.
And a second calculating unit configured to calculate a correlation between the first attribute information and the second attribute information.
And the third determining unit is used for determining the corresponding first target user under the condition that the correlation is greater than or equal to the first preset threshold value.
The first distribution unit is used for directly distributing the resource to be distributed to the first target user, or distributing the resource to be distributed to the first target user according to the distribution probability.
And the fourth determining unit is used for determining the corresponding second target user under the condition that the correlation is smaller than the first preset threshold value.
And the second distribution unit is used for distributing the resource to be distributed to the second target user according to the distribution probability or stopping distributing the resource to be distributed to the second target user.
According to the embodiment of the disclosure, in the case that the target distribution mode is the designated user distribution mode, the second distribution module includes a fifth determination unit and a third distribution unit.
And the fifth determining unit is used for determining the specified users to which the resources to be distributed need to be distributed.
And the third distribution unit is used for directly distributing the resources to be distributed to the specified users.
According to the embodiment of the disclosure, the resource distribution device further comprises a second obtaining module, a third obtaining module, a calculating module and a third distributing module.
And the second acquisition module is used for acquiring the display quantity of the resources to be distributed. Wherein the exposure is used to characterize the distributed amount of the resource to be distributed.
And the third acquisition module is used for acquiring the click rate of the resource to be distributed after being distributed.
And the calculating module is used for calculating the point-to-area ratio of the resources to be distributed according to the click quantity and the display quantity.
And the third distribution module is used for stopping distribution of the resources to be distributed under the condition that the point spread ratio is smaller than a second preset threshold value.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
According to an embodiment of the present disclosure, an electronic device includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described above.
According to an embodiment of the present disclosure, a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method as described above.
According to an embodiment of the disclosure, a computer program product comprising a computer program which, when executed by a processor, implements the method as described above.
FIG. 6 illustrates a schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The calculation unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
A number of components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, a mouse, or the like; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 601 executes the respective methods and processes described above, such as the resource distribution method. For example, in some embodiments, the resource distribution method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of a computer program may be loaded onto and/or installed onto device 600 via ROM 602 and/or communications unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the resource distribution method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the resource distribution method by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (10)

1. A method of resource distribution, comprising:
determining a preset distribution rate of resources to be distributed according to a preset distribution duration and a preset distribution quantity of the resources to be distributed;
determining the actual distribution rate of the resource to be distributed;
determining the distribution probability of the resources to be distributed according to the preset distribution rate and the actual distribution rate; and
distributing the resources to be distributed according to the distribution probability,
wherein, the determining the distribution probability of the resource to be distributed according to the preset distribution rate and the actual distribution rate comprises:
determining that the distribution probability of the resource to be distributed is 1 under the condition that the preset distribution rate is greater than or equal to the actual distribution rate; and
when the preset distribution rate is smaller than the actual distribution rate, determining the distribution probability of the resource to be distributed as a quotient value obtained by dividing the preset distribution rate and the actual distribution rate;
wherein the distributing the resources to be distributed according to the distribution probability comprises:
acquiring a random number value distributed in a single distribution process of the resource to be distributed, wherein the random number value is a number value which is greater than 0 and less than 1;
performing the single-dispense procedure if the random number is less than the dispense probability; and
stopping the single-dispense process if the random number is greater than the dispense probability.
2. The method of claim 1, wherein determining an actual distribution rate of the resource to be distributed comprises:
acquiring a preset system distribution rate, wherein the system distribution rate is used for controlling the maximum distribution rate of the resources to be distributed in a first preset time period, and the first preset time period is a time period which takes the starting distribution time of the resources to be distributed as the starting time and has a first preset duration; and
taking the system distribution rate as the actual distribution rate.
3. The method of claim 1, wherein determining an actual distribution rate of the resource to be distributed comprises:
acquiring the actual distribution duration and the actual distribution quantity of the resources to be distributed in a second preset time period; and
and calculating the actual distribution rate according to the actual distribution duration and the actual distribution quantity.
4. The method of claim 1, further comprising:
acquiring a target distribution mode, wherein the target distribution mode comprises one of an intelligent distribution mode and a specified user distribution mode; and
and distributing the resources to be distributed by utilizing the target distribution mode.
5. The method of claim 4, wherein, when the target distribution manner is an intelligent distribution manner, distributing the resource to be distributed by using the target distribution manner comprises:
acquiring first attribute information of a distributed user and second attribute information of the resource to be distributed;
calculating the correlation between the first attribute information and the second attribute information;
determining a corresponding first target user under the condition that the correlation is greater than or equal to a first preset threshold value;
directly distributing the resources to be distributed to the first target users, or distributing the resources to be distributed to the first target users according to the distribution probability;
determining a corresponding second target user under the condition that the correlation is smaller than the first preset threshold value; and
and distributing the resource to be distributed to the second target user according to the distribution probability, or stopping distributing the resource to be distributed to the second target user.
6. The method of claim 4, wherein, when the target distribution manner is a specified user distribution manner, distributing the resource to be distributed by using the target distribution manner comprises:
determining a designated user to which the resource to be distributed needs to be distributed; and
and directly distributing the resource to be distributed to the specified user.
7. The method of claim 1, further comprising:
obtaining the display quantity of the resources to be distributed, wherein the display quantity is used for representing the distributed quantity of the resources to be distributed;
acquiring the click rate of the resource to be distributed after being distributed;
calculating the point-to-area ratio of the resources to be distributed according to the click quantity and the display quantity; and
and stopping the distribution of the resources to be distributed under the condition that the point-to-area ratio is smaller than a second preset threshold value.
8. A resource distribution apparatus, comprising:
the system comprises a first determining module, a second determining module and a sending module, wherein the first determining module is used for determining the preset distribution rate of the resources to be distributed according to the preset distribution duration and the preset distribution quantity of the resources to be distributed;
the second determining module is used for determining the actual distribution rate of the resources to be distributed;
a third determining module, configured to determine a distribution probability of the resource to be distributed according to the preset distribution rate and the actual distribution rate; and
a distribution module for distributing the resource to be distributed according to the distribution probability,
wherein the third determining module comprises:
a first determining unit, configured to determine that a distribution probability of the resource to be distributed is 1 when the preset distribution rate is greater than or equal to the actual distribution rate; and
a second determining unit, configured to determine, when the preset distribution rate is smaller than the actual distribution rate, that the distribution probability of the resource to be distributed is a quotient obtained by dividing the preset distribution rate by the actual distribution rate;
wherein the distribution module comprises:
an obtaining unit, configured to obtain a random number value allocated in a single distribution process of the resource to be distributed, where the random number value is a number value that is greater than 0 and less than 1;
an execution unit, configured to execute the single distribution process if the random number is smaller than the distribution probability; and
a stopping unit, configured to stop the single distribution process when the random number is greater than the distribution probability.
9. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
10. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-7.
CN202110669196.3A 2021-06-16 2021-06-16 Resource distribution method, device, electronic equipment and storage medium Active CN113422734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110669196.3A CN113422734B (en) 2021-06-16 2021-06-16 Resource distribution method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110669196.3A CN113422734B (en) 2021-06-16 2021-06-16 Resource distribution method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113422734A CN113422734A (en) 2021-09-21
CN113422734B true CN113422734B (en) 2022-08-26

Family

ID=77788733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110669196.3A Active CN113422734B (en) 2021-06-16 2021-06-16 Resource distribution method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113422734B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915437A (en) * 2016-04-14 2016-08-31 浙江翼信科技有限公司 Electronic resource distribution method and apparatus
CN108989442A (en) * 2018-07-27 2018-12-11 中国联合网络通信集团有限公司 Data distributing method, system and control node
CN109981744A (en) * 2019-02-28 2019-07-05 东软集团股份有限公司 Distribution method, device, storage medium and the electronic equipment of data
WO2020072539A1 (en) * 2018-10-02 2020-04-09 Assia Spe, Llc Content distribution network control based on network measurement data
CN111833015A (en) * 2020-06-30 2020-10-27 苏州达家迎信息技术有限公司 Resource distribution method and device
CN112653636A (en) * 2020-12-19 2021-04-13 珍岛信息技术(上海)股份有限公司 Network data intelligent distribution service system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915437A (en) * 2016-04-14 2016-08-31 浙江翼信科技有限公司 Electronic resource distribution method and apparatus
CN108989442A (en) * 2018-07-27 2018-12-11 中国联合网络通信集团有限公司 Data distributing method, system and control node
WO2020072539A1 (en) * 2018-10-02 2020-04-09 Assia Spe, Llc Content distribution network control based on network measurement data
CN109981744A (en) * 2019-02-28 2019-07-05 东软集团股份有限公司 Distribution method, device, storage medium and the electronic equipment of data
CN111833015A (en) * 2020-06-30 2020-10-27 苏州达家迎信息技术有限公司 Resource distribution method and device
CN112653636A (en) * 2020-12-19 2021-04-13 珍岛信息技术(上海)股份有限公司 Network data intelligent distribution service system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
发布订阅系统中多源数据分发机制的研究;胡弘晋;《硕士学位论文》;20170331;全文 *

Also Published As

Publication number Publication date
CN113422734A (en) 2021-09-21

Similar Documents

Publication Publication Date Title
CN107423128B (en) Information processing method and system
CN110620699B (en) Message arrival rate determination method, device, equipment and computer readable storage medium
CN112506619B (en) Job processing method, job processing device, electronic equipment and storage medium
CN112506581A (en) Method and device for rendering small program, electronic equipment and readable storage medium
CN109144846B (en) Test method and device for testing server
CN113742174B (en) Cloud mobile phone application monitoring method and device, electronic equipment and storage medium
CN113422734B (en) Resource distribution method, device, electronic equipment and storage medium
CN113760982A (en) Data processing method and device
CN114327918B (en) Method and device for adjusting resource amount, electronic equipment and storage medium
CN114363704B (en) Video playing method, device, equipment and storage medium
US20230342369A1 (en) Data processing method and apparatus, and electronic device and storage medium
CN114612212A (en) Business processing method, device and system based on risk control
CN114138358A (en) Application program starting optimization method, device, equipment and storage medium
CN114090247A (en) Method, device, equipment and storage medium for processing data
CN114048010A (en) Method, device, equipment and storage medium for controlling service timeout time
CN114648410A (en) Stock staring method, apparatus, system, device and medium
CN111694717A (en) Method and device for determining pressure bearing capacity value of system
CN113225228B (en) Data processing method and device
US20220391808A1 (en) Data processing method, electronic device and storage medium
CN108874431B (en) Method and device for updating application
CN113835733B (en) Cloud application updating method and device, electronic equipment and storage medium
CN108881352B (en) Method, device and system for processing click log
CN115576720A (en) RPC timeout duration configuration method and device, electronic equipment and storage medium
CN115801763A (en) File transmission method and device, electronic equipment and storage medium
CN116228248A (en) Risk control method and device for financial business

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
GR01 Patent grant
GR01 Patent grant