WO2019047774A1 - 资源分配方法及装置和电子设备 - Google Patents

资源分配方法及装置和电子设备 Download PDF

Info

Publication number
WO2019047774A1
WO2019047774A1 PCT/CN2018/103498 CN2018103498W WO2019047774A1 WO 2019047774 A1 WO2019047774 A1 WO 2019047774A1 CN 2018103498 W CN2018103498 W CN 2018103498W WO 2019047774 A1 WO2019047774 A1 WO 2019047774A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource allocation
allocated
resource
resources
service
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.)
Ceased
Application number
PCT/CN2018/103498
Other languages
English (en)
French (fr)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Publication of WO2019047774A1 publication Critical patent/WO2019047774A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising

Definitions

  • the embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a resource allocation method and apparatus, and an electronic device.
  • the marketer usually sets the maximum amount, the minimum amount, and the average amount of the user's winning.
  • the average amount set here is often verified as deviation (maximum amount + minimum amount)/2; for example, the maximum amount is 100 yuan, the minimum amount is 1 yuan, and the average amount is 5 yuan. If the marketer needs to adjust the average amount to 10 yuan, the maximum amount The minimum amount and the distribution of the user's winning prizes are constant and difficult to achieve.
  • a resource allocation method comprising:
  • the amount of resources allocated to the requestor is calculated according to the determined resource allocation manner.
  • a resource allocation apparatus comprising:
  • a random number generating unit that generates a random number for determining a resource allocation manner
  • a distribution hitting unit determining, according to the calculated random number, a resource allocation manner that the random number hits from at least two resource allocation manners;
  • the resource calculation unit calculates the amount of resources allocated to the requestor according to the determined resource allocation manner.
  • an electronic device including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the amount of resources allocated to the requestor is calculated according to the determined resource allocation manner.
  • a resource allocation manner needs to be determined, and then the allocated resource quantity is calculated according to the determined resource allocation manner. Since different resource allocation modes can affect the number of resources, the present embodiment can flexibly and diversely allocate resources and has greater allocation flexibility.
  • FIG. 1 is a system structural diagram of implementing resource allocation according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of a resource allocation method according to an embodiment of the present disclosure
  • FIG. 3 is a schematic block diagram of a resource allocation apparatus according to an embodiment of the present disclosure.
  • first, second, third, etc. may be used in this specification to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as the second information without departing from the scope of the present description.
  • second information may also be referred to as the first information.
  • word "if” as used herein may be interpreted as "when” or "when” or "in response to determination.”
  • the method may include the following steps:
  • Step 110 Receive a resource allocation request sent by the requesting party.
  • the system architecture concept diagram 200 various network nodes can implement information communication by means of the network, and then complete interaction and data processing.
  • the system architecture concept map 200 may include a server 22 of an operator that is in data communication with a client 21 of one or more requestors via a network 23, and may be integrated with or independent of the server 22 Database 221.
  • the server 22 may include a server, a server cluster, or a cloud platform built on a server cluster in response to a resource allocation request.
  • Each network 23 may include a wired or wireless telecommunications device through which network devices on which the client 21 is based may exchange data.
  • each network 23 may include a local area network ("LAN”), a wide area network ("WAN”), an intranet, the Internet, a mobile telephone network, a virtual private network (VPN), a cellular or other mobile communication network, Bluetooth, NFC. Or any combination thereof.
  • LAN local area network
  • WAN wide area network
  • VPN virtual private network
  • Bluetooth Bluetooth
  • the client 21 can be used to send a resource allocation request as a request direction server 22.
  • the network device on which each client 21 is based may include means having a communication module capable of transmitting and receiving data via the network 23.
  • each network device on which each client 21 is based may include a server, desktop computer, laptop computer, tablet computer, smart phone, handheld computer, personal digital assistant ("PDA"), or any other wired or Wireless processor driver.
  • PDA personal digital assistant
  • the network device upon which the client 21 is based may be operated by an end user.
  • Users may use applications such as web browser applications or standalone applications to view, download, upload or otherwise access files or web pages via network 23.
  • the web browser application or the application of the standalone application can be in data interaction with a web server (or other server such as a social platform, payment platform, etc.) connected to the network 23.
  • the computing device 222 which may be in an integrated or discrete relationship with the server 22, in particular in the latter case, may typically be connected via an internal network or a private network, or may also be connected via an encrypted public network. In particular, when it comes to integration, it is possible to use a connection that is more efficient and faster in the form of an internal bus.
  • the computing device 222 when in an integrated relationship or a discrete relationship, can access the database 221 directly (not shown) or through the server 22.
  • the computer device 222 is suitably programmed to control the implementation of the method in this specification by such instructions.
  • transactions processed by computer device 222 can be considered as processing by server 22 without particular distinction.
  • Step 120 Generate a random number for determining a resource allocation manner.
  • the step 120 may include:
  • a random number for determining a resource allocation manner is generated.
  • the random number algorithm can set a random number range, that is, the output value is randomly determined from the range of the random number.
  • the random number algorithm can be pre-set with a random number range.
  • An exemplary random number range may be [0, 1], that is, a random number located at [0, 1] may be randomly obtained by the random number algorithm.
  • the manner in which the random number used to determine the resource allocation manner can be generated is various, for example, a random number can be mapped by a preset function.
  • Step 130 Determine, according to the calculated random number, a resource allocation manner that the random number hits from at least two resource allocation manners.
  • the probability of hitting different resource allocation modes is different, and different resource allocation modes may be considered to have a probability value associated with the random number.
  • the probability of hitting the second resource allocation method is (1-0.3) or 0.7;
  • the range of random numbers corresponding to the first resource allocation mode can be considered as [0, 0.3];
  • the range of random numbers corresponding to the second resource allocation mode can be considered as (0.3, 1];
  • the first resource allocation mode may be hit
  • the second resource allocation mode can be hit.
  • Step 140 Calculate the quantity of resources allocated to the requesting party according to the determined resource allocation manner.
  • the calculating, according to the determined resource allocation manner, the quantity of resources allocated to the requesting party which may include:
  • the single allocation resource quantity range is determined by a single maximum allocated resource quantity, a single minimum allocated resource quantity, an average allocated resource quantity, and used to adjust different resource allocations
  • the adjustment factor of the method of evenly allocating the quantity of resources is calculated;
  • the acquired allocated resource quantity is determined as the number of resources allocated to the requesting party.
  • the probability of the first resource allocation mode is P; that is, the random number that can hit the first resource allocation mode is located at [0, P];
  • the probability of the second resource allocation mode is 1-P; that is, the random number that can hit the second resource allocation mode is located at (P, 1];
  • the server is generally configured with a single maximum allocated resource quantity maxA, a single minimum allocated resource quantity minA and an average allocated resource quantity avgA, and an adjustment factor ⁇ of the average allocated resource quantity in the second resource allocation mode;
  • the adjustment factor can be used to adjust the average resource allocation amount of the second resource allocation method.
  • the probability P can be calculated by the following formula:
  • max A represents the maximum number of resources allocated in a single time
  • min A represents the number of resources allocated in a single minimum
  • avgA represents the average number of allocated resources
  • represents an adjustment factor of the average number of allocated resources in the second resource allocation mode.
  • may be [0, 1);
  • the range of the number of single-allocated resources due to the first resource allocation method is [min A,max A];
  • the range of the number of single-allocated resources of the second resource allocation mode may be determined as [min A, 2 ⁇ (avgA-min A)+min A].
  • the step 120 may include:
  • the step 130 includes:
  • the step 140 may include:
  • A1 obtaining, in the case that the determined resource allocation mode is the first resource allocation mode, obtaining a single allocation resource quantity range [min A, max A] of the first resource allocation mode;
  • A2 randomly obtaining a quantity of allocated resources within the single-allocated resource quantity range [min A, max A];
  • A3 The amount of allocated resources allocated is allocated to the number of resources of the requesting party.
  • B3 The amount of allocated resources allocated to the number of resources of the requesting party.
  • a resource allocation manner needs to be determined, and then the allocated resource quantity is calculated according to the determined resource allocation manner. Since different resource allocation modes can affect the number of resources, the present embodiment can flexibly and diversely allocate resources and has greater allocation flexibility.
  • the average allocated resource quantity of each different resource allocation mode is controlled, thereby realizing the control of the average allocated resource quantity as a whole.
  • the embodiments provided in this specification can be applied to specific services, for example, can be applied to a specific business scenario of lottery.
  • the resource allocation request may include a lottery request, and the amount of resources may include a winning amount.
  • the event organizer can set the minimum winning amount, the maximum winning amount and the average winning amount. Based on the cost consideration, usually the average winning amount is often heavily biased towards the minimum winning amount; for example, for a lucky draw, the minimum winning amount is 1 yuan, the maximum winning amount is 100 yuan, but the average winning amount is only 5 yuan. If you want to increase the average winning amount to 10 yuan, you may need to modify the minimum winning amount or the maximum winning amount; if the minimum winning amount and the maximum winning amount are the same, the activity winning rate may need to be adjusted.
  • the resource allocation request sent by the requesting party may also carry a service segment.
  • the service score may be a score provided by the requesting party related service, for example, a credit score of the user may be provided in the financial service (such as a sesame credit score of the user in the Alipay).
  • the step 140 may specifically include:
  • the calculating according to the determined resource allocation manner and the service segment, the quantity of resources allocated to the requesting party, specifically including:
  • the single allocation resource quantity range is determined by a single maximum allocated resource quantity, a single minimum allocated resource quantity, an average allocated resource quantity, and used to adjust different resource allocations
  • the adjustment factor of the method of evenly allocating the quantity of resources is calculated;
  • the global service sub-range indicates that the smallest service among all the requesters is divided into the maximum service points
  • the calculating, according to the determined resource allocation manner and the service segment, the quantity of resources allocated to the requesting party specifically including:
  • score represents the service share carried in this request
  • max Score represents the global maximum service score
  • min Score represents the global minimum service score
  • max A represents the maximum number of allocated resources
  • min A represents the minimum number of allocated resources.
  • D2 obtaining a global service sub-range [min A, max A]; the global service sub-range indicates that the smallest service among all requesters is assigned to the maximum service score;
  • score represents the service share carried in this request
  • max Score represents the global maximum service score
  • min Score represents the global minimum service score
  • avgA represents the average allocated resource quantity
  • represents the average allocated resource quantity in the second resource allocation manner.
  • the adjustment factor, min A represents the number of resources allocated in a single minimum.
  • the resource allocation request sent by the requesting party may further carry a service component, and the number of resources allocated to the requesting party is not randomly determined, but is allocated according to resources.
  • the method is combined with the business points to determine.
  • the calculated number of resources is modified by the following formula:
  • a is the calculated number of resources
  • base_rate is the configured adjustment factor
  • reduction_rate is the configured adjustment factor
  • RLcnt configures the adjustment gear
  • seq is the requestor request number
  • EXP is the logarithmic attenuation symbol
  • SIN is a sine symbol.
  • the adjustment factors base_rate, reduction_rate, and the adjustment gear RLcnt can be configured locally.
  • the calculated number of resources may be fluctuated, which may be based on sinusoidal fluctuations and logarithmic attenuation.
  • the same amount of resources is fluctuated by the above formula, so that the number of resources that are originally allocated the same for each request becomes different.
  • the present specification also provides an embodiment of a resource allocation device.
  • the device embodiment may be implemented by software, or may be implemented by hardware or a combination of hardware and software.
  • the processor of the device in which it is located reads the corresponding computer program instructions in the non-volatile memory into the memory.
  • a hardware structure of the device where the resource allocation device is located may include a processor, a network interface, a memory, and a non-volatile memory.
  • the device where the device is located generally allocates actual functions according to the resource. It can also include other hardware, which will not be described here.
  • FIG. 3 is a block diagram of a resource allocation apparatus according to an embodiment of the present disclosure.
  • the apparatus corresponds to the embodiment shown in FIG. 2, and the apparatus includes:
  • the request receiving unit 310 receives the resource allocation request sent by the requesting party
  • the random number generating unit 320 generates a random number for determining a resource allocation manner
  • the distribution hit unit 330 determines, according to the calculated random number, a resource allocation manner that the random number hits from at least two resource allocation manners;
  • the resource calculation unit 340 calculates the number of resources allocated to the requester according to the determined resource allocation manner.
  • the resource calculation unit 340 specifically includes:
  • a first acquiring sub-unit acquiring a single-allocated resource quantity range of the determined resource allocation manner;
  • the single-allocated resource quantity range is a single maximum allocated resource quantity, a single minimum allocated resource quantity, an average allocated resource quantity,
  • the adjustment factor used to adjust the average number of allocated resources of different resource allocation methods is calculated;
  • a second acquiring subunit randomly acquiring a quantity of resources located in the range of the quantity of the single allocated resources
  • the subunit is determined, and the obtained allocated resource quantity is determined as the quantity of resources allocated to the requesting party.
  • the request carries a service score
  • the resource calculation unit specifically includes:
  • the resource calculation unit specifically includes:
  • a first acquiring sub-unit acquiring a single-allocated resource quantity range of the determined resource allocation manner;
  • the single-allocated resource quantity range is a single maximum allocated resource quantity, a single minimum allocated resource quantity, an average allocated resource quantity,
  • the adjustment factor used to adjust the average number of allocated resources of different resource allocation methods is calculated;
  • the second obtaining sub-unit obtains a global service sub-range; the global service sub-range indicates that the smallest service among all requesters is divided into a maximum service sub-score;
  • the resource calculation sub-unit calculates a quantity of resources allocated to the requester according to the single-distributed resource quantity range and the service score.
  • the probability of the first type of resource allocation is P;
  • the probability of the second resource allocation method is 1-P;
  • max A represents a single maximum allocated resource quantity
  • min A represents a single minimum allocated resource quantity
  • avgA represents an average allocated resource quantity
  • represents an adjustment factor of an average allocated resource quantity in the second resource allocation manner
  • the range of the number of single allocation resources of the first resource allocation mode is [min A,max A];
  • the range of the number of single allocation resources of the second resource allocation mode is [min A, 2 ⁇ (avgA-min A)+min A].
  • the random number calculation unit 320 specifically includes:
  • the distribution hit unit 340 specifically includes:
  • the resource calculation unit 340 specifically includes:
  • a first obtaining sub-unit in the case that the determined resource allocation manner is the first resource allocation manner, acquiring a single-allocated resource quantity range [min A,max A] of the first resource allocation manner;
  • a second acquiring subunit randomly acquiring a quantity of allocated resources located in the single allocated resource quantity range [min A, max A];
  • the resource determining subunit allocates the obtained allocated resource quantity to the requestor's resource quantity.
  • the resource calculation unit 340 specifically includes:
  • the first obtaining sub-unit obtains a single-allocated resource quantity range of the second resource allocation mode when the determined resource allocation mode is the second resource allocation mode [min A, 2 ⁇ (avgA-min A )+min A];
  • a second obtaining subunit randomly acquiring a quantity of allocated resources located in the single-distributed resource quantity range [min A, 2 ⁇ (avgA-min A)+min A];
  • the resource determining subunit allocates the obtained allocated resource quantity to the requestor's resource quantity.
  • the request carries a service score
  • the resource calculation unit 340 specifically includes:
  • the resource calculation unit specifically includes:
  • a first obtaining sub-unit in the case that the determined resource allocation manner is the first resource allocation manner, acquiring a single-allocated resource quantity range [min A,max A] of the first resource allocation manner;
  • a second obtaining sub-unit obtaining a global service sub-range [min A, max A]; the global service sub-range indicating that the smallest service among all requesters is divided into a maximum service sub-score;
  • the resource calculation subunit calculates the amount of resources according to the following formula.
  • score represents the service share carried in this request
  • max Score represents the global maximum service score
  • min Score represents the global minimum service score
  • max A represents the maximum number of allocated resources
  • min A represents the minimum number of allocated resources.
  • the resource calculation unit specifically includes:
  • the first obtaining sub-unit obtains a single-allocated resource quantity range of the second resource allocation mode when the determined resource allocation mode is the second resource allocation mode [min A, 2 ⁇ (avgA-min A )+min A];
  • a second obtaining sub-unit obtaining a global service sub-range [min A, max A]; the global service sub-range indicating that the smallest service among all requesters is divided into a maximum service sub-score;
  • the resource calculation subunit calculates the amount of resources according to the following formula.
  • score represents the service share carried in this request
  • max Score represents the global maximum service score
  • min Score represents the global minimum service score
  • avgA represents the average allocated resource quantity
  • represents the average allocated resource quantity in the second resource allocation manner.
  • the adjustment factor, min A represents the number of resources allocated in a single minimum.
  • the device also includes:
  • the modifying unit in the case that the requesting party has multiple resource allocation requests, modify the calculated number of resources by using the following formula:
  • a is the calculated number of resources
  • base_rate and reduction_rate are configured adjustment factors
  • RLcnt is configured to adjust the gear position
  • seq is the requestor request number
  • EXP is a logarithmic attenuation symbol
  • SIN is a sine symbol.
  • the resource allocation request includes a lottery request
  • the resource allocation manner includes a winning amount allocation manner
  • the amount of resources includes the winning amount.
  • the system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, and a game control.
  • the device embodiment since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the present specification. Those of ordinary skill in the art can understand and implement without any creative effort.
  • the internal function module and structure of the resource allocation device are described in FIG. 3, and the substantial execution body of the device may be an electronic device, including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the amount of resources allocated to the requestor is calculated according to the determined resource allocation manner.
  • the calculating, according to the determined resource allocation manner, the quantity of resources allocated to the requesting party specifically:
  • the single allocation resource quantity range is determined by a single maximum allocated resource quantity, a single minimum allocated resource quantity, an average allocated resource quantity, and used to adjust different resource allocations
  • the adjustment factor of the method of evenly allocating the quantity of resources is calculated;
  • the acquired allocated resource quantity is determined as the number of resources allocated to the requesting party.
  • the request carries a service score
  • the calculating, according to the determined resource allocation manner, the quantity of resources allocated to the requesting party specifically:
  • the calculating, according to the determined resource allocation manner and the service component, the quantity of resources allocated to the requesting party specifically:
  • the single allocation resource quantity range is determined by a single maximum allocated resource quantity, a single minimum allocated resource quantity, an average allocated resource quantity, and used to adjust different resource allocations
  • the adjustment factor of the method of evenly allocating the quantity of resources is calculated;
  • the global service sub-range indicates that the smallest service among all the requesters is divided into the maximum service points
  • the probability of the first type of resource allocation is P;
  • the probability of the second resource allocation method is 1-P;
  • the range of the number of single allocation resources of the first resource allocation mode is [min A,max A];
  • the range of the number of single allocation resources of the second resource allocation mode is [min A, 2 ⁇ (avgA-min A)+min A].
  • the generating a random number for determining a resource allocation manner includes:
  • the calculating, according to the determined resource allocation manner, the quantity of resources allocated to the requesting party specifically:
  • the determined resource allocation manner is the first resource allocation manner, a quantity of a single allocated resource quantity [min A,max A] of the first resource allocation manner;
  • the amount of allocated resources obtained is allocated to the number of resources of the requesting party.
  • the calculating, according to the determined resource allocation manner, the quantity of resources allocated to the requesting party specifically:
  • the determined resource allocation mode is the second resource allocation mode
  • the quantity of the single allocated resource quantity of the second resource allocation mode [min A, 2 ⁇ (avgA-min A)+min A];
  • the amount of allocated resources obtained is allocated to the number of resources of the requesting party.
  • the request carries a service score
  • the calculating, according to the determined resource allocation manner, the quantity of resources allocated to the requesting party specifically:
  • the calculating, according to the determined resource allocation manner and the service component, the quantity of resources allocated to the requesting party specifically:
  • the determined resource allocation manner is the first resource allocation manner, a quantity of a single allocated resource quantity [min A,max A] of the first resource allocation manner;
  • the global service sub-range indicates that the smallest service among all requesters is assigned to the maximum service score
  • score represents the service share carried in this request
  • max Score represents the global maximum service score
  • min Score represents the global minimum service score
  • max A represents the maximum number of allocated resources
  • min A represents the minimum number of allocated resources.
  • the calculating, according to the determined resource allocation manner and the service component, the quantity of resources allocated to the requesting party specifically:
  • the determined resource allocation mode is the second resource allocation mode
  • the quantity of the single allocated resource quantity of the second resource allocation mode [min A, 2 ⁇ (avgA-min A)+min A];
  • the global service sub-range indicates that the smallest service among all requesters is assigned to the maximum service score
  • score represents the service share carried in this request
  • max Score represents the global maximum service score
  • min Score represents the global minimum service score
  • avgA represents the average allocated resource quantity
  • represents the average allocated resource quantity in the second resource allocation manner.
  • the adjustment factor, min A represents the number of resources allocated in a single minimum.
  • the processor is further configured with:
  • the calculated number of resources is modified by the following formula:
  • a is the calculated number of resources
  • base_rate is the configured adjustment factor
  • reduction_rate is the configured adjustment factor
  • RLcnt configures the adjustment gear
  • seq is the requestor request number
  • EXP is the logarithmic attenuation symbol
  • SIN is a sine symbol.
  • the resource allocation request includes a lottery request
  • the resource allocation manner includes a winning amount allocation manner
  • the amount of resources includes the winning amount.
  • the processor may be a central processing unit (English: Central Processing Unit, CPU for short), or other general-purpose processor, digital signal processor (English: Digital Signal Processor) , referred to as: DSP), ASIC (English: Application Specific Integrated Circuit, referred to as: ASIC).
  • the general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the foregoing memory may be a read-only memory (English: read-only memory, abbreviation: ROM), a random access memory (English) :random access memory (abbreviation: RAM), flash memory, hard disk or solid state disk.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Software Systems (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本说明书实施例提供一种资源分配方法及装置和电子设备,设置至少两种的资源分配方式,从而在接收到请求方发送的资源分配请求后,生成用于确定资源分配方式的概率随机数;然后根据所计算出的随机数,从至少两种资源分配方式中确定该随机数所命中的资源分配方式;以及根据所确定的资源分配方式,计算分配给所述请求方的资源数量。

Description

资源分配方法及装置和电子设备 技术领域
本说明书实施例涉及计算机技术领域,尤其涉及一种资源分配方法及装置和电子设备。
背景技术
随着网络技术的发展,出现了多种多样的虚拟资源分配方式。以“抽奖”形式的虚拟资源分配为例,营销方通常都会设定用户中奖的最大金额、最小金额以及平均金额。这里设定的平均金额往往验证偏离(最大金额+最小金额)/2;例如,最大金额100元,最小金额1元,平均金额5元,如果营销方需要将平均金额调整为10元,最大金额、最小金额、用户中奖的分布不变,难以实现。
需要提供更为灵活地资源分配方案。
发明内容
本说明书实施例提供的一种资源分配方法及装置和电子设备:
根据本说明书实施例的第一方面,提供一种资源分配方法,所述方法包括:
接收请求方发送的资源分配请求;
生成用于确定资源分配方式的随机数;
根据所计算出的随机数,从至少两种资源分配方式中确定该随机数所命中的资源分配方式;
根据所确定的资源分配方式,计算分配给所述请求方的资源数量。
根据本说明书实施例的第二方面,提供一种资源分配装置,所述装置包括:
请求接收单元,接收请求方发送的资源分配请求;
随机数生成单元,生成用于确定资源分配方式的随机数;
分布命中单元,根据所计算出的随机数,从至少两种资源分配方式中确定该随机数所命中的资源分配方式;
资源计算单元,根据所确定的资源分配方式,计算分配给所述请求方的资源数量。
根据本说明书实施例的第三方面,提供一种电子设备,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
接收请求方发送的资源分配请求;
生成用于确定资源分配方式的随机数;
根据所计算出的随机数,从至少两种资源分配方式中确定该随机数所命中的资源分配方式;
根据所确定的资源分配方式,计算分配给所述请求方的资源数量。
本说明书实施例,通过设置至少两种不同的资源分配方式,对于每一次资源分配请求,首先需要确定资源分配方式,然后根据确定的资源分配方式计算分配的资源数量。由于不同资源分配方式可以影响资源数量,因此应用本实施例可以灵活多样的分配资源,具备较大的分配灵活性。
附图说明
图1是本说明书一实施例提供的实现资源分配的系统结构图;
图2是本说明书一实施例提供的资源分配方法的流程图;
图3是本说明书一实施例提供的资源分配装置的模块示意图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本说明书相一致的所有实施 方式。相反,它们仅是与如所附权利要求书中所详述的、本说明书的一些方面相一致的装置和方法的例子。
在本说明书使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本说明书。在本说明书和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。
应当理解,尽管在本说明书可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本说明书范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。
请参考图1所示的例子介绍本说明书一种实现资源分配的方法的实施例,如图1所示,该方法可以包括以下步骤:
步骤110:接收请求方发送的资源分配请求。
以下请参考图2示出了本文中可以适用的示例性的系统架构概念。
系统架构概念图200中,各种网络节点借助网络可以实现信息的通信,继而完成交互和数据的处理。系统架构概念图200可以包括经由网络23与一个或多个请求方的客户端21进行数据通信的运营方的服务端22,以及可以集成于所述服务端22或独立于所述服务端22的数据库221。
所述服务端22可以包括响应资源分配请求的服务器、服务器集群或者基于服务器集群构建的云平台。
每个网络23都可以包括有线或无线电信装置,客户端21所基于的网络装置可以通过所述有线或无线电信装置来交换数据。例如,每个网络23都可以包括局域网(“LAN”)、广域网(“WAN”)、内部网、互联网、移动电话网络、虚拟专用网(VPN)、蜂窝式或其它移动通信网络、蓝牙、NFC或其任何组合。在示例性实施方案的讨论中,应理解,术语“数据”和“信息”可在本文中互换 使用来指代可存在于基于计算机的环境中的文字、图像、音频、视频或任何其它形式的信息。
所述客户端21可以用于作为请求方向服务端22发送资源分配请求。每个客户端21所基于的网络装置都可以包括具有能够经由网络23发出并接收数据的通信模块的装置。例如,每个客户端21所基于的网络装置都可以包括服务器、台式计算机、膝上型计算机、平板计算机、智能手机、手持式计算机、个人数字助理(“PDA”),或者其它任何的有线或无线处理器驱动装置。在图2所描绘的示例性实施方案中,客户端21所基于的网络装置可以由最终用户进行操作。
用户(包括个人或组织)可以使用如网页浏览器应用程序或独立应用程序的应用程序,以便经由网络23查看、下载、上传或以其它方式访问文件或网页。网页浏览器应用程序或独立应用程序的应用程序,可以与连接到网络23的网页服务器(或其它服务器,诸如社交平台、支付平台等)以完成数据交互。
图2中,与所述服务端22可以是集成关系或分立关系的计算装置222,特别是后者的情况下,一般可以通过内部网络或专用网络连接,或者也可以通过加密的公共网络连接。特别的,当为集成关系时,可能采用更高效、传输速度更快的内部总线形式的连接。该计算装置222,当为集成关系或分立关系时,均可以直接(图中未示出)或通过所述服务端22访问数据库221。
对计算机装置222进行适当的编程,可以藉由这种指令控制本说明书中方法的实施。特别的,当为集成关系时,计算机装置222处理的事务可以视为服务端22的处理而不必特别加以区分。
步骤120:生成用于确定资源分配方式的随机数。
本实施例中,所述步骤120,可以包括:
根据随机数算法,生成用于确定资源分配方式的随机数。
一般的,随机数算法可以设置一个随机数范围,即输出值是随机从该随机数范围中确定的。
该实现方式中,随机数算法可以人为预先设置有一个随机数范围。一种仅为示例性的随机数范围可以为[0,1],也就是说,利用所述随机数算法可以随机求得一个位于[0,1]的随机数。
值得一提的是,生成所述用于确定资源分配方式的随机数可以采用的方式是多种多样的,例如可以通过预设的函数,映射出随机数。
步骤130:根据所计算出的随机数,从至少两种资源分配方式中确定该随机数所命中的资源分配方式。
本实施例中,命中不同的资源分配方式的概率是不同的,可以认为不同的资源分配方式对应有一个与随机数相关的概率值。
以具有两种资源分配方式的情况为例,
假设命中第一资源分配方式的概率为0.3;
命中第二资源分配方式的概率则为(1-0.3)即0.7;
那么,第一资源分配方式对应的随机数范围可以认为是[0,0.3];
第二资源分配方式对应的随机数范围可以认为是(0.3,1];
如果,计算出的随机数小于等于0.3,则可以命中第一资源分配方式;
如果,计算出的随机数大于0.3,则可以命中第二资源分配方式。
步骤140:根据所确定的资源分配方式,计算分配给所述请求方的资源数量。
所述根据所确定的资源分配方式,计算分配给所述请求方的资源数量,具体可以包括:
获取所述确定的资源分配方式的单次分配资源数量范围;所述单次分配资源数量范围由单次最大分配资源数量、单次最小分配资源数量、平均分配资源数量、用于调节不同资源分配方式平均分配资源数量的调节因子计算得到;
随机获取一个位于所述单次分配资源数量范围内的资源数量;
将所获取的分配资源数量确定为分配给所述请求方的资源数量。
以下以具有两种资源分配方式的情况为例加以说明:
假设第一种资源分配方式的概率为P;即可以命中第一种资源分配方式的随机数位于[0,P];
第二种资源分配方式的概率为1-P;即可以命中第二种资源分配方式的随机数位于(P,1];
本说明书中,服务端中一般会配置有单次最大分配资源数量maxA、单次最小分配资源数量minA和平均分配资源数量avgA、第二种资源分配方式中平均分配资源数量的调节因子α;所述调节因子可以用于调节第二种资源分配方式的平均资源分配数量。
基于上述配置,第一种资源分配方式下,可以分配资源数量的范围为[min A,max A];进一步的,可以计算出第一种资源分配方式的平均分配资源数量:avgA1=(minA+maxA)/2;
假设第二种资源分配方式的平均分配资源数量为avgA2;并且由于α=(avgA2-min A)/(avgA-min A);可以求得第二种资源分配方式的平均分配资源数量为avgA2=α*(avgA-minA)+minA。
基于上述内容,所述概率P可以通过如下公式计算得到:
P=(2(1-α)*min A+2(α-1)*avgA)/(2α*avgA+(1-2α)*min A-max A)
其中,max A表示单次最大分配资源数量,min A表示单次最小分配资源数量,avgA表示平均分配资源数量,α表示第二种资源分配方式中平均分配资源数量的调节因子。
值得一提的是,所述α的范围可以为[0,1);
由于所述第一种资源分配方式的单次分配资源数量的范围为[min A,max A];
在计算出概率P之后,进一步的,可以求出所述第二种资源分配方式的单次分配资源数量的范围为[min A,2α(avgA-min A)+min A]。
基于上述两种资源分配方式的单次分配资源数量的范围,所述步骤120,可以包括:
随机生成位于[0,P]之间的随机数;
另一方面,所述步骤130,具体包括:
在所述随机数位于[0,P]的情况下,确定命中第一种资源分配方式;
或者,
在所述随机数位于(P,1]的情况下,确定命中第二种资源分配方式。
再一方面,所述步骤140,可以包括:
A1:在所确定的资源分配方式为第一种资源分配方式的情况下,获取所述第一种资源分配方式的单次分配资源数量范围[min A,max A];
A2:随机获取一个位于所述单次分配资源数量范围[min A,max A]内的分配资源数量;
A3:将所获取的分配资源数量分配给所述请求方的资源数量。
或者,
B1:在所确定的资源分配方式为第二种资源分配方式的情况下,获取所述第二种资源分配方式的单次分配资源数量范围[min A,2α(avgA-min A)+min A];
B2:随机获取一个位于所述单次分配资源数量范围[min A,2α(avgA-min A)+min A]内的分配资源数量;
B3:将所获取的分配资源数量分配给所述请求方的资源数量。
本说明书实施例,通过设置至少两种不同的资源分配方式,对于每一次资源分配请求,首先需要确定资源分配方式,然后根据确定的资源分配方式计算分配的资源数量。由于不同资源分配方式可以影响资源数量,因此应用本实施例可以灵活多样的分配资源,具备较大的分配灵活性。
另一方面的,虽然设置至少两种不同的资源分配方式,但是无需修改运营方配置的单次最大分配资源数量max A、单次最小分配资源数量min A和平均分配资源数量avgA,而是可以通过配置其它资源分配方式中平均分配资源数量的调节因子α,控制各个不同资源分配方式的平均分配资源数量, 从而实现整体上平均分配资源数量的控制。
本说明书所提供的实施例可以应用在具体业务中,例如可以应用在抽奖这一具体业务场景。则,所述资源分配请求可以包括抽奖请求,所述资源数量可以包括中奖金额。
一般的,抽奖活动中活动举办方可以设置有最小中奖金额、最大中奖金额以及平均中奖金额,基于成本考虑,通常这个平均中奖金额往往严重偏向最小中奖金额;例如某个抽奖活动,最小中奖金额为1元,最大中奖金额为100元,但是平均中奖金额仅为5元。如果想要将平均中奖金额调高到10元,可能需要修改最小中奖金额或者最大中奖金额;如果最小中奖金额、最大中奖金额不变,那么活动中奖率就可能需要调整。通过本实施例不仅可以灵活设置多种不同的中奖金额分配方式;而且,无需修改活动举办方设置的最小中奖金额、最大中奖金额以及平均中奖金额,而是通过配置其它中奖金额分配方式的调节因子α,控制各个不同中奖金额分配方式的平均中奖金额,从而可以调节整体上平均中奖金额;解决了抽奖活动中平均中奖金额严重偏向最小中奖金额的问题。
在上述图1所示实施例的基础上,本说明书还提供了以下方案:
所述请求方发送的资源分配请求还可以携带有业务分。所述业务分可以是请求方相关业务提供的评分,例如金融业务中可以提供用户的信用分(如支付宝中用户的芝麻信用分)。
则,所述步骤140,具体可以包括:
所述根据所确定的资源分配方式以及所述业务分,计算分配给所述请求方的资源数量。
进一步的,所述根据所确定的资源分配方式以及所述业务分,计算分配给所述请求方的资源数量,具体包括:
获取所述确定的资源分配方式的单次分配资源数量范围;所述单次分配资源数量范围由单次最大分配资源数量、单次最小分配资源数量、平均分配资源数量、用于调节不同资源分配方式平均分配资源数量的调节因子计算得 到;
获取全局业务分范围;所述全局业务分范围表示所有请求方中最小业务分到最大业务分;
根据所述单次分配资源数量范围以及所述业务分,计算得到分配给所述请求方的资源数量。
与前述实施例相同的,以具有两种资源分配方式的情况为例加以说明:
所述根据所确定的资源分配方式以及所述业务分,计算分配给所述请求方的资源数量,具体包括:
C1:在所确定的资源分配方式为第一种资源分配方式的情况下,获取所述第一种资源分配方式的单次分配资源数量范围[min A,max A];
C2:获取全局业务分范围[min A,max A];所述全局业务分范围表示所有请求方中最小业务分到最大业务分;
C3:根据如下公式计算得到资源数量,
Figure PCTCN2018103498-appb-000001
其中,score表示本次请求携带的业务分,max Score表示全局的最大业务分,min Score表示全局的最小业务分,max A表示单次最大分配资源数量,min A表示单次最小分配资源数量。
或者,
D1:在所确定的资源分配方式为第二种资源分配方式的情况下,获取所述第二种资源分配方式的单次分配资源数量范围[min A,2α(avgA-min A)+min A];
D2:获取全局业务分范围[min A,max A];所述全局业务分范围表示所有请求方中最小业务分到最大业务分;
D3:根据如下公式计算得到资源数量,
Figure PCTCN2018103498-appb-000002
其中,score表示本次 请求携带的业务分,max Score表示全局的最大业务分,min Score表示全局的最小业务分,avgA表示平均分配资源数量,α表示第二种资源分配方式中平均分配资源数量的调节因子,min A表示单次最小分配资源数量。
本实施例与上一实施例不同之处在于,所述请求方发送的资源分配请求还可以携带有业务分,并且计算分配给所述请求方的资源数量不是随机确定的,而是根据资源分配方式并结合业务分共同确定的。
在实际应用中,同一请求方可能会存在多次资源分配请求的情况下,如果按照上述计算资源数量的方式,会出现每次计算得到的资源数量相同的问题。为了解决这一问题,本说明书提供了如下方案:
在所述请求方存在多次资源分配请求的情况下,通过如下公式修改所计算的资源数量:
Figure PCTCN2018103498-appb-000003
其中,a为所计算的资源数量,base_rate、reduction_rate为配置的调节因子,RLcnt配置的调节档位,seq为所述请求方请求次数,EXP为对数衰减符号、SIN为正弦符号。
本实施例中,本地可以配置调节因子base_rate、reduction_rate、调节档位RLcnt。对于同一请求方不同资源分配请求,可以对计算得到的资源数量进行波动,所述波动可以基于正弦波动和对数衰减。通过上述公式对相同的资源数量进行波动,从而可以使得原本每一次请求被分配相同的资源数量变得不相同。应用在抽奖业务场景时,通过对计算得到的中奖金额进行波动,使得同一用户多次抽奖的中奖金额不相同,从而提升抽奖活动的趣味性。
与前述资源分配方法实施例相对应,本说明书还提供了资源分配装置的实施例。所述装置实施例可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,作为一个逻辑意义上的装置,是通过其所在设备的处理器将非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。从硬件层面而言,本说明书资源分配装置所在设备的一种硬件结构可以包括处理器、网络接口、内存以及非易失性存储器之外,实施例中装 置所在的设备通常根据该资源分配实际功能,还可以包括其他硬件,对此不再赘述。
参见图3,为本说明书一实施例提供的资源分配装置的模块图,所述装置对应了图2所示实施例,所述装置包括:
请求接收单元310,接收请求方发送的资源分配请求;
随机数生成单元320,生成用于确定资源分配方式的随机数;
分布命中单元330,根据所计算出的随机数,从至少两种资源分配方式中确定该随机数所命中的资源分配方式;
资源计算单元340,根据所确定的资源分配方式,计算分配给所述请求方的资源数量。
在一个可选的实施例中:
所述资源计算单元340,具体包括:
第一获取子单元,获取所述确定的资源分配方式的单次分配资源数量范围;所述单次分配资源数量范围由单次最大分配资源数量、单次最小分配资源数量、平均分配资源数量、用于调节不同资源分配方式平均分配资源数量的调节因子计算得到;
第二获取子单元,随机获取一个位于所述单次分配资源数量范围内的资源数量;
确定子单元,将所获取的分配资源数量确定为分配给所述请求方的资源数量。
在一个可选的实施例中:
所述请求中携带有业务分,
所述资源计算单元,具体包括:
所述根据所确定的资源分配方式以及所述业务分,计算分配给所述请求方的资源数量。
在一个可选的实施例中:
所述资源计算单元,具体包括:
第一获取子单元,获取所述确定的资源分配方式的单次分配资源数量范围;所述单次分配资源数量范围由单次最大分配资源数量、单次最小分配资源数量、平均分配资源数量、用于调节不同资源分配方式平均分配资源数量的调节因子计算得到;
第二获取子单元,获取全局业务分范围;所述全局业务分范围表示所有请求方中最小业务分到最大业务分;
资源计算子单元,根据所述单次分配资源数量范围以及所述业务分,计算得到分配给所述请求方的资源数量。
在一个可选的实施例中:
在具有两种资源分配方式的情况下,
第一种资源分配方式的概率为P;
第二种资源分配方式的概率为1-P;
其中,P通过如下公式计算得到:
P=(2(1-α)*min A+2(α-1)*avgA)/(2α*avgA+(1-2α)*min A-max A)
其中,max A表示单次最大分配资源数量,min A表示单次最小分配资源数量,avgA表示平均分配资源数量,α表示第二种资源分配方式中平均分配资源数量的调节因子;
所述第一种资源分配方式的单次分配资源数量的范围为[min A,max A];
所述第二种资源分配方式的单次分配资源数量的范围为[min A,2α(avgA-min A)+min A]。
在一个可选的实施例中:
所述随机数计算单元320,具体包括:
随机生成位于[0,P]之间的随机数;
所述分布命中单元340,具体包括:
在所述随机数位于[0,P]的情况下,确定命中第一种资源分配方式;
或者,
在所述随机数位于(P,1]的情况下,确定命中第二种资源分配方式。
在一个可选的实施例中:
所述资源计算单元340,具体包括:
第一获取子单元,在所确定的资源分配方式为第一种资源分配方式的情况下,获取所述第一种资源分配方式的单次分配资源数量范围[min A,max A];
第二获取子单元,随机获取一个位于所述单次分配资源数量范围[min A,max A]内的分配资源数量;
资源确定子单元,将所获取的分配资源数量分配给所述请求方的资源数量。
在一个可选的实施例中:
所述资源计算单元340,具体包括:
第一获取子单元,在所确定的资源分配方式为第二种资源分配方式的情况下,获取所述第二种资源分配方式的单次分配资源数量范围[min A,2α(avgA-min A)+min A];
第二获取子单元,随机获取一个位于所述单次分配资源数量范围[min A,2α(avgA-min A)+min A]内的分配资源数量;
资源确定子单元,将所获取的分配资源数量分配给所述请求方的资源数量。
在一个可选的实施例中:
所述请求中携带有业务分,
所述资源计算单元340,具体包括:
所述根据所确定的资源分配方式以及所述业务分,计算分配给所述请求方的资源数量。
在一个可选的实施例中:
所述资源计算单元,具体包括:
第一获取子单元,在所确定的资源分配方式为第一种资源分配方式的情况下,获取所述第一种资源分配方式的单次分配资源数量范围[min A,max A];
第二获取子单元,获取全局业务分范围[min A,max A];所述全局业务分范围表示所有请求方中最小业务分到最大业务分;
资源计算子单元,根据如下公式计算得到资源数量,
Figure PCTCN2018103498-appb-000004
其中,score表示本次请求携带的业务分,max Score表示全局的最大业务分,min Score表示全局的最小业务分,max A表示单次最大分配资源数量,min A表示单次最小分配资源数量。
在一个可选的实施例中:
所述资源计算单元,具体包括:
第一获取子单元,在所确定的资源分配方式为第二种资源分配方式的情况下,获取所述第二种资源分配方式的单次分配资源数量范围[min A,2α(avgA-min A)+min A];
第二获取子单元,获取全局业务分范围[min A,max A];所述全局业务分范围表示所有请求方中最小业务分到最大业务分;
资源计算子单元,根据如下公式计算得到资源数量,
Figure PCTCN2018103498-appb-000005
其中,score表示本次请求携带的业务分,max Score表示全局的最大业务分,min Score表示全局的最小业务分,avgA表示平均分配资源数量,α表示第二种资源分配方式中平均分配资源数量的调节因子,min A表示单次最小分配资源数量。
在一个可选的实施例中:
所述装置还包括:
修改单元,在所述请求方存在多次资源分配请求的情况下,通过如下公式修改所计算的资源数量:
Figure PCTCN2018103498-appb-000006
其中,a为所计算的资源数量,base_rate、reduction_rate为配置的调节 因子,RLcnt配置的调节档位,seq为所述请求方请求次数,EXP为对数衰减符号、SIN为正弦符号。
在一个可选的实施例中:
所述资源分配请求包括抽奖请求;
所述资源分配方式包括中奖金额分配方式;
所述资源数量包括中奖金额。
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。
上述装置中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本说明书方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
以上图3描述了资源分配装置的内部功能模块和结构示意,其实质上的执行主体可以为一种电子设备,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
接收请求方发送的资源分配请求;
生成用于确定资源分配方式的随机数;
根据所计算出的随机数,从至少两种资源分配方式中确定该随机数所命中的资源分配方式;
根据所确定的资源分配方式,计算分配给所述请求方的资源数量。
可选的,所述根据所确定的资源分配方式,计算分配给所述请求方的资源数量,具体包括:
获取所述确定的资源分配方式的单次分配资源数量范围;所述单次分配资源数量范围由单次最大分配资源数量、单次最小分配资源数量、平均分配资源数量、用于调节不同资源分配方式平均分配资源数量的调节因子计算得到;
随机获取一个位于所述单次分配资源数量范围内的资源数量;
将所获取的分配资源数量确定为分配给所述请求方的资源数量。
可选的,所述请求中携带有业务分,
所述根据所确定的资源分配方式,计算分配给所述请求方的资源数量,具体包括:
所述根据所确定的资源分配方式以及所述业务分,计算分配给所述请求方的资源数量。
可选的,所述根据所确定的资源分配方式以及所述业务分,计算分配给所述请求方的资源数量,具体包括:
获取所述确定的资源分配方式的单次分配资源数量范围;所述单次分配资源数量范围由单次最大分配资源数量、单次最小分配资源数量、平均分配资源数量、用于调节不同资源分配方式平均分配资源数量的调节因子计算得到;
获取全局业务分范围;所述全局业务分范围表示所有请求方中最小业务分到最大业务分;
根据所述单次分配资源数量范围以及所述业务分,计算得到分配给所述请求方的资源数量。
可选的,在具有两种资源分配方式的情况下,
第一种资源分配方式的概率为P;
第二种资源分配方式的概率为1-P;
其中,P通过如下公式计算得到:
P=(2(1-α)*min A+2(α-1)*avgA)/(2α*avgA+(1-2α)*min A-max A)其中,max A表示单次最大分配资源数量,min A表示单次最小分配资源数量,avgA表示平均分配资源数量,α表示第二种资源分配方式中平均分配资源数量的调节因子;
所述第一种资源分配方式的单次分配资源数量的范围为[min A,max A];
所述第二种资源分配方式的单次分配资源数量的范围为[min A,2α(avgA-min A)+min A]。
可选的,所述生成用于确定资源分配方式的随机数,具体包括:
随机生成位于[0,P]之间的随机数;
所述根据所计算出的随机数,从至少两种资源分配方式中确定该随机数所命中的资源分配方式,具体包括:
在所述随机数位于[0,P]的情况下,确定命中第一种资源分配方式;
或者,
在所述随机数位于(P,1]的情况下,确定命中第二种资源分配方式。
可选的,所述根据所确定的资源分配方式,计算分配给所述请求方的资源数量,具体包括:
在所确定的资源分配方式为第一种资源分配方式的情况下,获取所述第一种资源分配方式的单次分配资源数量范围[min A,max A];
随机获取一个位于所述单次分配资源数量范围[min A,max A]内的分配资源数量;
将所获取的分配资源数量分配给所述请求方的资源数量。
可选的,所述根据所确定的资源分配方式,计算分配给所述请求方的资源数量,具体包括:
在所确定的资源分配方式为第二种资源分配方式的情况下,获取所述第二种资源分配方式的单次分配资源数量范围[min A,2α(avgA-min A)+min A];
随机获取一个位于所述单次分配资源数量范围[min A,2α(avgA-min A)+min A]内的分配资源数量;
将所获取的分配资源数量分配给所述请求方的资源数量。
可选的,所述请求中携带有业务分,
所述根据所确定的资源分配方式,计算分配给所述请求方的资源数量,具体包括:
所述根据所确定的资源分配方式以及所述业务分,计算分配给所述请求方的资源数量。
可选的,所述根据所确定的资源分配方式以及所述业务分,计算分配给所述请求方的资源数量,具体包括:
在所确定的资源分配方式为第一种资源分配方式的情况下,获取所述第一种资源分配方式的单次分配资源数量范围[min A,max A];
获取全局业务分范围[min A,max A];所述全局业务分范围表示所有请求方中最小业务分到最大业务分;
根据如下公式计算得到资源数量,
Figure PCTCN2018103498-appb-000007
其中,score表示本次请求携带的业务分,max Score表示全局的最大业务分,min Score表示全局的最小业务分,max A表示单次最大分配资源数量,min A表示单次最小分配资源数量。
可选的,所述根据所确定的资源分配方式以及所述业务分,计算分配给所述请求方的资源数量,具体包括:
在所确定的资源分配方式为第二种资源分配方式的情况下,获取所述第二种资源分配方式的单次分配资源数量范围 [min A,2α(avgA-min A)+min A];
获取全局业务分范围[min A,max A];所述全局业务分范围表示所有请求方中最小业务分到最大业务分;
根据如下公式计算得到资源数量,
Figure PCTCN2018103498-appb-000008
其中,score表示本次请求携带的业务分,max Score表示全局的最大业务分,min Score表示全局的最小业务分,avgA表示平均分配资源数量,α表示第二种资源分配方式中平均分配资源数量的调节因子,min A表示单次最小分配资源数量。
可选的,所述处理器还被配置有:
在所述请求方存在多次资源分配请求的情况下,通过如下公式修改所计算的资源数量:
Figure PCTCN2018103498-appb-000009
其中,a为所计算的资源数量,base_rate、reduction_rate为配置的调节因子,RLcnt配置的调节档位,seq为所述请求方请求次数,EXP为对数衰减符号、SIN为正弦符号。
可选的,所述资源分配请求包括抽奖请求;
所述资源分配方式包括中奖金额分配方式;
所述资源数量包括中奖金额。
在上述电子设备的实施例中,应理解,该处理器可以是中央处理单元(英文:Central Processing Unit,简称:CPU),还可以是其他通用处理器、数字信号处理器(英文:Digital Signal Processor,简称:DSP)、专用集成电路(英文:Application Specific Integrated Circuit,简称:ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,而前述的存储器可以是只读存储器(英文:read-only memory,缩写:ROM)、随机存取存储器(英文:random access memory,简称:RAM)、快闪存储器、硬盘或者固态硬盘。结合本发明实施例所公开的方法的步骤可以直接体现为 硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于电子设备实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本说明书的其它实施方案。本说明书旨在涵盖本说明书的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本说明书的一般性原理并包括本说明书未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本说明书的真正范围和精神由下面的权利要求指出。
应当理解的是,本说明书并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本说明书的范围仅由所附的权利要求来限制。

Claims (27)

  1. 一种资源分配方法,所述方法包括:
    接收请求方发送的资源分配请求;
    生成用于确定资源分配方式的随机数;
    根据所计算出的随机数,从至少两种资源分配方式中确定该随机数所命中的资源分配方式;
    根据所确定的资源分配方式,计算分配给所述请求方的资源数量。
  2. 根据权利要求1所述的方法,所述根据所确定的资源分配方式,计算分配给所述请求方的资源数量,具体包括:
    获取所述确定的资源分配方式的单次分配资源数量范围;所述单次分配资源数量范围由单次最大分配资源数量、单次最小分配资源数量、平均分配资源数量、用于调节不同资源分配方式平均分配资源数量的调节因子计算得到;
    随机获取一个位于所述单次分配资源数量范围内的资源数量;
    将所获取的分配资源数量确定为分配给所述请求方的资源数量。
  3. 根据权利要求1所述的方法,所述请求中携带有业务分,
    所述根据所确定的资源分配方式,计算分配给所述请求方的资源数量,具体包括:
    所述根据所确定的资源分配方式以及所述业务分,计算分配给所述请求方的资源数量。
  4. 根据权利要求3所述的方法,所述根据所确定的资源分配方式以及所述业务分,计算分配给所述请求方的资源数量,具体包括:
    获取所述确定的资源分配方式的单次分配资源数量范围;所述单次分配资源数量范围由单次最大分配资源数量、单次最小分配资源数量、平均分配资源数量、用于调节不同资源分配方式平均分配资源数量的调节因子计算得到;
    获取全局业务分范围;所述全局业务分范围表示所有请求方中最小业务分到最大业务分;
    根据所述单次分配资源数量范围以及所述业务分,计算得到分配给所述请求方的资源数量。
  5. 根据权利要求1所述的方法,在具有两种资源分配方式的情况下,
    第一种资源分配方式的概率为P;
    第二种资源分配方式的概率为1-P;
    其中,P通过如下公式计算得到:
    P=(2(1-α)*min A+2(α-1)*avgA)/(2α*avgA+(1-2α)*min A-max A)其中,max A表示单次最大分配资源数量,min A表示单次最小分配资源数量,avgA表示平均分配资源数量,α表示第二种资源分配方式中平均分配资源数量的调节因子;
    所述第一种资源分配方式的单次分配资源数量的范围为[min A,max A];
    所述第二种资源分配方式的单次分配资源数量的范围为[min A,2α(avgA-min A)+min A]。
  6. 根据权利要求5所述的方法,所述生成用于确定资源分配方式的随机数,具体包括:
    随机生成位于[0,P]之间的随机数;
    所述根据所计算出的随机数,从至少两种资源分配方式中确定该随机数所命中的资源分配方式,具体包括:
    在所述随机数位于[0,P]的情况下,确定命中第一种资源分配方式;
    或者,
    在所述随机数位于(P,1]的情况下,确定命中第二种资源分配方式。
  7. 根据权利要求5所述的方法,所述根据所确定的资源分配方式,计算分配给所述请求方的资源数量,具体包括:
    在所确定的资源分配方式为第一种资源分配方式的情况下,获取所述第一种资源分配方式的单次分配资源数量范围[min A,max A];
    随机获取一个位于所述单次分配资源数量范围[min A,max A]内的分配资源数量;
    将所获取的分配资源数量分配给所述请求方的资源数量。
  8. 根据权利要求5所述的方法,所述根据所确定的资源分配方式,计算分配给所述请求方的资源数量,具体包括:
    在所确定的资源分配方式为第二种资源分配方式的情况下,获取所述第二种资源分配方式的单次分配资源数量范围[min A,2α(avgA-min A)+min A];
    随机获取一个位于所述单次分配资源数量范围[min A,2α(avgA-min A)+min A]内的分配资源数量;
    将所获取的分配资源数量分配给所述请求方的资源数量。
  9. 根据权利要求5所述的方法,所述请求中携带有业务分,
    所述根据所确定的资源分配方式,计算分配给所述请求方的资源数量,具体包括:
    所述根据所确定的资源分配方式以及所述业务分,计算分配给所述请求方的资源数量。
  10. 根据权利要求9所述的方法,所述根据所确定的资源分配方式以及所述业务分,计算分配给所述请求方的资源数量,具体包括:
    在所确定的资源分配方式为第一种资源分配方式的情况下,获取所述第一种资源分配方式的单次分配资源数量范围[min A,max A];
    获取全局业务分范围[min A,max A];所述全局业务分范围表示所有请求方中最小业务分到最大业务分;
    根据如下公式计算得到资源数量,
    Figure PCTCN2018103498-appb-100001
    其中,score表示本次请求携带的业务分,max Score表示全局的最大业务分,min Score表示全局的最小业务分,max A表示单次最大分配资源数量, min A表示单次最小分配资源数量。
  11. 根据权利要求9所述的方法,所述根据所确定的资源分配方式以及所述业务分,计算分配给所述请求方的资源数量,具体包括:
    在所确定的资源分配方式为第二种资源分配方式的情况下,获取所述第二种资源分配方式的单次分配资源数量范围[min A,2α(avgA-min A)+min A];
    获取全局业务分范围[min A,max A];所述全局业务分范围表示所有请求方中最小业务分到最大业务分;
    根据如下公式计算得到资源数量,
    Figure PCTCN2018103498-appb-100002
    其中,score表示本次请求携带的业务分,maxScore表示全局的最大业务分,min Score表示全局的最小业务分,avgA表示平均分配资源数量,α表示第二种资源分配方式中平均分配资源数量的调节因子,min A表示单次最小分配资源数量。
  12. 根据权利要求10或11所述的方法,所述方法还包括:
    在所述请求方存在多次资源分配请求的情况下,通过如下公式修改所计算的资源数量:
    Figure PCTCN2018103498-appb-100003
    其中,a为所计算的资源数量,base_rate、reduction_rate为配置的调节因子,RLcnt配置的调节档位,seq为所述请求方请求次数,EXP为对数衰减符号、SIN为正弦符号。
  13. 根据权利要求1所述的方法,所述资源分配请求包括抽奖请求;
    所述资源分配方式包括中奖金额分配方式;
    所述资源数量包括中奖金额。
  14. 一种资源分配装置,所述装置包括:
    请求接收单元,接收请求方发送的资源分配请求;
    随机数生成单元,生成用于确定资源分配方式的随机数;
    分布命中单元,根据所计算出的随机数,从至少两种资源分配方式中确定该随机数所命中的资源分配方式;
    资源计算单元,根据所确定的资源分配方式,计算分配给所述请求方的资源数量。
  15. 根据权利要求14所述的装置,所述资源计算单元,具体包括:
    第一获取子单元,获取所述确定的资源分配方式的单次分配资源数量范围;所述单次分配资源数量范围由单次最大分配资源数量、单次最小分配资源数量、平均分配资源数量、用于调节不同资源分配方式平均分配资源数量的调节因子计算得到;
    第二获取子单元,随机获取一个位于所述单次分配资源数量范围内的资源数量;
    确定子单元,将所获取的分配资源数量确定为分配给所述请求方的资源数量。
  16. 根据权利要求14所述的装置,所述请求中携带有业务分,
    所述资源计算单元,具体包括:
    所述根据所确定的资源分配方式以及所述业务分,计算分配给所述请求方的资源数量。
  17. 根据权利要求16所述的装置,所述资源计算单元,具体包括:
    第一获取子单元,获取所述确定的资源分配方式的单次分配资源数量范围;所述单次分配资源数量范围由单次最大分配资源数量、单次最小分配资源数量、平均分配资源数量、用于调节不同资源分配方式平均分配资源数量的调节因子计算得到;
    第二获取子单元,获取全局业务分范围;所述全局业务分范围表示所有请求方中最小业务分到最大业务分;
    资源计算子单元,根据所述单次分配资源数量范围以及所述业务分,计算得到分配给所述请求方的资源数量。
  18. 根据权利要求14所述的装置,在具有两种资源分配方式的情况下,
    第一种资源分配方式的概率为P;
    第二种资源分配方式的概率为1-P;
    其中,P通过如下公式计算得到:
    P=(2(1-α)*min A+2(α-1)*avgA)/(2α*avgA+(1-2α)*min A-max A)其中,max A表示单次最大分配资源数量,min A表示单次最小分配资源数量,avgA表示平均分配资源数量,α表示第二种资源分配方式中平均分配资源数量的调节因子;
    所述第一种资源分配方式的单次分配资源数量的范围为[min A,max A];
    所述第二种资源分配方式的单次分配资源数量的范围为[min A,2α(avgA-min A)+min A]。
  19. 根据权利要求18所述的装置,所述随机数计算单元,具体包括:
    随机生成位于[0,P]之间的随机数;
    所述分布命中单元,具体包括:
    在所述随机数位于[0,P]的情况下,确定命中第一种资源分配方式;
    或者,
    在所述随机数位于(P,1]的情况下,确定命中第二种资源分配方式。
  20. 根据权利要求18所述的装置,所述资源计算单元,具体包括:
    第一获取子单元,在所确定的资源分配方式为第一种资源分配方式的情况下,获取所述第一种资源分配方式的单次分配资源数量范围[min A,max A];
    第二获取子单元,随机获取一个位于所述单次分配资源数量范围[min A,max A]内的分配资源数量;
    资源确定子单元,将所获取的分配资源数量分配给所述请求方的资源数量。
  21. 根据权利要求18所述的装置,所述资源计算单元,具体包括:
    第一获取子单元,在所确定的资源分配方式为第二种资源分配方式的情况下,获取所述第二种资源分配方式的单次分配资源数量范围[min A,2α(avgA-min A)+min A];
    第二获取子单元,随机获取一个位于所述单次分配资源数量范围[min A,2α(avgA-min A)+min A]内的分配资源数量;
    资源确定子单元,将所获取的分配资源数量分配给所述请求方的资源数量。
  22. 根据权利要求18所述的装置,所述请求中携带有业务分,
    所述资源计算单元,具体包括:
    所述根据所确定的资源分配方式以及所述业务分,计算分配给所述请求方的资源数量。
  23. 根据权利要求22所述的装置,所述资源计算单元,具体包括:
    第一获取子单元,在所确定的资源分配方式为第一种资源分配方式的情况下,获取所述第一种资源分配方式的单次分配资源数量范围[min A,max A];
    第二获取子单元,获取全局业务分范围[min A,max A];所述全局业务分范围表示所有请求方中最小业务分到最大业务分;
    资源计算子单元,根据如下公式计算得到资源数量,
    Figure PCTCN2018103498-appb-100004
    其中,score表示本次请求携带的业务分,max Score表示全局的最大业务分,min Score表示全局的最小业务分,max A表示单次最大分配资源数量,min A表示单次最小分配资源数量。
  24. 根据权利要求22所述的装置,所述资源计算单元,具体包括:
    第一获取子单元,在所确定的资源分配方式为第二种资源分配方式的情况下,获取所述第二种资源分配方式的单次分配资源数量范围[min A,2α(avgA-min A)+min A];
    第二获取子单元,获取全局业务分范围[min A,max A];所述全局业务分范围表示所有请求方中最小业务分到最大业务分;
    资源计算子单元,根据如下公式计算得到资源数量,
    Figure PCTCN2018103498-appb-100005
    其中,score表示本次请求携带的业务分,max Score表示全局的最大业务分,min Score表示全局的最小业务分,avgA表示平均分配资源数量,α表示第二种资源分配方式中平均分配资源数量的调节因子,min A表示单次最小分配资源数量。
  25. 根据权利要求23或24所述的装置,所述装置还包括:
    修改单元,在所述请求方存在多次资源分配请求的情况下,通过如下公式修改所计算的资源数量:
    Figure PCTCN2018103498-appb-100006
    其中,a为所计算的资源数量,base_rate、reduction_rate为配置的调节因子,RLcnt配置的调节档位,seq为所述请求方请求次数,EXP为对数衰减符号、SIN为正弦符号。
  26. 根据权利要求14所述的装置,所述资源分配请求包括抽奖请求;
    所述资源分配方式包括中奖金额分配方式;
    所述资源数量包括中奖金额。
  27. 一种电子设备,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    接收请求方发送的资源分配请求;
    生成用于确定资源分配方式的随机数;
    根据所计算出的随机数,从至少两种资源分配方式中确定该随机数所命中的资源分配方式;
    根据所确定的资源分配方式,计算分配给所述请求方的资源数量。
PCT/CN2018/103498 2017-09-06 2018-08-31 资源分配方法及装置和电子设备 Ceased WO2019047774A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710795200.4 2017-09-06
CN201710795200.4A CN107608790A (zh) 2017-09-06 2017-09-06 资源分配方法及装置和电子设备

Publications (1)

Publication Number Publication Date
WO2019047774A1 true WO2019047774A1 (zh) 2019-03-14

Family

ID=61057472

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/103498 Ceased WO2019047774A1 (zh) 2017-09-06 2018-08-31 资源分配方法及装置和电子设备

Country Status (3)

Country Link
CN (1) CN107608790A (zh)
TW (1) TWI682336B (zh)
WO (1) WO2019047774A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608790A (zh) * 2017-09-06 2018-01-19 阿里巴巴集团控股有限公司 资源分配方法及装置和电子设备
CN110532087B (zh) * 2018-05-24 2023-04-07 阿里巴巴集团控股有限公司 一种资源分配方法、资源管理器
JP7360925B2 (ja) * 2019-12-16 2023-10-13 株式会社日立製作所 分析システム
CN112036839B (zh) * 2020-09-14 2024-07-05 普源精电科技股份有限公司 一种资源分配方法及相关装置
CN120029557B (zh) * 2025-04-23 2025-07-18 山东云海国创云计算装备产业创新中心有限公司 一种校验资源分配方法、装置、设备、介质及产品

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040014517A1 (en) * 2002-07-17 2004-01-22 Dragon Co., Ltd. Game machine
CN1781568A (zh) * 2004-11-29 2006-06-07 阿鲁策株式会社 游戏机
US20070123338A1 (en) * 2005-11-28 2007-05-31 Aruze Corp. Gaming machine
CN104820936A (zh) * 2015-04-24 2015-08-05 重庆炬野科技发展有限公司 基于商品信息编码的激励购买系统及方法
CN106296272A (zh) * 2016-07-29 2017-01-04 五八同城信息技术有限公司 一种抽奖结果呈现方法及装置
CN106611309A (zh) * 2015-10-23 2017-05-03 北大方正集团有限公司 信息处理装置和信息处理方法
CN106875322A (zh) * 2016-12-21 2017-06-20 乐视控股(北京)有限公司 一种网络抽奖方法及装置
CN107608790A (zh) * 2017-09-06 2018-01-19 阿里巴巴集团控股有限公司 资源分配方法及装置和电子设备

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200525420A (en) * 2004-01-30 2005-08-01 Asure Corp Interactive network lottery method and system thereof
AU2006236739A1 (en) * 2005-04-15 2006-10-26 Jackpot Rewards, Inc. Systems and methods combining subscription services, rewards programs, and sweepstakes
US20160055441A1 (en) * 2014-08-25 2016-02-25 Visa International Service Association Systems and methods to coordinate resource allocation in processing among a plurality of separate computing systems
CN105321249A (zh) * 2015-10-14 2016-02-10 贵阳朗玛信息技术股份有限公司 一种抽奖方法及装置
CN106844061B (zh) * 2015-12-03 2020-02-14 腾讯科技(深圳)有限公司 共享资源处理方法和装置
CN106157005A (zh) * 2016-06-30 2016-11-23 北京小米移动软件有限公司 红包金额的分配方法及装置
CN106649637B (zh) * 2016-12-08 2020-04-10 武汉斗鱼网络科技有限公司 一种处理红包的方法及系统
CN106530019A (zh) * 2016-12-30 2017-03-22 重庆腾帆科技有限公司 具有对中奖概率动态配置功能的服务器

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040014517A1 (en) * 2002-07-17 2004-01-22 Dragon Co., Ltd. Game machine
CN1781568A (zh) * 2004-11-29 2006-06-07 阿鲁策株式会社 游戏机
US20070123338A1 (en) * 2005-11-28 2007-05-31 Aruze Corp. Gaming machine
CN104820936A (zh) * 2015-04-24 2015-08-05 重庆炬野科技发展有限公司 基于商品信息编码的激励购买系统及方法
CN106611309A (zh) * 2015-10-23 2017-05-03 北大方正集团有限公司 信息处理装置和信息处理方法
CN106296272A (zh) * 2016-07-29 2017-01-04 五八同城信息技术有限公司 一种抽奖结果呈现方法及装置
CN106875322A (zh) * 2016-12-21 2017-06-20 乐视控股(北京)有限公司 一种网络抽奖方法及装置
CN107608790A (zh) * 2017-09-06 2018-01-19 阿里巴巴集团控股有限公司 资源分配方法及装置和电子设备

Also Published As

Publication number Publication date
TW201913470A (zh) 2019-04-01
TWI682336B (zh) 2020-01-11
CN107608790A (zh) 2018-01-19

Similar Documents

Publication Publication Date Title
WO2019047774A1 (zh) 资源分配方法及装置和电子设备
CN110032447B (zh) 用于分配资源的方法和装置
US10623410B2 (en) Multi-level, distributed access control between services and applications
US9654577B2 (en) Techniques to generate mass push notifications
CN106713028B (zh) 业务降级方法、装置和分布式任务调度系统
CN105791254B (zh) 网络请求处理方法、装置及终端
US11140095B2 (en) Content distribution resource allocation
US10419377B2 (en) Method and system for categorizing instant messages
US9798877B2 (en) Security risk-based resource allocation
CN109472312B (zh) 应用程序评估方法、装置、计算机设备及存储介质
CN113449986A (zh) 一种业务分配方法、装置、服务器及存储介质
US20250238070A1 (en) Managing power consumption in data processing systems
CN111901490A (zh) 资源共享方法、装置、计算机装置及存储介质
WO2020108128A1 (zh) 资产分配方法及装置、电子设备
CN110365783B (zh) 文件部署方法及装置、网络节点及存储介质
CN110914854B (zh) 联合传输承诺模拟
US12360810B2 (en) System and method for distributed management of configurable hardware to satisfy user intent
CN114567601B (zh) 一种流量的限制方法及系统
US12307300B2 (en) System and method for metadata-informed container deployment
US11620700B2 (en) Method and system for providing transparency in loan request bidding
HK1249212A1 (zh) 资源分配方法及装置和电子设备
CN108696587A (zh) 网络业务实现方法、服务器及存储介质
CN108667841A (zh) 网络业务实现方法、服务器及存储介质
CN111448575A (zh) 用于评估模型性能的系统和方法
US20250038996A1 (en) Verifying authority in distributed systems

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18853719

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18853719

Country of ref document: EP

Kind code of ref document: A1