CN111144786B - Resource allocation method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN111144786B
CN111144786B CN201911414999.3A CN201911414999A CN111144786B CN 111144786 B CN111144786 B CN 111144786B CN 201911414999 A CN201911414999 A CN 201911414999A CN 111144786 B CN111144786 B CN 111144786B
Authority
CN
China
Prior art keywords
resource
order
score corresponding
determining
completed
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
CN201911414999.3A
Other languages
Chinese (zh)
Other versions
CN111144786A (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 Mininglamp Software System Co ltd
Original Assignee
Beijing Mininglamp Software System 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 Mininglamp Software System Co ltd filed Critical Beijing Mininglamp Software System Co ltd
Priority to CN201911414999.3A priority Critical patent/CN111144786B/en
Publication of CN111144786A publication Critical patent/CN111144786A/en
Application granted granted Critical
Publication of CN111144786B publication Critical patent/CN111144786B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06312Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Accounting & Taxation (AREA)
  • Educational Administration (AREA)
  • Technology Law (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a resource allocation method, a resource allocation device, an electronic device and a storage medium, wherein the resource allocation method comprises the following steps: receiving a resource request sent by a target client; the resource request carries a first resource and characteristic information of the first resource; based on the characteristic information of the first resource, at least one first completed order related to the first resource is searched; wherein the first completed order comprises the second resource and an order score corresponding to the second resource; determining a first order score corresponding to the first resource according to the order score corresponding to the second resource in each first finished order and a first resource score corresponding to the first resource; according to the first order score corresponding to the first resource, a first target resource corresponding to the first resource is determined, and the first target resource is distributed to the target client. The method and the device enrich the basis of resource allocation, improve the accuracy of resource allocation and improve the efficiency of resource allocation.

Description

Resource allocation method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of resource allocation technologies, and in particular, to a resource allocation method, an apparatus, an electronic device, and a storage medium.
Background
At present, when a user has a need for some specific resources, the user replaces the specific resources with other existing resources, and accordingly, in the process of replacing the specific resources with other existing resources, the user needs to be allocated with the matched specific resources according to the resource characteristics of the other existing resources. The allocation is considered at the present stage as follows: and the staff evaluates the existing resources according to the resource characteristics of the existing resources of the user according to the resource request of the user, further determines the specific resources matched with the existing resources and allocates the specific resources to the user.
However, the resource allocation method has low resource allocation efficiency, single resource allocation basis and low resource allocation accuracy.
Disclosure of Invention
In view of this, an object of the embodiments of the present application is to provide a resource allocation method, a device, an electronic device, and a storage medium, which enrich the basis of resource allocation, improve the accuracy of resource allocation, and improve the efficiency of resource allocation.
In a first aspect, an embodiment of the present application provides a resource allocation method, where the method includes:
receiving a resource request sent by a target client; the resource request carries a first resource and characteristic information of the first resource;
based on the characteristic information of the first resource, at least one first completed order related to the first resource is searched; wherein the first completed order comprises a second resource and an order score corresponding to the second resource;
determining a first order score corresponding to the first resource according to the order score corresponding to the second resource in each first completed order and a first resource score corresponding to the first resource;
and determining a first target resource corresponding to the first resource according to the first order score corresponding to the first resource, and distributing the first target resource to the target client.
In one possible embodiment, after allocating the first target resource to the target client, the method further comprises:
searching at least one second completed order related to the first resource within a latest preset time period based on the characteristic information of the first resource; wherein the second completed order comprises a third resource and an order score corresponding to the third resource;
determining a second order score corresponding to the first resource according to the order score corresponding to the third resource in each second completed order;
determining notification information corresponding to the first resource according to a first order score corresponding to the first resource and a second order score corresponding to the first resource;
and sending the notification information corresponding to the first resource to the target client.
In a possible implementation manner, the determining, according to the first order score corresponding to the first resource and the second order score corresponding to the first resource, the notification information corresponding to the first resource includes:
determining a difference value between a second order score corresponding to the first resource and a first order score corresponding to the first resource;
and determining notification information corresponding to the first resource according to the ratio of the difference value to the first order score corresponding to the first resource.
In a possible implementation manner, the determining, according to the order score corresponding to the second resource and the first resource score corresponding to the first resource in each of the first completed orders, a first order score corresponding to the first resource includes:
determining a first product of a first resource score corresponding to the first resource and a first weight value corresponding to the first resource;
determining a second product of an average of order scores corresponding to the second resource in the at least one first completed order and a second weight value corresponding to the first completed order;
and determining a first order score corresponding to the first resource according to the first product and the second product.
In a possible implementation manner, the determining, according to the order score corresponding to the third resource in each of the second completed orders, a second order score corresponding to the first resource includes:
determining an average value of the order scores corresponding to the third resource in the at least one second completed order as a second order score corresponding to the first resource.
In a possible implementation, the resource request carries at least one first resource; the method further comprises the following steps:
and determining a second target resource corresponding to the at least one first resource according to the first order score corresponding to each first resource, and distributing the second target resource to the target client.
In a possible implementation, after receiving the resource request sent by the target client, the method further includes:
generating an order identification corresponding to the resource request;
after the allocating the first target resource to the target client, the method further comprises:
and generating order information corresponding to the order identifier according to the target client, the first resource, the characteristic information of the first resource, a first resource score corresponding to the first resource, a first order score corresponding to the first resource and the first target resource, so as to obtain a completed order.
In a second aspect, an embodiment of the present application provides a resource allocation apparatus, where the apparatus includes:
the receiving module is used for receiving a resource request sent by a target client; the resource request carries a first resource and characteristic information of the first resource;
a first search module for searching for at least one first completed order related to the first resource based on the characteristic information of the first resource; wherein the first completed order comprises a second resource and an order score corresponding to the second resource;
a first determining module, configured to determine, according to an order score corresponding to the second resource and a first resource score corresponding to the first resource in each of the first completed orders, a first order score corresponding to the first resource;
the second determining module is used for determining a first target resource corresponding to the first resource according to the first order score corresponding to the first resource;
a first allocation module to allocate the first target resource to the target client.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, the processor and the memory communicate via the bus when the electronic device is running, and the processor executes the machine-readable instructions to perform the steps of the resource allocation method according to any one of the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the resource allocation method according to any one of the first aspect.
According to the resource allocation method, the resource allocation device, the electronic equipment and the storage medium, the second resource related to the first resource is determined according to the characteristic information of the first resource, and the first target resource corresponding to the first resource is determined according to the order score corresponding to the second resource and the first resource score corresponding to the first resource.
Further, according to the resource allocation method, the resource allocation device, the electronic device, and the storage medium provided in the embodiments of the present application, after allocating a first target resource to a target client according to a first resource, a second order score corresponding to the first resource is determined according to an order score corresponding to a third resource related to the first resource within a preset time period, and notification information related to the first target resource is determined according to the first order score and the second order score corresponding to the first resource, respectively, so as to further improve accuracy of resource allocation.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a flowchart illustrating a resource allocation method according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a method for sending notification information in a resource allocation method provided in an embodiment of the present application;
fig. 3 is a flowchart illustrating a method for determining notification information in a resource allocation method provided in an embodiment of the present application;
FIG. 4 is a flow chart illustrating a method for determining a first order score in a resource allocation method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram illustrating a resource allocation apparatus according to an embodiment of the present application;
fig. 6 shows a schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
At the present stage, when a user has a demand for some specific resources, the user exchanges the specific resources with other existing resources, and correspondingly, in the process of exchanging the specific resources with other existing resources, a worker evaluates the existing resources according to the resource characteristics of the existing resources of the user according to the resource request of the user, so as to determine the specific resources matched with the existing resources, and allocate the specific resources to the user.
However, the resource allocation method has low resource allocation efficiency, single resource allocation basis and low resource allocation accuracy.
Based on the above problems, embodiments of the present application provide a resource allocation method, an apparatus, an electronic device, and a storage medium, where a second resource related to a first resource is determined according to feature information of the first resource, and a first target resource corresponding to the first resource is determined according to an order score corresponding to the second resource and a first resource score corresponding to the first resource.
The above-mentioned drawbacks are the results of the inventor after practical and careful study, and therefore, the discovery process of the above-mentioned problems and the solution proposed by the present application to the above-mentioned problems in the following should be the contribution of the inventor to the present application in the process of the present application.
The technical solutions in the present application will be described clearly and completely with reference to the drawings in the present application, and it should be understood that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the present application, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
To facilitate understanding of the present embodiment, a detailed description is first given of a resource allocation method disclosed in the embodiments of the present application.
Referring to fig. 1, a flowchart of a resource allocation method provided in an embodiment of the present application is shown, where the resource allocation method includes the following steps:
s101, receiving a resource request sent by a target client; the resource request carries a first resource and characteristic information of the first resource.
In this step, a user sends a resource request to a server based on a target client, a communication connection is established between the target client and the server, the first resource and the characteristic information of the first resource carried in the resource request are used to obtain a resource matched with the first resource, and the resource matched with the first resource is referred to as a first target resource.
Here, before receiving the resource request sent by the target client, the request authority of the user may be checked, and after the request authority passes the check, the resource request may be received.
Specifically, the first resource may be a house property, and the corresponding characteristic information may be one or more of the following characteristics: the characteristics of the house property exchange value such as geographical position, section, floor, house age, orientation, building area, practical area, supporting facilities, decoration condition, use condition and the like can be evaluated; the first resource may also be a resource that has some exchange value for automobiles, antiques, jewelry, products, and the like.
S102, searching at least one first completed order related to the first resource based on the characteristic information of the first resource; wherein the first completed order comprises a second resource and an order score corresponding to the second resource.
In this step, a plurality of completed orders are locally pre-stored, and each completed order includes: matching the characteristic information of the first resource with the characteristic information of the second resource included in each completed order, and determining the completed order with the characteristic information of the second resource matched with the characteristic information of the first resource as the first completed order.
As a possible implementation manner, a completed order in which the characteristic information of the second resource is identical to the characteristic information of the first resource is determined as the first completed order, for example, the characteristic information of the first resource includes: north-south and sunny areas; the characteristic information of the second resource in the completed order includes: east-west, sea-lake regions; the characteristic information of the second resource in the completed order two comprises: north-south and sunny areas; a completed order two is determined to be the first completed order.
As another possible implementation manner, based on a feature similarity model trained in advance, a similarity between feature information of a first resource and feature information of a second resource in a completed order is determined, and a completed order with the similarity greater than a preset threshold is determined as the first completed order.
Here, the resource category corresponding to the first resource is the same as the resource category corresponding to the second resource, for example, the first resource is a property and the second resource is also a property.
It should be noted that the order score corresponding to the second resource is related to the characteristic information of the second resource, and according to the order score corresponding to the second resource, the allocated resource corresponding to the second resource may be determined, for example, if the order score corresponding to the second resource is 25, 10 units of resource may be allocated to the second resource; if the order score corresponding to the second resource is 5, 2 units of resources may be allocated to the second resource.
S103, determining a first order score corresponding to the first resource according to the order score corresponding to the second resource and a first resource score corresponding to the first resource in each first finished order.
In the step, a first resource score corresponding to a first resource is determined according to the characteristic information of the first resource; and determining a first order score corresponding to the first resource according to the order score corresponding to the second resource related to the first resource and the first resource score of the first resource.
As a possible implementation manner, scores of multiple kinds of feature information are locally prestored, a score corresponding to each feature information of the first resource is searched, and a first resource score of the first resource is determined according to the score corresponding to each feature information of the first resource, for example, the feature information of the first resource includes: in the south-north and sunny areas, the score of the north-south area is 20 and the score of the sunny area is 30, the average value 25 of the scores of the north-south area and the sunny area is determined as the first resource score of the first resource, and here, the maximum value, the minimum value, the weighted average value and the like of the scores of each feature information of the first resource can also be determined as the first resource score of the first resource.
As another possible implementation manner, a pre-trained scoring model is locally pre-stored, and the feature information of the first resource is input into the scoring model to obtain a first resource score of the first resource.
S104, determining a first target resource corresponding to the first resource according to the first order score corresponding to the first resource, and distributing the first target resource to the target client.
As a possible implementation manner, the first order score is positively correlated with the first target resource, and a product of the first order score and the resource of the preset quota is determined as the first target resource, for example, if the resource of the preset quota is a resource of 2 units, and the first order score is 8, the first target resource corresponding to the first resource is a resource of 16 units.
As another possible implementation manner, according to a score interval in which the first order score is located, allocating a first target resource to the first resource, where different score intervals correspond to first target resources with different quota, for example, the first order score is greater than or equal to 0 and less than 10, and the corresponding first target resource is a resource of 8 units; the first order score is greater than or equal to 10 and less than 20, and the corresponding first target resource is a resource of 16 units; the first order score is 8, and the first target resource corresponding to the first resource is a resource of 16 units.
According to the resource allocation method provided by the embodiment of the application, the second resource related to the first resource is determined according to the characteristic information of the first resource, and the first target resource corresponding to the first resource is determined according to the order score corresponding to the second resource and the first resource score corresponding to the first resource.
Further, as shown in fig. 2, in the resource allocation method provided in the embodiment of the present application, after allocating the first target resource to the target client, the method further includes:
s201, based on the characteristic information of the first resource, at least one second completed order related to the first resource in a latest preset time period is searched; wherein the second completed order comprises a third resource and an order score corresponding to the third resource.
In this step, a plurality of completed orders are locally pre-stored, and each completed order includes: the third resource, the order score corresponding to the third resource and the feature information of the third resource, each completed order corresponds to order completion time, completed orders (candidate second completed orders) with order completion time within a preset time period are searched locally, and the candidate second completed orders with the feature information of the third resource matched with the feature information of the first resource are determined as second completed orders.
Here, the method for determining the second completed order refers to the method for determining the first completed order in step 102, and the repeated description is omitted.
The order completion time is a time for determining an allocated resource corresponding to a third resource in the second completed order, a time for determining a first resource score corresponding to the first resource is referred to as a first time, a time for determining a first target resource corresponding to the first resource is referred to as a second time, one time end point of the preset time period is a current time, the other time end point is the first time or the second time, the first time is earlier than the current time, and the second time is earlier than the current time.
Alternatively, at least one second completed order related to the first resource within the last preset time period may be periodically searched, for example, every 6 months, starting from the second time (12/15/2017), the second completed order related to the first resource is searched, that is, at 15/6/2018, the second completed order with the order completion time between 15/12/2017 and 15/2018, and at 15/12/2018, the second completed order with the order completion time between 15/6/2018 and 15/2018, is searched.
S202, determining a second order score corresponding to the first resource according to the order score corresponding to the third resource in each second completed order.
In this step, a new order score, that is, a second order score, corresponding to the first resource is determined according to the order score corresponding to each third resource, where the second order score may be the same as the first order score corresponding to the first resource or different from the first order score corresponding to the first resource.
S203, determining notification information corresponding to the first resource according to the first order score corresponding to the first resource and the second order score corresponding to the first resource.
In the step, a target score corresponding to the first resource is determined according to a first order score and a second order score corresponding to the first resource, and notification information corresponding to the first resource is determined according to the target score.
As a possible implementation manner, if the target score is smaller than a preset threshold, the notification information corresponding to the first resource is notification information one; and if the target score is greater than or equal to a preset threshold value, the notification information corresponding to the first resource is notification information two.
As another possible implementation manner, multiple types of notification information are preset locally, each notification information corresponds to a range of one target score, and different notification information corresponds to different ranges of the target scores, for example, a target score smaller than 0 corresponds to a notification information one; the target score is greater than or equal to 0 and less than 0.3, and corresponds to the second notification information; the target score is greater than or equal to 0.3 and less than 1, and corresponds to the third notification information; and if the target score is 0.6, the first resource corresponds to the third notification message.
And S204, sending the notification information corresponding to the first resource to the target client.
In the embodiment of the application, after a first target resource is allocated to a target client according to a first resource, a second order score corresponding to the first resource is determined according to an order score corresponding to a third resource related to the first resource within a preset time period, and notification information related to the first target resource is determined according to the first order score and the second order score corresponding to the first resource, so that the accuracy of resource allocation is further improved.
Further, as shown in fig. 3, in the resource allocation method provided in the embodiment of the present application, the determining notification information corresponding to the first resource according to the first order score corresponding to the first resource and the second order score corresponding to the first resource includes:
s301, determining a difference value between a second order score corresponding to the first resource and a first order score corresponding to the first resource.
S302, determining notification information corresponding to the first resource according to the ratio of the difference value to the first order score corresponding to the first resource.
Step 301 and step 302 are combined, a difference between a second order score corresponding to the first resource and the first order score is determined, a ratio of the difference to the first order score is determined as the target score, and a method for determining notification information corresponding to the first resource according to the target score is referred to in step 203, and repeated details are omitted.
Further, as shown in fig. 4, in the resource allocation method provided in the embodiment of the present application, the determining a first order score corresponding to the first resource according to the order score corresponding to the second resource in each first completed order and the first resource score corresponding to the first resource includes:
s401, determining a first product of a first resource score corresponding to the first resource and a first weight value corresponding to the first resource.
S402, determining a second product of the average value of the order score corresponding to the second resource in the at least one first finished order and a second weight value corresponding to the first finished order.
S403, determining a first order score corresponding to the first resource according to the first product and the second product.
For example, the first weight value corresponding to the first resource is 0.7, the second weight value corresponding to the first completed order is 0.3, the first resource score corresponding to the first resource is 30, the second resource related to the first resource includes a first resource, a second resource, and the order scores corresponding to the first resource, the second resource, and the second resource are respectively: 25. 28, 20, the first order score corresponding to the first resource is (25 +28+ 20)/3 × 0.3+30 × 0.7= 28.3.
Further, in the resource allocation method provided in the embodiment of the present application, the determining, according to the order score corresponding to the third resource in each second completed order, a second order score corresponding to the first resource includes:
determining an average value of the order scores corresponding to the third resource in the at least one second completed order as a second order score corresponding to the first resource.
For example, the third resource related to the first resource includes a first resource, a second resource, and a third resource, and the order scores corresponding to the first resource, the second resource, and the third resource are respectively: 15. 18 and 12, the second order score corresponding to the first resource is (15 +18+ 12)/3 = 15.
Further, in the resource allocation method provided in the embodiment of the present application, the resource request carries at least one first resource; the method further comprises the following steps:
and determining a second target resource corresponding to the at least one first resource according to the first order score corresponding to each first resource, and distributing the second target resource to the target client.
In this step, the resource request sent by the target client carries a plurality of first resources and characteristic information of each first resource, and for each first resource and the characteristic information of the first resource, the processing of the above steps 101 to 103 may determine a first order score of the first resource, and according to the first order score of each first resource, a third order score corresponding to the plurality of first resources may be determined, and a second target resource may be allocated to the target client according to the third order score.
For example, the resource request carries a first resource i, a first resource ii, and a first resource iii, where the first order scores corresponding to the first resource i, the first resource ii, and the first resource iii are 20, 30, and 29, respectively, an average value 27 of the 20, 30, and 31 is determined as a third order score, and a method for allocating a second target resource to the target client according to the third order score is described in step 104, which is not repeated here, and a maximum value, a minimum value, a weighted average value, and the like of the first order scores corresponding to the first resource i, the first resource ii, and the first resource iii may also be determined as a third order score corresponding to the first resource.
Further, in the resource allocation method provided in the embodiment of the present application, after receiving the resource request sent by the target client, the method further includes:
generating an order identification corresponding to the resource request;
after the allocating the first target resource to the target client, the method further comprises:
and generating order information corresponding to the order identifier according to the target client, the first resource, the characteristic information of the first resource, a first resource score corresponding to the first resource, a first order score corresponding to the first resource and the first target resource, so as to obtain a completed order.
Here, the time of the first target resource corresponding to the first resource is determined, the order completion time of the completed order is determined, and the completed order is stored locally.
It should be noted that, if the resource request carries at least one first resource and the characteristic information of each first resource, after the second target resource is allocated to the target client, the method further includes: and generating order information corresponding to the order identifier according to the target client, the at least one first resource, the characteristic information of each first resource, a first resource score corresponding to each first resource, a first order score corresponding to each first resource, a third order score corresponding to the at least one first resource and the second target resource, so as to obtain a finished order.
Here, the time of the second target resource corresponding to at least one first resource is determined, the order completion time of the completed order is determined, and the completed order is stored locally.
Based on the same inventive concept, a resource allocation apparatus corresponding to the resource allocation method is also provided in the embodiments of the present application, and since the principle of the apparatus in the embodiments of the present application for solving the problem is similar to the resource allocation method described above in the embodiments of the present application, the implementation of the apparatus may refer to the implementation of the method, and repeated details are not described again.
Referring to fig. 5, which is a schematic diagram of a resource allocation apparatus 500 according to an embodiment of the present application, the resource allocation apparatus includes:
a receiving module 501, configured to receive a resource request sent by a target client; the resource request carries a first resource and characteristic information of the first resource;
a first searching module 502, configured to search for at least one first completed order related to the first resource based on the characteristic information of the first resource; wherein the first completed order comprises a second resource and an order score corresponding to the second resource;
a first determining module 503, configured to determine, according to the order score corresponding to the second resource in each first completed order and the first resource score corresponding to the first resource, a first order score corresponding to the first resource;
a second determining module 504, configured to determine, according to a first order score corresponding to the first resource, a first target resource corresponding to the first resource;
a first allocating module 505, configured to allocate the first target resource to the target client.
In a possible implementation manner, the resource allocation apparatus 500 further includes:
the second searching module is used for searching at least one second finished order related to the first resource in the latest preset time period based on the characteristic information of the first resource; wherein the second completed order comprises a third resource and an order score corresponding to the third resource;
a third determining module, configured to determine, according to the order score corresponding to the third resource in each second completed order, a second order score corresponding to the first resource;
a fourth determining module, configured to determine notification information corresponding to the first resource according to the first order score corresponding to the first resource and the second order score corresponding to the first resource;
and the sending module is used for sending the notification information corresponding to the first resource to the target client.
In a possible implementation manner, the fourth determining module, when configured to determine the notification information corresponding to the first resource according to the first order score corresponding to the first resource and the second order score corresponding to the first resource, is specifically configured to:
determining a difference value between a second order score corresponding to the first resource and a first order score corresponding to the first resource;
and determining notification information corresponding to the first resource according to the ratio of the difference value to the first order score corresponding to the first resource.
In a possible implementation manner, the first determining module 503, when configured to determine, according to the order score corresponding to the second resource and the first resource score corresponding to the first resource in each first completed order, the first order score corresponding to the first resource, is specifically configured to:
determining a first product of a first resource score corresponding to the first resource and a first weight value corresponding to the first resource;
determining a second product of an average of order scores corresponding to the second resource in the at least one first completed order and a second weight value corresponding to the first completed order;
and determining a first order score corresponding to the first resource according to the first product and the second product.
In a possible implementation manner, the third determining module, when configured to determine, according to the order score corresponding to the third resource in each second completed order, a second order score corresponding to the first resource, is specifically configured to:
determining an average value of the order scores corresponding to the third resource in the at least one second completed order as a second order score corresponding to the first resource.
In a possible implementation, the resource request carries at least one first resource; the resource allocation apparatus 500 further includes:
a fifth determining module, configured to determine, according to the first order score corresponding to each first resource, a second target resource corresponding to the at least one first resource;
a second allocating module, configured to allocate the second target resource to the target client.
In a possible implementation manner, the resource allocation apparatus 500 further includes:
the first generation module is used for generating an order identification corresponding to the resource request after receiving the resource request sent by the target client;
a second generating module, configured to generate, after the first target resource is allocated to the target client, order information corresponding to the order identifier according to the target client, the first resource, feature information of the first resource, a first resource score corresponding to the first resource, a first order score corresponding to the first resource, and the first target resource, so as to obtain a completed order.
As shown in fig. 6, an electronic device 600 provided for the embodiment of the present application includes: a processor 601, a memory 602 and a bus, wherein the memory 602 stores machine-readable instructions executable by the processor 601, when the electronic device runs, the processor 601 and the memory 602 communicate with each other through the bus, and the processor 601 executes the machine-readable instructions to execute the steps of the resource allocation method.
Specifically, the memory 602 and the processor 601 can be general memories and processors, which are not limited in particular, and the resource allocation method can be executed when the processor 601 runs a computer program stored in the memory 602.
Corresponding to the resource allocation method, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to perform the steps of the resource allocation method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and there may be other divisions in actual implementation, and for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or modules through some communication interfaces, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. A method for resource allocation, the method comprising:
receiving a resource request sent by a target client; the resource request carries a first resource and characteristic information of the first resource;
based on the characteristic information of the first resource, at least one first completed order related to the first resource is searched; wherein the first completed order comprises a second resource and an order score corresponding to the second resource; determining a completed order in which the characteristic information of the second resource is matched with the characteristic information of the first resource as a first completed order; the order score corresponding to the second resource is related to the characteristic information of the second resource;
determining a first order score corresponding to the first resource according to the order score corresponding to the second resource in each first completed order and a first resource score corresponding to the first resource; scores of various characteristic information are stored locally in advance, and a first resource score of a first resource is determined according to the score corresponding to each characteristic information of the first resource;
determining a first target resource corresponding to the first resource according to a first order score corresponding to the first resource, and allocating the first target resource to the target client;
after allocating the first target resource to the target client, the method further comprises:
searching at least one second completed order related to the first resource within a latest preset time period based on the characteristic information of the first resource; wherein the second completed order comprises a third resource and an order score corresponding to the third resource;
determining a second order score corresponding to the first resource according to the order score corresponding to the third resource in each second completed order;
determining notification information corresponding to the first resource according to a first order score corresponding to the first resource and a second order score corresponding to the first resource;
and sending the notification information corresponding to the first resource to the target client.
2. The method according to claim 1, wherein the determining notification information corresponding to the first resource according to the first order score corresponding to the first resource and the second order score corresponding to the first resource comprises:
determining a difference value between a second order score corresponding to the first resource and a first order score corresponding to the first resource;
and determining notification information corresponding to the first resource according to the ratio of the difference value to the first order score corresponding to the first resource.
3. The method according to claim 1, wherein the determining the first order score corresponding to the first resource according to the order score corresponding to the second resource and the first resource score corresponding to the first resource in each of the first completed orders comprises:
determining a first product of a first resource score corresponding to the first resource and a first weight value corresponding to the first resource;
determining a second product of an average of order scores corresponding to the second resource in the at least one first completed order and a second weight value corresponding to the first completed order;
and determining a first order score corresponding to the first resource according to the first product and the second product.
4. The method according to claim 1, wherein said determining a second order score for the first resource according to the order score for the third resource in each of the second completed orders comprises:
determining an average value of the order scores corresponding to the third resource in the at least one second completed order as a second order score corresponding to the first resource.
5. The method according to claim 1, wherein the resource request carries at least one first resource; the method further comprises the following steps:
and determining a second target resource corresponding to the at least one first resource according to the first order score corresponding to each first resource, and distributing the second target resource to the target client.
6. The method of claim 1, wherein after receiving the resource request sent by the target client, the method further comprises:
generating an order identification corresponding to the resource request;
after the allocating the first target resource to the target client, the method further comprises:
and generating order information corresponding to the order identifier according to the target client, the first resource, the characteristic information of the first resource, a first resource score corresponding to the first resource, a first order score corresponding to the first resource and the first target resource, so as to obtain a completed order.
7. An apparatus for resource allocation, the apparatus comprising:
the receiving module is used for receiving a resource request sent by a target client; the resource request carries a first resource and characteristic information of the first resource;
a first search module for searching for at least one first completed order related to the first resource based on the characteristic information of the first resource; wherein the first completed order comprises a second resource and an order score corresponding to the second resource; determining a completed order in which the characteristic information of the second resource is matched with the characteristic information of the first resource as a first completed order; the order score corresponding to the second resource is related to the characteristic information of the second resource;
a first determining module, configured to determine, according to an order score corresponding to the second resource and a first resource score corresponding to the first resource in each of the first completed orders, a first order score corresponding to the first resource; scores of various characteristic information are stored locally in advance, and a first resource score of a first resource is determined according to the score corresponding to each characteristic information of the first resource;
the second determining module is used for determining a first target resource corresponding to the first resource according to the first order score corresponding to the first resource;
a first allocation module to allocate the first target resource to the target client;
the resource allocation apparatus further includes:
the second searching module is used for searching at least one second completed order related to the first resource in a latest preset time period based on the characteristic information of the first resource; wherein the second completed order comprises a third resource and an order score corresponding to the third resource;
a third determining module, configured to determine, according to the order score corresponding to the third resource in each second completed order, a second order score corresponding to the first resource;
a fourth determining module, configured to determine notification information corresponding to the first resource according to the first order score corresponding to the first resource and the second order score corresponding to the first resource;
and the sending module is used for sending the notification information corresponding to the first resource to the target client.
8. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the resource allocation method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, performs the steps of the resource allocation method according to any one of the claims 1 to 6.
CN201911414999.3A 2019-12-31 2019-12-31 Resource allocation method and device, electronic equipment and storage medium Active CN111144786B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911414999.3A CN111144786B (en) 2019-12-31 2019-12-31 Resource allocation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911414999.3A CN111144786B (en) 2019-12-31 2019-12-31 Resource allocation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111144786A CN111144786A (en) 2020-05-12
CN111144786B true CN111144786B (en) 2022-08-12

Family

ID=70522708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911414999.3A Active CN111144786B (en) 2019-12-31 2019-12-31 Resource allocation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111144786B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113044462B (en) * 2021-04-23 2022-03-22 深圳市库宝软件有限公司 Robot scheduling method, device, system, storage medium and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106485478A (en) * 2015-08-26 2017-03-08 腾讯科技(深圳)有限公司 Using the hyperphoric system of the hyperphoric object of resource, method and device
CN108229802A (en) * 2017-12-22 2018-06-29 东峡大通(北京)管理咨询有限公司 Vehicle launches the dispatching method and client in region
CN108256991A (en) * 2017-12-18 2018-07-06 四川省大益科技有限公司 A kind of banking management system applied to construction project
CN109508901A (en) * 2018-12-13 2019-03-22 平安普惠企业管理有限公司 Allocating method, device and the computer equipment for examination & approval task of providing a loan
CN110084476A (en) * 2019-03-25 2019-08-02 平安科技(深圳)有限公司 Case method of adjustment, device, computer equipment and storage medium
CN110569129A (en) * 2019-09-12 2019-12-13 北京明略软件系统有限公司 Resource allocation method and device, storage medium and electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA3031118C (en) * 2018-03-29 2023-04-25 The Toronto-Dominion Bank Systems and methods for allocating shared resources

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106485478A (en) * 2015-08-26 2017-03-08 腾讯科技(深圳)有限公司 Using the hyperphoric system of the hyperphoric object of resource, method and device
CN108256991A (en) * 2017-12-18 2018-07-06 四川省大益科技有限公司 A kind of banking management system applied to construction project
CN108229802A (en) * 2017-12-22 2018-06-29 东峡大通(北京)管理咨询有限公司 Vehicle launches the dispatching method and client in region
CN109508901A (en) * 2018-12-13 2019-03-22 平安普惠企业管理有限公司 Allocating method, device and the computer equipment for examination & approval task of providing a loan
CN110084476A (en) * 2019-03-25 2019-08-02 平安科技(深圳)有限公司 Case method of adjustment, device, computer equipment and storage medium
CN110569129A (en) * 2019-09-12 2019-12-13 北京明略软件系统有限公司 Resource allocation method and device, storage medium and electronic device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于市场经济的多目标网格资源分配方法;胡志刚等;《计算机工程》;20060605(第18期);全文 *
多源数据信用评级普适模型栈框架的构建与应用;黄志刚 等;《数量经济技术经济研究》;20190430;第36卷(第4期);全文 *

Also Published As

Publication number Publication date
CN111144786A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
CN109949046B (en) Identification method and device for risk group partner
US11068964B2 (en) Method and device for processing service request
CN106453146B (en) Method, system, device and readable storage medium for allocating private cloud computing resources
CN107404541B (en) Method and system for selecting neighbor node in peer-to-peer network transmission
CN111522641A (en) Task scheduling method and device, computer equipment and storage medium
CN105719221B (en) Path collaborative planning method and device for multiple tasks
CN103929350A (en) Information pushing method, device and system
US10268655B2 (en) Method, device, server and storage medium of searching a group based on social network
CN109544015B (en) Task allocation method based on data processing and related equipment
CN110457271B (en) Tile map updating method and system
CN111639253B (en) Data weight judging method, device, equipment and storage medium
CN110322295B (en) Relationship strength determination method and system, server and computer readable medium
CN106339802A (en) Task allocation method, task allocation device and electronic equipment
CN111144786B (en) Resource allocation method and device, electronic equipment and storage medium
CN111460237A (en) Data query method and device, readable storage medium and electronic equipment
CN111400301B (en) Data query method, device and equipment
CN114463499A (en) Building three-dimensional modeling method and device
CN112182107B (en) List data acquisition method, device, computer equipment and storage medium
CN115174582B (en) Data scheduling method and related device
CN110796500A (en) Information monitoring method and device, electronic equipment and storage medium
CN116303418A (en) Mass rule processing method, system and storage medium based on Internet of things platform
CN116661982A (en) Computing resource processing method, device, equipment, storage medium and program product
CN111556138A (en) Data distribution method and device, electronic equipment and storage medium
CN111159545A (en) Recommended house source determining method and device and house source recommending method and device
CN111556149B (en) Node selection method and device based on Raft consensus algorithm

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