CN111181770B - Resource allocation method, system, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN111181770B
CN111181770B CN201911271457.5A CN201911271457A CN111181770B CN 111181770 B CN111181770 B CN 111181770B CN 201911271457 A CN201911271457 A CN 201911271457A CN 111181770 B CN111181770 B CN 111181770B
Authority
CN
China
Prior art keywords
resource
allocation
resource allocation
matching
resources
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911271457.5A
Other languages
Chinese (zh)
Other versions
CN111181770A (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 Qiyu Information Technology Co Ltd
Original Assignee
Beijing Qiyu Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qiyu Information Technology Co Ltd filed Critical Beijing Qiyu Information Technology Co Ltd
Priority to CN201911271457.5A priority Critical patent/CN111181770B/en
Publication of CN111181770A publication Critical patent/CN111181770A/en
Application granted granted Critical
Publication of CN111181770B publication Critical patent/CN111181770B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/044Network management architectures or arrangements comprising hierarchical management structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • 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/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a resource allocation method, a resource allocation system, electronic equipment and a storage medium. The method comprises the following steps: receiving a resource request of a resource requiring party; determining resource characteristics matched with the resource request according to the attribute of the resource request; querying a resource providing library according to the resource characteristics to determine resource providers matched with the resource characteristics, wherein the resource providing library records the matching characteristics which can be provided by each resource provider; and distributing the resources to the resource demander according to a preset resource distribution strategy. The resource allocation method improves the resource allocation efficiency and effect, and realizes the effective scheduling and management of resources.

Description

Resource allocation method, system, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a resource allocation method, a system, an electronic device, and a storage medium.
Background
With the continuous development of information technology, various internet information resources are also continuously appeared. In fact, for the purposes of developing users, activating users or cultivating users, many enterprises, including internet enterprises, can actively allocate certain resources to users as rewards, or by setting certain behavior rules, when the behaviors of the users accord with the behavior rules, certain resources are allocated to the users as rewards, so that certain incentive effects can be played for the users.
However, the above situation may occur when some users acquire resources by illegal or non-compliant means, such as by spurious transactions. How to identify and manage such abnormal resource acquisition behaviors, reduce risks such as false transactions in resource allocation, and improve resource allocation efficiency and effect is a great challenge. If the management and control are too strict, the user is relatively difficult to acquire the resources, and the purposes of rewarding and/or exciting are difficult to achieve; if too loose to be controlled, a significant amount of resources may be lost to the enterprise, again unfavorably rewarding and/or incentives.
The prior resource allocation method receives the feature vector of a trigger event after the triggering of the resource allocation condition, and/or receives one or more resource allocation decision feedback results before the trigger event; and determining a resource allocation decision corresponding to the trigger event according to the received feature vector and/or the received resource allocation decision feedback result. While the above-described method improves the distribution efficiency, there is still much room for improvement.
To sum up, in order to reduce transaction risk and improve resource allocation efficiency and effect, it is required to provide a more efficient resource allocation method.
Disclosure of Invention
In order to solve the above problems, the present invention provides a resource allocation method, including: receiving a resource request of a resource requiring party; determining resource characteristics matched with the resource request according to the attribute of the resource request; querying a resource providing library according to the resource characteristics to determine resource providers matched with the resource characteristics, wherein the resource providing library records the matching characteristics which can be provided by each resource provider; and distributing the resources to the resource demander according to a preset resource distribution strategy.
Preferably, allocating resources to the resource demander according to a predetermined resource allocation policy comprises: and establishing a resource allocation model, training the resource allocation model by using training data, inputting current resource characteristics, and calculating allocation rules to determine a corresponding allocation scheme.
Preferably, the training data includes historical user characteristics, resource characteristics, matching characteristics, the number of resource providers, information characteristics of the resource providers themselves, supply rates, supply resource amounts, and resource allocation feedback results.
Preferably, the resource allocation method further comprises: the allocation rule is determined based on the resource characteristics and/or the matching rate.
Preferably, in case of resource matching, adapted resources are provided to the resource demander according to the allocation rule.
Preferably, the method further comprises: and monitoring the matching degree of the allocated resources, triggering an alarm mechanism when the mismatch of the allocated resources is detected, releasing the corresponding relation between the corresponding matching characteristics of the resource providing library and the resource provider, and automatically allocating the preset adaptive resources.
Preferably, the resource allocation method further comprises: setting an alarm frequency threshold, and under the condition that the frequency of triggering an alarm mechanism is larger than the alarm frequency threshold, releasing the corresponding relation between the corresponding matching characteristics of the resource provider library and the resource provider.
Preferably, the matching features include at least one of version, data format.
In addition, the invention also provides a resource distribution system, which comprises: a receiving module for receiving a resource request of a resource demander; the determining module is used for determining the resource characteristics matched with the resource request according to the attribute of the resource request; the query module queries a resource providing library according to the resource characteristics to determine resource providers matched with the resource characteristics, and the resource providing library records the matching characteristics which can be provided by each resource provider; and the allocation module allocates the resources to the resource demander according to a preset resource allocation strategy.
Preferably, a resource allocation model is established, the training data is used for training the resource allocation model, current resource characteristics are input, and allocation rules are calculated to determine a corresponding allocation scheme.
Preferably, the training data includes historical user characteristics, resource characteristics, matching characteristics, the number of resource providers, information characteristics of the resource providers themselves, supply rates, supply resource amounts, and resource allocation feedback results.
Preferably, the resource allocation system further comprises: the allocation rule is determined based on the resource characteristics and/or the matching rate.
Preferably, in case of resource matching, adapted resources are provided to the resource demander according to the allocation rule.
Preferably, the resource allocation system further comprises a monitoring module, wherein the monitoring module is used for monitoring the matching degree of the allocated resources, triggering an alarm mechanism when the fact that the allocated resources are not matched is detected, releasing the corresponding relation between the corresponding matching features of the resource providing library and the resource provider, and automatically allocating the preset adaptive resources.
Preferably, the resource allocation system further comprises an early warning module, wherein the early warning module is used for setting an alarm frequency threshold, and under the condition that the frequency of triggering the alarm mechanism is greater than the alarm frequency threshold, the corresponding relation between the corresponding matching features of the resource providing library and the resource provider is relieved.
Preferably, the matching features include at least one of version, data format.
In addition, the invention also provides electronic equipment, wherein the electronic equipment comprises: a processor; and a memory storing computer executable instructions that, when executed, cause the processor to perform the resource allocation method of the present invention.
Furthermore, the present invention provides a computer readable storage medium storing one or more programs that when executed by a processor implement the resource allocation method of the present invention.
Advantageous effects
Compared with the prior art, the resource allocation method of the invention has wide application, and is particularly suitable for allocation of various resources. Specifically, the invention can guide the resource allocation to evolve to the optimal direction and can carry out continuous hierarchical control of the resource allocation through the introduction of the resource characteristics, the matching characteristics and/or the resource allocation rules. Therefore, the resource allocation method of the invention improves the resource allocation efficiency and effect, and realizes the effective scheduling and management of resources.
Drawings
In order to make the technical problems solved by the present invention, the technical means adopted and the technical effects achieved more clear, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted, however, that the drawings described below are merely illustrative of exemplary embodiments of the present invention and that other embodiments of the present invention may be derived from these drawings by those skilled in the art without undue effort.
Fig. 1 is a flowchart of an example of a resource allocation method of embodiment 1 of the present invention.
Fig. 2 is a schematic block diagram of an example of the resource allocation of the present invention.
Fig. 3 is a chart of an example of the resource allocation of the present invention.
Fig. 4 is a flowchart of another example of the resource allocation method of embodiment 1 of the present invention.
Fig. 5 is a block diagram showing the construction of an example of the resource allocation system of embodiment 2 of the present invention.
Fig. 6 is a block diagram of another example of the resource allocation system of embodiment 2 of the present invention.
Fig. 7 is a block diagram of a structure of still another example of the resource allocation system of embodiment 2 of the present invention.
Fig. 8 is a block diagram of an exemplary embodiment of an electronic device according to the present invention.
Fig. 9 is a block diagram of an exemplary embodiment of a computer readable medium according to the present invention.
Detailed Description
Exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments can be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art. The same reference numerals in the drawings denote the same or similar elements, components or portions, and thus a repetitive description thereof will be omitted.
The features, structures, characteristics or other details described in a particular embodiment do not exclude that may be combined in one or more other embodiments in a suitable manner, without departing from the technical idea of the invention.
In the description of specific embodiments, features, structures, characteristics, or other details described in the present invention are provided to enable one skilled in the art to fully understand the embodiments. However, it is not excluded that one skilled in the art may practice the present invention without one or more of the specific features, structures, characteristics, or other details.
The flow diagrams depicted in the figures are exemplary only, and do not necessarily include all of the elements and operations/steps, nor must they be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various devices, elements, components or portions, this should not be limited by these terms. These words are used to distinguish one from the other. For example, a first device may also be referred to as a second device without departing from the spirit of the invention.
The term "and/or" and/or "includes all combinations of any of the associated listed items and one or more.
Example 1
Next, the resource allocation method of the present invention will be described with reference to fig. 1 to 4.
Fig. 1 is a flowchart of an example of a resource allocation method of the present invention. As shown in fig. 1, a resource allocation method includes the following steps.
Step S101, a resource request of a resource demander is received.
Step S102, determining the resource characteristics matched with the resource request according to the attribute of the resource request;
step S103, inquiring a resource providing library according to the resource characteristics to determine resource providers matched with the resource characteristics, wherein the resource providing library records the matching characteristics which can be provided by each resource provider;
step S104, distributing the resources to the resource demander according to a preset resource distribution strategy.
In particular, in the process of network resource allocation, the resource provider and the resource demander are mainly involved, and in this embodiment, a resource allocation system is further included between the resource provider and the resource demander, where the resource allocation system is used to allocate the resource provided by the resource provider and the resource of the system to the resource demander.
Fig. 2 is a schematic block diagram of an example of the resource allocation of the present invention. As shown in fig. 2, a plurality of resource suppliers downstream upload versions and IP addresses of their applications to the resource allocation system, and the resource allocation system further includes resources (i.e., standby resources) of standby applications and the like, which are allocated to resource demanders by allocation rules to achieve control of resource allocation and efficient allocation of the adapted resources to the resource demanders in real time. The specific scheme is as follows.
In step S101, a resource request of a resource demander is received. For example, the resource demander and the resource provider may be one or more (see in particular fig. 2). It should be noted that, in the case where one or more resource requesters simultaneously make resource requests, resource allocation can be performed by corresponding allocation rules. When the resource allocation system receives the resource request, the step proceeds to S102.
Next, in step S102, a resource feature matching the resource request is determined according to the attribute of the resource request.
Specifically, in the present embodiment, the resource request is, for example, an HTTP request. The attributes of the resource request include the IP address, version number, message format, user account, etc. of the resource requester.
Further, based on the attributes of the resource request, a resource characteristic matching the resource request is determined, in other words, a resource characteristic of the resource required by the resource requester is determined.
In this embodiment, the resource characteristics include version, data format, and the like. In other embodiments, the resource types, resource sizes, user accounts, etc. are included, and the above examples are for illustration only and are not to be construed as limiting the invention.
Next, in step S103, a resource provider library is queried according to the resource characteristics to determine resource providers matching the resource characteristics, and the resource provider library records matching characteristics of resources provided by each resource provider.
In this embodiment, it is preferable to acquire the resource characteristics of the resources required by the resource demander, and build a resource providing library for querying using the resource characteristics, see fig. 3 in particular. In addition, the plurality of resource providers provide the matching features of the resources owned by the resource providers to the resource distribution system in advance, so that the matching of the resource features of the resource demander and the matching features of the resource provider can be performed based on the matching features of the resources provided by the resource providers, or the matching features of the resources prestored by the resource distribution system can also be included.
Specifically, as shown in fig. 2 and 3, the resource demander 1 needs to be allocated with a resource a, which may be securities, data, traffic, or the like, by querying a resource provider library, the resource providers that determine that the resource a can be provided include five resource providers A, B, C, D, E. In this case, resources are allocated to the resource demander according to a predetermined resource allocation policy to achieve more efficient resource allocation.
Next, step S104 allocates resources according to the allocation rule. In step S104, resources are allocated to the resource demander according to a predetermined resource allocation policy.
Specifically, the resource allocation policy includes a resource allocation object and a resource allocation rule, where in this embodiment, the resource allocation object is a resource demander; the resource allocation rule may be understood as a resource allocation according to an allocation coefficient or a priority order.
In this embodiment, the matching feature may be one or more features; the matching feature may be a resource feature or other feature. Specifically, the matching features include at least one of version, data format. In other embodiments, the matching characteristics also include transmission rate, device information, environmental information, and the like.
Further, in case that the resource characteristics of the resource demanded by the resource demander match with the matching characteristics of the resource supplied by the resource provider, the adapted resource is allocated to the resource demander according to the resource allocation rule.
In this embodiment, a resource allocation model may be established, the resource allocation model is trained using training data, current resource characteristics are input, and allocation priorities of resource providers matching the resource requests are calculated to determine allocation rules.
Specifically, step S104 further includes extracting training data including user characteristics, resource characteristics, matching characteristics, the number of resource providers, information characteristics of the resource providers themselves, supply rates, supply resource amounts, and resource allocation feedback results, training a machine learning model (i.e., a resource allocation model) using the training data, and calculating allocation coefficients of each resource provider to determine an allocation scheme for each resource requirement.
In this embodiment, the determined required resources are split into multiple unequal or equal resources, for example, five resources S1, S2, S3, S4, S5 (see specifically fig. 3), the number of multiple resource providers successfully matched, the information characteristics of the resource provider itself, the supply rate, the supply resource amount, and the like are obtained, and an optimal allocation scheme is calculated by an optimization method.
Specifically, the optimization method includes, for example, a gradient descent method, a newton method, a quasi-newton method, a conjugate gradient method, a lagrangian multiplier method, and the like. And calculating an optimal solution by the method to obtain an optimal allocation scheme.
Furthermore, in other embodiments, the distribution coefficients may also be calculated using the PNN algorithm, the PageRank algorithm.
In addition, in other embodiments, the allocation rules may also be determined based on resource characteristics and/or matching rates. For example, the resource demand side demands the resource a, and from the viewpoint of communication, transmission rates of different resources are different, and resource allocation is provided according to the transmission rate of the resource demand side, so that the resources can be allocated more efficiently.
It should be noted that, the allocation rule may also be determined by the resource characteristics and/or the matching rate and by establishing a mutual combination manner of the resource allocation models, so as to obtain the allocation scheme.
In addition, the resource allocation method of the present invention further includes a step of adjusting and optimizing allocation rules in real time (S401).
Specifically, the matching degree of the allocated resources is monitored. And when the fact that the allocated resources are not matched is detected, triggering an alarm mechanism, releasing the corresponding relation between the corresponding matching features of the resource providing library and the resource provider, and automatically allocating the preset adaptive resources.
In this case, the adaptive resources predetermined in the standby resources are automatically allocated. Therefore, even if the existing resource provider does not have the adapted resource, the adapted resource can be provided for the resource demand party, the alarm mechanism is triggered, the resource distribution system is reminded to increase the corresponding resource provider, and the corresponding relation between the matching characteristics and the resource provider is modified in real time.
Preferably, the data of each monitoring is also taken as a new training sample, in other words, the updating of the training sample is performed in real time. Therefore, the resource allocation rule can be adjusted and optimized in real time, so that the made resource allocation decision can adapt to the change of the actual situation, and the resource allocation decision is beneficial to achieving more positive effects.
In other embodiments, the resource allocation method further comprises setting an alarm number threshold. And under the condition that the number of times of triggering the alarm mechanism is larger than the alarm number threshold, releasing the corresponding relation between the corresponding matching features of the resource providing library and the resource provider. The alarm frequency threshold can be set according to human beings, and can also be calculated through a selection algorithm.
In this embodiment, the resource includes data, flow, currency, securities, or the like, and in other embodiments, the resource may be a virtual resource or an actual product. The above is only for illustration and is not to be construed as limiting the invention as long as the resources are able to meet the allocation rules of the invention.
The main body of the allocation step may be a resource allocation system, a computer, a server, or the like. In addition, the third party application client may assist the execution body in executing the steps.
The foregoing is merely a preferred embodiment, and is not to be construed as limiting the invention. In other embodiments, step S104 may also be split into two steps (S401 and S104), see in particular fig. 4.
Those skilled in the art will appreciate that all or part of the steps implementing the above-described embodiments are implemented as a program (computer program) executed by a computer data processing apparatus. The above-described method provided by the present invention can be implemented when the computer program is executed. Moreover, the computer program may be stored in a computer readable storage medium, which may be a readable storage medium such as a magnetic disk, an optical disk, a ROM, a RAM, or a storage array composed of a plurality of storage media, for example, a magnetic disk or a tape storage array. The storage medium is not limited to a centralized storage, but may be a distributed storage, such as cloud storage based on cloud computing.
Compared with the prior art, the resource allocation method of the invention has wide application, and is particularly suitable for allocation of various resources. Specifically, the invention can guide the resource allocation to evolve to the optimal direction and can carry out continuous hierarchical control of the resource allocation through the introduction of the resource characteristics, the matching characteristics and/or the resource allocation rules. Therefore, the resource allocation method of the invention improves the resource allocation efficiency and effect, and realizes the effective scheduling and management of resources.
Example 2
The following describes apparatus embodiments of the invention that may be used to perform method embodiments of the invention. Details described in the embodiments of the device according to the invention should be regarded as additions to the embodiments of the method described above; for details not disclosed in the embodiments of the device according to the invention, reference may be made to the above-described method embodiments.
Referring to fig. 5, 6 and 7, the present invention also provides a resource allocation system 500 comprising: a receiving module 501, configured to receive a resource request from a resource demander; a determining module 502, configured to determine, according to the attribute of the resource request, a resource feature that matches the resource request; a query module 503, configured to query a resource provider library according to the resource characteristics to determine resource providers that match the resource characteristics, where the resource provider library records matching characteristics that can be provided by each resource provider; an allocation module 504 allocates resources to the resource demander according to a predetermined resource allocation policy.
Preferably, a resource allocation model is established, the training data is used for training the resource allocation model, current resource characteristics are input, and allocation rules are calculated to determine a corresponding allocation scheme.
Preferably, the training data includes historical user characteristics, resource characteristics, matching characteristics, the number of resource providers, information characteristics of the resource providers themselves, supply rates, supply resource amounts, and resource allocation feedback results.
Preferably, the resource allocation system further comprises: the allocation rule is determined based on the resource characteristics and/or the matching rate.
Preferably, in case of resource matching, adapted resources are provided to the resource demander according to the allocation rule.
Preferably, as shown in fig. 6, the resource allocation system 500 further includes a monitoring module 601, configured to monitor a matching degree of the allocated resources, trigger an alarm mechanism when a mismatch of the allocated resources is detected, and release a corresponding relationship between corresponding matching features of the resource provider library and the resource provider, and automatically allocate a predetermined adapted resource.
Preferably, as shown in fig. 7, the resource allocation system 500 further includes an early warning module 701, where the early warning module is configured to set an alarm frequency threshold, and in a case that the number of times of triggering the alarm mechanism is greater than the alarm frequency threshold, remove a corresponding relationship between the corresponding matching feature of the resource provider library and the resource provider.
Preferably, the matching features include at least one of version, data format.
In example 2, the same parts as those in example 1 are omitted.
It will be appreciated by those skilled in the art that the modules in the embodiments of the apparatus described above may be distributed in an apparatus as described, or may be distributed in one or more apparatuses different from the embodiments described above with corresponding changes. The modules of the above embodiments may be combined into one module, or may be further split into a plurality of sub-modules.
Example 3
The following describes an embodiment of an electronic device according to the present invention, which may be regarded as a specific physical implementation of the above-described embodiment of the method and apparatus according to the present invention. Details described in relation to the embodiments of the electronic device of the present invention should be considered as additions to the embodiments of the method or apparatus described above; for details not disclosed in the embodiments of the electronic device of the present invention, reference may be made to the above-described method or apparatus embodiments.
Fig. 8 is a block diagram of an exemplary embodiment of an electronic device according to the present invention. An electronic apparatus 200 according to this embodiment of the present invention is described below with reference to fig. 8. The electronic device 200 shown in fig. 8 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 8, the electronic device 200 is in the form of a general purpose computing device. The components of the electronic device 200 may include, but are not limited to: at least one processing unit 210, at least one memory unit 220, a bus 230 connecting the different system components (including the memory unit 220 and the processing unit 210), a display unit 240, and the like.
Wherein the storage unit stores program code that is executable by the processing unit 210 such that the processing unit 210 performs the steps according to various exemplary embodiments of the present invention described in the electronic prescription stream processing method section above in this specification. For example, the processing unit 210 may perform the steps shown in fig. 1.
The memory unit 220 may include readable media in the form of volatile memory units, such as Random Access Memory (RAM) 2201 and/or cache memory 2202, and may further include Read Only Memory (ROM) 2203.
The storage unit 220 may also include a program/utility 2204 having a set (at least one) of program modules 2205, such program modules 2205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 230 may be a bus representing one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 200 may also communicate with one or more external devices 300 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 200, and/or any device (e.g., router, modem, etc.) that enables the electronic device 200 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 250. Also, the electronic device 200 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through a network adapter 260. Network adapter 260 may communicate with other modules of electronic device 200 via bus 230. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 200, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the exemplary embodiments described herein may be implemented in software, or may be implemented in software in combination with necessary hardware. Thus, the technical solution according to the embodiments of the present invention may be embodied in the form of a software product, which may be stored in a computer readable storage medium (may be a CD-ROM, a usb disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, or a network device, etc.) to perform the above-mentioned method according to the present invention. The computer program, when executed by a data processing device, enables the computer readable medium to carry out the above-described method of the present invention, namely: and training the created user risk control model by using APP downloading sequence vector data and overdue information of the historical user as training data, and calculating a financial risk prediction value of the target user by using the created user risk control model.
As shown in fig. 9, the computer program may be stored on one or more computer readable media. The computer readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable storage medium may also be any readable medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
In summary, the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functionality of some or all of the components in accordance with embodiments of the present invention may be implemented in practice using a general purpose data processing device such as a microprocessor or Digital Signal Processor (DSP). The present invention can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
The above-described specific embodiments further describe the objects, technical solutions and advantageous effects of the present invention in detail, and it should be understood that the present invention is not inherently related to any particular computer, virtual device or electronic apparatus, and various general-purpose devices may also implement the present invention. The foregoing description of the embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.

Claims (14)

1. A resource allocation method, characterized in that the resource allocation method comprises:
receiving a resource request of a resource requiring party;
determining resource characteristics matched with the resource request according to the attribute of the resource request;
inquiring a resource providing library according to the resource characteristics, and matching the resource characteristics of the resource demander with the matching characteristics of the resource providers to determine the resource providers matched with the resource characteristics, wherein the resource providing library records the matching characteristics which can be provided by each resource provider; wherein: the resource characteristics comprise versions and data formats; the matching features comprise at least one of version and data format;
dividing the determined required resources into a plurality of parts, acquiring the number of a plurality of successfully matched resource providers, the information characteristics of the resource providers, the supply rate and the supply resource amount, and calculating a distribution scheme by an optimization method to distribute the resources to the resource required parties; or, allocating the resource to the resource demand side according to a preset resource allocation strategy, wherein the resource allocation strategy comprises a resource allocation object and a resource allocation rule, and the resource allocation object is the resource demand side; the resource allocation rule is to allocate the resources according to the allocation coefficient or the priority order; the allocation rules are determined by the combination of the resource characteristics and/or matching rates and by building a resource allocation model.
2. The resource allocation method according to claim 1, wherein determining allocation rules by building a resource allocation model comprises:
and establishing a resource allocation model, training the resource allocation model by using training data, inputting current resource characteristics, and calculating allocation rules to determine a corresponding allocation scheme.
3. The resource allocation method according to claim 2, wherein the training data includes historical user characteristics, resource characteristics, matching characteristics, the number of resource providers, information characteristics of the resource providers themselves, a supply rate, a supply resource amount, and a resource allocation feedback result.
4. The resource allocation method according to claim 1, wherein in case of a resource match, adapted resources are provided to the resource demander according to the allocation rule.
5. The resource allocation method according to claim 1, further comprising: and monitoring the matching degree of the allocated resources, triggering an alarm mechanism when the mismatch of the allocated resources is detected, releasing the corresponding relation between the corresponding matching characteristics of the resource providing library and the resource provider, and automatically allocating the preset adaptive resources.
6. The resource allocation method according to claim 1, further comprising:
setting an alarm frequency threshold, and under the condition that the frequency of triggering an alarm mechanism is larger than the alarm frequency threshold, releasing the corresponding relation between the corresponding matching characteristics of the resource provider library and the resource provider.
7. A resource allocation system, the resource allocation system comprising:
a receiving module for receiving a resource request of a resource demander;
the determining module is used for determining the resource characteristics matched with the resource request according to the attribute of the resource request;
the query module queries a resource providing library according to the resource characteristics, matches the resource characteristics of the resource demander with the matching characteristics of the resource providers to determine the resource providers matched with the resource characteristics, and the resource providing library records the matching characteristics which can be provided by each resource provider; wherein: the resource characteristics comprise versions and data formats; the matching features comprise at least one of version and data format;
the distribution module is used for dividing the determined required resources into a plurality of parts, acquiring the number of a plurality of successfully matched resource providers, the information characteristics of the resource providers, the supply rate and the supply resource amount, and calculating a distribution scheme by an optimization method to distribute the resources to the resource requiring parties; or, allocating the resource to the resource demand side according to a preset resource allocation strategy, wherein the resource allocation strategy comprises a resource allocation object and a resource allocation rule, and the resource allocation object is the resource demand side; the resource allocation rule is to allocate the resources according to the allocation coefficient or the priority order; the allocation rules are determined by the combination of the resource characteristics and/or matching rates and by building a resource allocation model.
8. The resource allocation system of claim 7 wherein a resource allocation model is established, the resource allocation model is trained using training data, current resource characteristics are input, and allocation rules are calculated to determine the corresponding allocation scheme.
9. The resource allocation system of claim 8, wherein the training data comprises historical user characteristics, resource characteristics, matching characteristics, number of resource providers, information characteristics of the resource providers themselves, supply rates, supply resource amounts, and resource allocation feedback results.
10. The resource allocation system according to claim 7, wherein in case of a resource match, adapted resources are provided to the resource demander according to the allocation rule.
11. The resource allocation system of claim 7, further comprising a monitoring module for monitoring a degree of matching of the allocated resources, triggering an alert mechanism when a mismatch of the allocated resources is detected, and releasing a correspondence of corresponding matching features of the resource provider library to the resource provider, and automatically allocating a predetermined adapted resource.
12. The resource allocation system of claim 7, further comprising an early warning module for setting an alarm number threshold, and releasing the corresponding matching feature of the resource provider from the resource provider if the number of times the alarm mechanism is triggered is greater than the alarm number threshold.
13. An electronic device, wherein the electronic device comprises:
a processor; the method comprises the steps of,
a memory storing computer executable instructions that when executed cause the processor to perform the resource allocation method according to any one of claims 1-6.
14. A computer readable storage medium storing one or more programs which, when executed by a processor, implement the resource allocation method of any of claims 1-6.
CN201911271457.5A 2019-12-12 2019-12-12 Resource allocation method, system, electronic equipment and storage medium Active CN111181770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911271457.5A CN111181770B (en) 2019-12-12 2019-12-12 Resource allocation method, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911271457.5A CN111181770B (en) 2019-12-12 2019-12-12 Resource allocation method, system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111181770A CN111181770A (en) 2020-05-19
CN111181770B true CN111181770B (en) 2023-05-02

Family

ID=70650173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911271457.5A Active CN111181770B (en) 2019-12-12 2019-12-12 Resource allocation method, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111181770B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949500B (en) * 2020-08-14 2023-09-22 中国工商银行股份有限公司 Resource matching method, device, electronic equipment and readable storage medium
CN112600906B (en) * 2020-12-09 2022-04-26 中国科学院深圳先进技术研究院 Resource allocation method and device for online scene and electronic equipment
CN112953767B (en) * 2021-02-05 2022-11-04 深圳前海微众银行股份有限公司 Resource allocation parameter setting method and device based on Hadoop platform and storage medium
CN113723867B (en) * 2021-05-21 2024-04-26 深圳市海柔创新科技有限公司 Method, apparatus, device, storage medium and program product for resource allocation
CN113570114B (en) * 2021-07-02 2024-05-21 上海淇玥信息技术有限公司 Resource service intelligent matching method, system and computer equipment
CN114785794B (en) * 2022-03-29 2024-07-12 北京字节跳动网络技术有限公司 Resource allocation method, device, equipment, medium and system
CN115994668B (en) * 2023-02-16 2023-06-20 浙江非线数联科技股份有限公司 Intelligent community resource management system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109343958A (en) * 2018-09-25 2019-02-15 江苏满运软件科技有限公司 Computational resource allocation method, apparatus, electronic equipment, storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164279B (en) * 2011-12-13 2016-05-04 中国电信股份有限公司 Cloud computing resources distribution method and system
CN103873528B (en) * 2012-12-17 2019-02-19 北京百度网讯科技有限公司 A kind of method and apparatus for user allocation system resource
US11075979B2 (en) * 2016-02-29 2021-07-27 International Business Machines Corporation Optimized resource provisioning
CN107547599B (en) * 2016-06-28 2021-03-23 百度在线网络技术(北京)有限公司 Resource allocation method and system
CN109144716A (en) * 2017-06-28 2019-01-04 中兴通讯股份有限公司 Operating system dispatching method and device, equipment based on machine learning

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109343958A (en) * 2018-09-25 2019-02-15 江苏满运软件科技有限公司 Computational resource allocation method, apparatus, electronic equipment, storage medium

Also Published As

Publication number Publication date
CN111181770A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN111181770B (en) Resource allocation method, system, electronic equipment and storage medium
CN112771500B (en) Functional instant service gateway
CN104657194B (en) Method and system for calculating the influence acted in network
US20140215484A1 (en) Managing model building components of data analysis applications
US10783002B1 (en) Cost determination of a service call
US20180373419A1 (en) Unified real time rule analytics using common programming model on both edge and cloud
US10411977B2 (en) Visualization of workload distribution on server resources
JP7461696B2 (en) Method, system, and program for evaluating resources in a distributed processing system
US11750711B1 (en) Systems and methods for adaptively rate limiting client service requests at a blockchain service provider platform
CN111245642A (en) Method and device for acquiring dependency relationship between multiple systems and electronic equipment
CN114090537A (en) Real-time analysis method, device, system, equipment and medium for satellite in-orbit state
CN111950600B (en) Method and device for predicting overdue user resource return performance and electronic equipment
US20210044499A1 (en) Automated operational data management dictated by quality of service criteria
CN104035939A (en) Flexible monitoring frame with peculiar independent rule engine
Forti et al. Declarative continuous reasoning in the cloud-IoT continuum
US11856053B2 (en) Systems and methods for hybrid burst optimized regulated workload orchestration for infrastructure as a service
US20200167137A1 (en) Static optimization of production code for dynamic profiling
CN111681032B (en) Method and device for configuring additional resources and electronic equipment
CN111211998A (en) Resource allocation method and device capable of elastically expanding capacity and electronic equipment
CN115048224B (en) Computing power reuse management method and device based on multiple cloud service providers
CN110442455A (en) A kind of data processing method and device
Mehta et al. A two level broker system for infrastructure as a service cloud
US20210397717A1 (en) Software information analysis
CN114170006A (en) Information data acquisition method, device, equipment and medium based on state machine
JP2023538941A (en) Intelligent backup and restore of containerized environments

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