Resource quota allocation method, device and electronic equipment
Through the combined use of multiple risk analysis models, adjustment coefficients are generated, which solves the problem of sub-customer group difference management in the allocation of user resource quotas in the Internet financial service industry, and achieves refined allocation of resource quotas and risk reduction.
Patent Information
- Application Number
- CN202111159902.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-09-30
AI Technical Summary
In the existing Internet financial services industry, it is difficult to finely manage the differences among multiple sub-customer groups when allocating user resource quotas, which leads to difficulties in resource recovery and post-loan management, and the assessment of users' solvency is not accurate enough.
By obtaining the user's basic information and behavioral information, using multiple risk analysis models in the model library, inputting different machine learning algorithms and historical user information respectively, multiple risk scores are generated, and adjustment coefficients are calculated based on the scores and threshold intervals to accurately Allocate resource quota.
It achieves fast and accurate resource quota allocation, improves user satisfaction, reduces enterprise resource risks, and improves server processing efficiency.
Smart Images

Figure CN113902545B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer information processing, and in particular, to a resource quota allocation method, device, electronic device and computer-readable medium. Background Art
[0002] With the development of the economy, the Internet financial services industry has ushered in new challenges. Both the scenario installment business and the non-scenario cash loan business have seen significant growth. In the case of a poor economic situation, the debt repayment ability of users in the Internet financial services industry will also be greatly reduced, and Internet financial services companies will face greater difficulties in resource recovery and post-loan management. When allocating resource quotas to users, it is necessary to assess a user's resource return ability from multiple aspects to ensure the resource security of the Internet financial services industry itself.
[0003] Generally, when a user registers on an Internet financial platform, the Internet financial platform will conduct a detailed assessment of the user's own financial resource risk based on the user's basic information, and provide the user with financial services suitable for him / her based on this. In terms of the allocation method of user resource quota, the existing technology is based on the basic information of historical users combined with personal behavior data for modeling, and then analyzes the risk value of the current user through the model, and then determines the user's resource quota based on the risk value. In the existing technology, historical users are modeled and simulated as a whole. However, in actual situations, users themselves have individual characteristics, and the characteristics of historical users do not obey an overall population distribution, but a mixed population distribution composed of several sub-customer groups. If a model is used to comprehensively represent the risk characteristics of all categories of users, it is biased and difficult to achieve refined management of users.
[0004] Therefore, a new resource quota allocation method, device, electronic device and computer-readable medium are needed.
[0005] The above information disclosed in this Background section is only for enhancement of understanding of the background of the present disclosure and therefore it may contain information that does not constitute the prior art that is already known to one of ordinary skill in the art. Summary of the invention
[0006] In view of this, the present disclosure provides a resource quota allocation method, device, electronic device and computer-readable medium, which can quickly and accurately allocate resource quotas to users, improve user satisfaction, reduce enterprise resource risks, and improve server processing efficiency.
[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0008] According to one aspect of the present disclosure, a resource quota allocation method is proposed, which includes: obtaining user information of a user, wherein the user information includes basic information and behavior information; extracting multiple risk analysis models from a model library, wherein the multiple risk analysis models are generated by different machine learning algorithms and / or historical user information; inputting the user information into the multiple risk analysis models respectively to generate multiple risk scores; comparing the multiple risk scores with multiple threshold intervals to generate multiple adjustment coefficients; and allocating resource quotas to the user based on the multiple adjustment coefficients.
[0009] Optionally, the method further includes: inputting the existing users into the multiple risk analysis models respectively for calculation to generate the multiple threshold intervals.
[0010] Optionally, the existing users are respectively input into the multiple risk analysis models for calculation to generate the multiple threshold intervals, including: respectively inputting the existing users into the multiple risk analysis models to generate multiple risk score sets; determining multiple statistical values of the multiple risk score sets; and generating the multiple threshold intervals based on the multiple statistical values.
[0011] Optionally, extracting multiple risk analysis models from the model library includes: sorting all risk analysis models in the model library according to a preset strategy; determining the number of models to be extracted; and extracting the multiple risk analysis models from the model library according to a preset sort based on the number of models to be extracted.
[0012] Optionally, all risk analysis models in the model library are sorted according to a preset strategy, including: sorting all risk analysis models in the model library according to customer group performance; and / or sorting all risk analysis models in the model library according to data source.
[0013] Optionally, the user information is respectively input into the multiple risk analysis models to generate multiple risk scores, including: processing the user information according to the input requirements of the multiple risk analysis models to generate multiple user feature data; inputting the multiple user feature data into the multiple risk analysis models respectively; the multiple risk analysis models are calculated according to the built-in machine learning algorithm to generate multiple risk scores.
[0014] Optionally, comparing the multiple risk scores with multiple threshold intervals to generate multiple adjustment coefficients includes: comparing the multiple risk scores with multiple threshold intervals; generating the first adjustment coefficient by the number of risk scores that meet the first threshold interval policy; generating the second adjustment coefficient by the number of risk scores that meet the second threshold interval policy.
[0015] Optionally, allocating a resource quota to the user based on the first adjustment coefficient and the second adjustment coefficient includes: allocating a resource quota to the user based on a resource allocation function and the first adjustment coefficient and the second adjustment coefficient.
[0016] Optionally, the multiple risk scores are compared with multiple threshold intervals to generate multiple adjustment coefficients, including: comparing the multiple risk scores with multiple threshold intervals; generating a positive adjustment coefficient through a risk score less than the threshold interval and its corresponding risk analysis model identifier; generating a negative adjustment coefficient through a risk score greater than the threshold interval and its corresponding risk analysis model identifier.
[0017] Optionally, allocating resource quotas to the user based on the multiple adjustment coefficients includes: extracting weights corresponding to the positive adjustment coefficients and the negative adjustment coefficients based on a risk analysis model coefficient matrix; and allocating resource quotas to the user based on the positive adjustment coefficients, the negative adjustment coefficients and their corresponding weights.
[0018] According to one aspect of the present disclosure, a resource quota allocation device is proposed, which includes: an information module, used to obtain user information of a user, wherein the user information includes basic information and behavior information; a model module, used to extract multiple risk analysis models from a model library, wherein the multiple risk analysis models are generated by different machine learning algorithms and / or historical user information; a scoring module, used to input the user information into the multiple risk analysis models respectively to generate multiple risk scores; a coefficient module, used to compare the multiple risk scores with multiple threshold intervals to generate multiple adjustment coefficients; and a quota module, used to allocate resource quotas to the user based on the multiple adjustment coefficients.
[0019] According to one aspect of the present disclosure, an electronic device is proposed, which includes: one or more processors; a storage device for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the method as described above.
[0020] According to one aspect of the present disclosure, a computer-readable medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described above is implemented.
[0021] According to the resource quota allocation method, device, electronic device and computer-readable medium disclosed in the present invention, user information of the user is obtained, and the user information includes basic information and behavior information; multiple risk analysis models are extracted from the model library, wherein the multiple risk analysis models are generated by different machine learning algorithms and / or historical user information; the user information is respectively input into the multiple risk analysis models to generate multiple risk scores; the multiple risk scores are compared with multiple threshold intervals to generate multiple adjustment coefficients; and resource quotas are allocated to the user based on the multiple adjustment coefficients, which can quickly and accurately allocate resource quotas to users, improve user satisfaction, reduce enterprise resource risks, and improve server processing efficiency.
[0022] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The above and other objects, features and advantages of the present disclosure will become more apparent by describing in detail its exemplary embodiments with reference to the accompanying drawings. The accompanying drawings described below are only some embodiments of the present disclosure, and it is clear to a person skilled in the art that other accompanying drawings can be obtained from these accompanying drawings without creative work.
[0024] Figure 1 The present invention is a system block diagram showing a method and device for allocating resource quotas according to an exemplary embodiment.
[0025] Figure 2 The present invention is a flowchart of a resource quota allocation method according to an exemplary embodiment.
[0026] Figure 3 The present invention is a flowchart of a resource quota allocation method according to another exemplary embodiment.
[0027] Figure 4 The present invention is a flowchart of a resource quota allocation method according to another exemplary embodiment.
[0028] Figure 5 The present invention is a block diagram of a device for allocating resource quota according to an exemplary embodiment.
[0029] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment.
[0030] Figure 7 It is a block diagram of a computer-readable medium according to an exemplary embodiment. DETAILED DESCRIPTION
[0031] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.
[0032] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.
[0033] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0034] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0035] It should be understood that although the terms first, second, third, etc. may be used herein to describe various components, these components should not be limited by these terms. These terms are used to distinguish one component from another component. Therefore, the first component discussed below can be referred to as the second component without departing from the teachings of the disclosed concepts. As used herein, the term "and / or" includes any one of the associated listed items and all combinations of one or more.
[0036] Those skilled in the art will appreciate that the drawings are merely schematic diagrams of example embodiments, and the modules or processes in the drawings are not necessarily necessary for implementing the present disclosure, and therefore cannot be used to limit the protection scope of the present disclosure.
[0037] In the present disclosure, resources refer to any material, information, or time that can be utilized, and information resources include computing resources and various types of data resources. Data resources include various special data in various fields. The innovation of the present disclosure lies in how to use the information interaction technology between the server and the client to make the resource allocation process more automated, efficient, and reduce labor costs. Therefore, in essence, the present disclosure can be applied to the allocation of various types of resources, including physical goods, water, electricity, and meaningful data. However, for convenience, the present disclosure uses financial data resources as an example to illustrate the implementation of resource allocation, but those skilled in the art should understand that the present disclosure can also be used for the allocation of other resources.
[0038] The resource quota allocation method provided in the embodiments of the present disclosure can be applied to any application field in multiple application fields such as investment, banking, insurance, securities, and e-commerce. In each application field, the application scenarios involved may include but are not limited to login, registration, pre-loan, mid-loan, post-loan, holiday activities or promotional activities. The method provided in the embodiments of the present application can be applied to the resource quota allocation of any business type in any of the above application scenarios.
[0039] In the disclosed embodiment, in order to improve the accuracy of resource quota, the method provided in the embodiment of the present application can construct a risk scoring model corresponding to each business type based on the sample data of each business type obtained from multiple data acquisition paths. Among them, user data includes but is not limited to the user's business account information, the user's page operation data, the user's business access time, the user's business access frequency, the user's terminal device identification information and the user's geographical location information, which can be determined according to the actual application scenario and is not limited here.
[0040] Figure 1 The present invention is a system block diagram showing a method and device for allocating resource quotas according to an exemplary embodiment.
[0041] like Figure 1 As shown, the system architecture 10 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0042] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as financial service applications, shopping applications, web browser applications, instant messaging tools, email clients, social platform software, etc.
[0043] The terminal devices 101 , 102 , and 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.
[0044] The server 105 may be a server that provides various services, such as a backend management server that provides support for financial service websites browsed by users using terminal devices 101, 102, 103. The backend management server may analyze and process the received user data, and feed back the processing results (such as resource quotas) to the administrator of the financial service website and / or the terminal devices 101, 102, 103.
[0045] The server 105 and / or the terminal devices 101, 102, 103 may, for example, obtain user information of the user, wherein the user information includes basic information and behavior information; the server 105 and / or the terminal devices 101, 102, 103 may, for example, extract multiple risk analysis models from a model library, wherein the multiple risk analysis models are generated by different machine learning algorithms and / or historical user information; the server 105 and / or the terminal devices 101, 102, 103 may, for example, input the user information into the multiple risk analysis models respectively to generate multiple risk scores; the server 105 and / or the terminal devices 101, 102, 103 may, for example, compare the multiple risk scores with multiple threshold intervals to generate multiple adjustment coefficients; the server 105 and / or the terminal devices 101, 102, 103 may, for example, allocate resource quotas to the users based on the multiple adjustment coefficients.
[0046] The server 105 may also, for example, input the existing users into the multiple risk analysis models for calculation to generate the multiple threshold intervals.
[0047] The server 105 may be a physical server, or may be composed of multiple servers. It should be noted that the resource quota allocation method provided in the embodiment of the present disclosure may be jointly executed by the server 105 and / or the terminal devices 101, 102, 103. Accordingly, the resource quota allocation device may be arranged in the server 105 and / or the terminal devices 101, 102, 103. The web page provided to the user for browsing the financial service platform is generally located in the terminal devices 101, 102, 103.
[0048] Figure 2 The flowchart of a resource quota allocation method according to an exemplary embodiment is shown. The resource quota allocation method 20 at least includes steps S202 to S210.
[0049] like Figure 2As shown, in S202, user information of the user is obtained, and the user information includes basic information and behavior information.
[0050] In the embodiments of the present disclosure, the user may be an individual user or a corporate user, and the allocation of resource quotas may be the adjustment of financial resource quotas, or the allocation of electric power resources and water resources. Among them, user information may include basic information, such as business account information, user terminal device identification information, user location information, etc.; user information may also include behavioral information, such as user page operation data, user service access duration, user service access frequency, etc. The specific content of user information can be determined according to the actual application scenario, and is not limited here. More specifically, the user information of the current user can be obtained based on user authorization by using web page embedding. Remote information may be user data of users on other trading platforms or other business departments.
[0051] More specifically, the user's behavior information on the website can be obtained through the Fiddler tool. The Fiddler tool works in the form of a web proxy server. After the client sends the request data, the Fiddler proxy server intercepts the data packet, and then the proxy server pretends to be the client to send data to the server; similarly, the server returns the response data, and the proxy server also intercepts the data and returns it to the client. Through Fiddler, you can obtain the user's web browsing residence time, residence page, click operation and other related browsing data.
[0052] In S204, a plurality of risk analysis models are extracted from the model library, wherein the plurality of risk analysis models are generated by different machine learning algorithms and / or historical user information.
[0053] In one embodiment, all risk analysis models in the model library may be sorted according to a preset strategy; the number of models to be extracted may be determined; and the multiple risk analysis models may be extracted from the model library according to a preset sorting based on the number of models to be extracted.
[0054] For example, the number of model extractions can be determined based on historical experience values, or based on the number of new user applications on the day, and the number of model extractions can be set in real time by the management staff.
[0055] More specifically, all risk analysis models in the model library can be sorted according to customer group performance; all risk analysis models in the model library can also be sorted according to data sources. For example, risk analysis models can be sorted according to their calculation accuracy on different customer groups, and risk analysis models with higher accuracy can be ranked higher for priority extraction. More specifically, the customer group performance of each risk analysis model can be calculated and updated regularly every day. Risk analysis models can also be sorted according to different data sources, user data from different sources can be graded, and risk analysis models trained from risk sources with more high-quality customers can be ranked higher.
[0056] In an embodiment of the present disclosure, in order to improve the accuracy of resource quotas, the method provided in an embodiment of the present application can construct different risk analysis models corresponding to each business type based on sample data of each business type obtained from multiple data acquisition paths; it can also first group existing users to generate multiple customer groups, and build risk scoring models for different customer groups based on multiple customer groups; it can also train existing users using different machine learning models to generate different risk scoring models. In an embodiment of the present application, a risk analysis model suitable for generating corresponding to each business type can be constructed based on sample data associated with different business types. In other words, a risk analysis model can be trained for sample data associated with multiple business types. Or, optionally, multiple groups of network parameters in multiple risk analysis models can be constructed based on sample data associated with different business types, wherein a group of network parameters of the risk analysis model can be used to generate a risk analysis model associated with a business type.
[0057] Specifically, for each training data set, an adjustment model is constructed respectively, and multiple user information in the training data set is input into the adjustment model to obtain a predicted label, and the predicted label is compared with the corresponding real label to determine whether the predicted label is consistent with the real label, and the number of predicted labels consistent with the real label is counted, and the proportion of the number of predicted labels consistent with the real label in the number of all predicted labels is calculated. If the proportion is greater than or equal to the preset proportion value, the adjustment model converges to obtain a trained risk analysis model. If the proportion is less than the preset proportion value, the parameters in the adjustment model are adjusted, and the predicted labels of each object are re-predicted by the adjusted adjustment model until the proportion is greater than or equal to the preset proportion value to obtain a trained risk analysis model. Among them, the method of adjusting the parameters in the adjustment model can be performed using a stochastic gradient descent algorithm, a gradient descent algorithm, or a normal equation.
[0058] If the number of times the parameters of the adjustment model are adjusted exceeds a preset number, the model used to construct the adjustment model can be replaced to improve the model training efficiency.
[0059] In S206, the user information is input into the multiple risk analysis models to generate multiple risk scores, including: processing the user information according to the input requirements of the multiple risk analysis models to generate multiple user feature data; inputting the multiple user feature data into the multiple risk analysis models; the multiple risk analysis models are calculated according to the built-in machine learning algorithm to generate multiple risk scores.
[0060] In one embodiment, for a risk analysis module to be trained, multiple feature information can be generated based on the user information and the feature strategy corresponding to the risk analysis model. The user information can be cleaned and fused to convert the user information into multiple feature data. More specifically, the user information can be analyzed and processed for variable missing rate and outlier processing; the user information discretized into continuous variables can also be converted into evidence weight, discrete variable evidence weight, text variable processing, word2vec processing of text variables, etc.
[0061] In one embodiment, for example, a criticality index of at least one basic information and at least one behavior information in the user information is calculated; based on the criticality index, part of the information is extracted from the historical user information to generate a plurality of historical feature information; and the feature strategy is generated based on the relationship between the plurality of historical feature information and the historical user information.
[0062] More specifically, the variable parameters, discrimination parameters, information value, and model feature parameters of the multiple historical feature information can be calculated; and multiple historical multi-dimensional feature information can be extracted from the multiple historical feature information based on the variable parameters, the discrimination parameters, the information value, and the model feature parameters.
[0063] The variable coverage, single value coverage, correlation and significance with the target variable, discrimination (KS) and information value (IV) of the target variable, and importance of tree model (such as XGBoost, RF, etc.) features can be comprehensively considered to select features with high coverage and obvious discrimination effect on the target variable as the final user features. The feature strategy is generated based on the relationship between the multiple historical feature information and the historical user information.
[0064] In S208 , the multiple risk scores are compared with multiple threshold intervals to generate multiple adjustment coefficients.
[0065] In one embodiment, the method further includes: inputting the existing users into the multiple risk analysis models for calculation to generate the multiple threshold intervals.
[0066] Among them, the existing users are input into the multiple risk analysis models for calculation to generate the multiple threshold intervals, including: inputting the existing users into the multiple risk analysis models to generate multiple risk score sets; determining multiple statistical values of the multiple risk score sets; generating the multiple threshold intervals based on the multiple statistical values. After the risk score model is trained, the current users are extracted, and all users are input into the multiple risk score models for calculation, and multiple risk score sets are obtained for each risk analysis model. The average risk score corresponding to each risk score is calculated through the risk score set.
[0067] For example, in one embodiment, the average risk score corresponding to model A is 0.4; the average risk score corresponding to model B is 0.7; the average risk score corresponding to model C is 0.6, and so on. A threshold interval corresponding to each risk analysis model can also be generated based on the average risk score. A higher risk score represents a higher risk for the user. Multiple threshold intervals can be generated based on the above average scores.
[0068] The details of "comparing the multiple risk scores with multiple threshold intervals to generate multiple adjustment factors" will be described in Figure 3 and Figure 4 The corresponding embodiments are described.
[0069] In S210, a resource quota is allocated to the user based on the multiple adjustment coefficients.
[0070] According to the resource quota allocation method disclosed in the present invention, user information of a user is obtained, wherein the user information includes basic information and behavior information; a plurality of risk analysis models are extracted from a model library, wherein the plurality of risk analysis models are generated by different machine learning algorithms and / or historical user information; the user information is respectively input into the plurality of risk analysis models to generate a plurality of risk scores; the plurality of risk scores are compared with a plurality of threshold intervals to generate a plurality of adjustment coefficients; and resource quotas are allocated to the user based on the plurality of adjustment coefficients, so that resource quotas can be allocated to the user quickly and accurately, thereby improving user satisfaction, reducing enterprise resource risks, and improving server processing efficiency.
[0071] It should be clearly understood that the present disclosure describes how to form and use specific examples, but the principles of the present disclosure are not limited to any details of these examples. On the contrary, based on the teachings of the contents disclosed in the present disclosure, these principles can be applied to many other embodiments.
[0072] Figure 3 The present invention is a flowchart of a resource quota allocation method according to another exemplary embodiment. Figure 3 The process 30 shown is a process for Figure 2The process shown includes a detailed description of S210 "comparing the multiple risk scores with multiple threshold intervals to generate multiple adjustment coefficients; and allocating resource quotas to the user based on the multiple adjustment coefficients."
[0073] like Figure 3 As shown, in S302, the multiple risk scores are compared with multiple threshold intervals. For example, the three risk scores of user A are 0.3, 0.4, and 0.2 respectively.
[0074] In one embodiment, the average risk score corresponding to model A is 0.4; the average risk score corresponding to model B is 0.7; and the average risk score corresponding to model C is 0.6.
[0075] In one embodiment, the score below 50% of the average score can be used as the first threshold interval. More specifically, the first threshold interval corresponding to model A is [0-0.2]; the first threshold interval corresponding to model B is [0-0.35]; and the first threshold interval corresponding to model C is [0-0.3].
[0076] In one embodiment, the scores that are 50% higher than the average score and lower than the average score can be used as the second threshold interval. More specifically, the first threshold interval corresponding to model A is [0.2-0.4]; the first threshold interval corresponding to model B is [0.35-0.7]; and the first threshold interval corresponding to model C is [0.3-0.6].
[0077] In S304, the first adjustment coefficient is generated by the number of risk scores that meet the first threshold interval strategy. The three risk scores of user A are compared with the first threshold intervals of the above three models A, B, and C respectively. If user A meets one of the first threshold interval strategies, the first adjustment coefficient is 1.
[0078] In S306, the second adjustment coefficient is generated by the number of risk scores that meet the second threshold interval strategy. The three risk scores of user A are compared with the second threshold intervals of the above three models A, B, and C. If user A meets two of the second threshold interval strategies, the second adjustment coefficient is 2.
[0079] In S308, a resource quota is allocated to the user based on a resource allocation function and the first adjustment coefficient and the second adjustment coefficient.
[0080] The resource allocation function can represent the final resource adjustment amount, which can be specifically:
[0081] T = log(f(x)*g(y))+1;
[0082] Among them, the x in f(x) represents the first adjustment coefficient, f(x) is the adjustment function corresponding to the first adjustment coefficient, and can represent the mapping relationship between the first adjustment coefficient and the user risk; the y in g(y) represents the second adjustment coefficient, g(y) is the adjustment function corresponding to the second adjustment coefficient, and can represent the mapping relationship between the second adjustment coefficient and the user risk.
[0083] Among them, f(x) and g(y) can both be obtained by fitting historical data.
[0084] More specifically, the first adjustment coefficient may represent the number of models that have been passed by customers with a risk greater than 50% or less than the average risk; the second adjustment coefficient may represent the number of models that have been passed by customers with a risk between 50% and 100% of the average risk. Since the higher the ranking of the model, the better the quality of the customer base corresponding to it, in specific applications, the base of f(x) may be greater than the base of g(y), so as to achieve a higher adjustment range for high-quality customers. f(x) may be an exponential function with a preset constant a as the base, and g(y) may be an exponential function with a preset constant b as the base, where both a and b are greater than 1.
[0085] Furthermore, a different risk multiple formula can be set for each model, and the size of the base of the risk multiple can be determined according to the risk ranking. The smaller the risk, the larger the base.
[0086] When a user lands, a basic resource quota will be generated for the user based on the user's user information, and the user's actual resource quota will be determined based on the basic resource quota and the resource allocation function.
[0087] Figure 4 The present invention is a flowchart of a resource quota allocation method according to another exemplary embodiment. Figure 4 The process 40 shown is in another application scenario. Figure 2 The process shown includes a detailed description of S210 "comparing the multiple risk scores with multiple threshold intervals to generate multiple adjustment coefficients; and allocating resource quotas to the user based on the multiple adjustment coefficients."
[0088] like Figure 4 As shown, in S402, the multiple risk scores are compared with multiple threshold intervals. For example, the three risk scores of user A are 0.3, 0.4, and 0.8 respectively.
[0089] In one embodiment, the average risk score corresponding to model A is 0.4; the average risk score corresponding to model B is 0.7; and the average risk score corresponding to model C is 0.6.
[0090] In one embodiment, the scores near the average score (10% range) can be used as the threshold interval. More specifically, the threshold interval corresponding to model A is [0.36-0.44]; the threshold interval corresponding to model B is [0.63-0.77]; and the threshold interval corresponding to model C is [0.54-0.66].
[0091] In S404, a positive adjustment coefficient is generated by the risk score less than the threshold interval and its corresponding risk analysis model identifier. For example, for user A, the risk score model less than the threshold interval is model A, and the corresponding score is 0.3; model B, the corresponding score is 0.4.
[0092] In S406, a reverse adjustment coefficient is generated by using the risk score greater than the threshold interval and its corresponding risk analysis model identifier. For example, for user A, the risk score model greater than the threshold interval is model C, and the corresponding score is 0.8.
[0093] In S408, resource quota is allocated to the user based on the positive adjustment coefficient, the negative adjustment coefficient and their corresponding weights. The weights corresponding to the positive adjustment coefficient and the negative adjustment coefficient may be extracted based on a risk analysis model coefficient matrix.
[0094] The model coefficient matrix can be generated in advance through historical statistical values or historical experience values. In the model coefficient matrix, different model calculation values (forward or reverse adjustment coefficients) are arranged and combined. Different arrangements and combinations correspond to different weights. The weights corresponding to the forward or reverse adjustment coefficients are extracted based on the model coefficient matrix, and then the final resource allocation coefficient is generated based on the forward and reverse adjustment coefficients and weights. Among them, the reverse adjustment coefficient is a deduction item in the final calculation.
[0095] The resource allocation coefficient can be:
[0096] T=∑I i *W i -∑O i *W i +1;
[0097] Among them, W i is the weight corresponding to the adjustment coefficient, I i is the positive adjustment coefficient, O i is the reverse adjustment factor.
[0098] For example, for user A, after searching the model coefficient matrix, the corresponding weight of model A is 0.3, the corresponding weight of model B is 0.5, and the corresponding weight of model C is 0.1. Then, the resource allocation coefficient can be finally calculated as: 0.3*0.3+0.4*0.5-0.8*0.1=0.21.
[0099] When a user lands, a basic resource quota will be generated for the user based on the user's user information, and the user's actual resource quota will be determined based on the basic resource quota and the resource allocation coefficient.
[0100] Those skilled in the art will appreciate that all or part of the steps for implementing the above embodiments are implemented as a computer program executed by a CPU. When the computer program is executed by the CPU, the above functions defined by the above method provided by the present disclosure are performed. The program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.
[0101] In addition, it should be noted that the above figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0102] The following are embodiments of the device disclosed herein, which can be used to execute the method embodiments disclosed herein. For details not disclosed in the device embodiments disclosed herein, please refer to the method embodiments disclosed herein.
[0103] Figure 5 FIG. 1 is a block diagram of a resource quota allocation device according to an exemplary embodiment. Figure 5 As shown, the resource quota allocation device 50 includes: an information module 502 , a model module 504 , a scoring module 506 , a coefficient module 508 , and a quota module 510 .
[0104] The information module 502 is used to obtain user information of the user, and the user information includes basic information and behavior information;
[0105] The model module 504 is used to extract multiple risk analysis models from the model library, wherein the multiple risk analysis models are generated by different machine learning algorithms and / or historical user information;
[0106] The scoring module 506 is used to input the user information into the multiple risk analysis models respectively to generate multiple risk scores;
[0107] The coefficient module 508 is used to compare the multiple risk scores with multiple threshold intervals to generate multiple adjustment coefficients;
[0108] The quota module 510 is used to allocate resource quotas to the user based on the multiple adjustment coefficients.
[0109] According to the resource quota allocation device disclosed in the present invention, user information of the user is obtained, and the user information includes basic information and behavior information; multiple risk analysis models are extracted from the model library, wherein the multiple risk analysis models are generated by different machine learning algorithms and / or historical user information; the user information is respectively input into the multiple risk analysis models to generate multiple risk scores; the multiple risk scores are compared with multiple threshold intervals to generate multiple adjustment coefficients; and resource quotas are allocated to the user based on the multiple adjustment coefficients, which can quickly and accurately allocate resource quotas to the user, improve user satisfaction, reduce enterprise resource risks, and improve server processing efficiency.
[0110] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment.
[0111] Refer to the following Figure 6 The electronic device 600 according to this embodiment of the present disclosure is described. Figure 6 The electronic device 600 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0112] like Figure 6 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different system components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.
[0113] The storage unit stores a program code, which can be executed by the processing unit 610, so that the processing unit 610 performs the steps in this specification according to various exemplary embodiments of the present disclosure. For example, the processing unit 610 can perform the following steps: Figure 2 , Figure 3 , Figure 4 Follow the steps shown in .
[0114] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .
[0115] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.
[0116] Bus 630 may represent 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.
[0117] The electronic device 600 may also communicate with one or more external devices 600' (e.g., keyboards, pointing devices, Bluetooth devices, etc.) to enable a user to communicate with the electronic device 600, and / or any device (e.g., routers, modems, etc.) that the electronic device 600 can communicate with one or more other computing devices. Such communication may be performed via an input / output (I / O) interface 650. In addition, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0118] Through the above description of the implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by combining software with necessary hardware. Figure 7 As shown, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, or a network device, etc.) to execute the above method according to the embodiment of the present disclosure.
[0119] The software product may be any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0120] The computer readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by an instruction execution system, an apparatus, or a device or used in combination with it. The program code contained on the readable storage medium may be transmitted with any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.
[0121] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type 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., through the Internet using an Internet service provider).
[0122] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by a device, the computer-readable medium implements the following functions: obtaining user information of the user, wherein the user information includes basic information and behavior information; extracting multiple risk analysis models from a model library, wherein the multiple risk analysis models are generated by different machine learning algorithms and / or historical user information; inputting the user information into the multiple risk analysis models respectively to generate multiple risk scores; comparing the multiple risk scores with multiple threshold intervals to generate multiple adjustment coefficients; and allocating resource quotas to the user based on the multiple adjustment coefficients.
[0123] Those skilled in the art will appreciate that the above modules can be distributed in the device according to the description of the embodiment, or can be changed accordingly and only used in one or more devices different from the embodiment. The modules of the above embodiments can be combined into one module, or further divided into multiple sub-modules.
[0124] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.
[0125] The exemplary embodiments of the present disclosure are specifically shown and described above. It should be understood that the present disclosure is not limited to the detailed structures, configurations or implementations described herein; on the contrary, the present disclosure is intended to cover various modifications and equivalent configurations included in the spirit and scope of the appended claims.
Claims
1. A resource quota allocation method, characterized in that: include: Obtaining user information of the user, wherein the user information includes basic information and behavior information; Sort all risk analysis models in the model library according to the preset strategy; Determine the number of model extractions; Extracting a plurality of risk analysis models from the model library according to a preset order based on the number of model extractions, wherein the plurality of risk analysis models are generated by different machine learning algorithms and / or historical user information; Inputting the user information into the multiple risk analysis models respectively to generate multiple risk scores; comparing the plurality of risk scores to a plurality of threshold intervals; generating a first adjustment factor by the number of risk scores that satisfy the first threshold interval strategy; generating a second adjustment factor by the number of risk scores that satisfy the second threshold interval strategy; Allocating a resource quota to the user based on a resource allocation function, the first adjustment coefficient, and the second adjustment coefficient; The resource allocation function is: ; in, The x in represents the first adjustment coefficient, is an adjustment function corresponding to the first adjustment coefficient, representing a mapping relationship between the first adjustment coefficient and the user risk; The y in represents the second adjustment coefficient, is an adjustment function corresponding to the second adjustment coefficient, indicating a mapping relationship between the second adjustment coefficient and the user risk; and Obtained through historical data fitting; When a user lands, a basic resource quota is generated for the user based on the user's user information, and the user's actual resource quota is determined based on the basic resource quota and the resource allocation function.
2. The method according to claim 1, characterized in that Also includes: The existing users are respectively input into the multiple risk analysis models for calculation to generate the multiple threshold intervals.
3. The method according to claim 2, characterized in that Inputting the existing users into the multiple risk analysis models respectively for calculation to generate the multiple threshold intervals includes: Inputting the existing users into the multiple risk analysis models respectively to generate multiple risk score sets; determining a plurality of statistical values for the plurality of risk score sets; The plurality of threshold intervals are generated based on the plurality of statistical values.
4. The method according to claim 1, characterized in that All risk analysis models in the model library are sorted according to a preset strategy, including: Sorting all risk analysis models in the model library according to customer group performance; and / or All risk analysis models in the model library are sorted according to data sources.
5. The method according to claim 1, characterized in that Inputting the user information into the multiple risk analysis models respectively to generate multiple risk scores, including: Processing the user information respectively according to the input requirements of the multiple risk analysis models to generate multiple user feature data; inputting the plurality of user characteristic data into the plurality of risk analysis models respectively; The multiple risk analysis models are calculated according to a built-in machine learning algorithm to generate multiple risk scores.
6. A resource quota allocation method, characterized in that: include: Obtaining user information of the user, wherein the user information includes basic information and behavior information; Sort all risk analysis models in the model library according to the preset strategy; Determine the number of model extractions; Extracting a plurality of risk analysis models from the model library according to a preset order based on the number of model extractions, wherein the plurality of risk analysis models are generated by different machine learning algorithms and / or historical user information; Inputting the user information into the multiple risk analysis models respectively to generate multiple risk scores; comparing the plurality of risk scores to a plurality of threshold intervals; Generate a positive adjustment coefficient through the risk score that is less than the threshold interval and its corresponding risk analysis model identifier; Generate a reverse adjustment coefficient through a risk score greater than a threshold interval and its corresponding risk analysis model identifier; Extracting weights corresponding to the positive adjustment coefficient and the negative adjustment coefficient based on the risk analysis model coefficient matrix; Allocating a resource quota to the user based on the forward adjustment coefficient, the reverse adjustment coefficient and their corresponding weights; The resource allocation coefficient is: ; in, is the weight corresponding to the adjustment coefficient, is the positive adjustment coefficient, is the reverse adjustment coefficient; When a user lands, a basic resource quota is generated for the user based on the user's user information, and the user's actual resource quota is determined based on the basic resource quota and the resource allocation function.
7. A resource quota allocation device, characterized in that: include: An information module is used to obtain user information of the user, wherein the user information includes basic information and behavior information; Model module, used to sort all risk analysis models in the model library according to the preset strategy; Determine the number of model extractions; Extracting a plurality of risk analysis models from the model library according to a preset order based on the number of model extractions, wherein the plurality of risk analysis models are generated by different machine learning algorithms and / or historical user information; A scoring module, used to input the user information into the multiple risk analysis models respectively to generate multiple risk scores; A coefficient module, configured to compare the plurality of risk scores with the plurality of threshold intervals; generate a first adjustment coefficient by the number of risk scores satisfying the first threshold interval strategy; and generate a second adjustment coefficient by the number of risk scores satisfying the second threshold interval strategy; A quota module is used to allocate resource quotas to the user based on a resource allocation function and the first adjustment coefficient and the second adjustment coefficient; the resource allocation function is: ; in, The x in represents the first adjustment coefficient, is an adjustment function corresponding to the first adjustment coefficient, representing a mapping relationship between the first adjustment coefficient and the user risk; The y in represents the second adjustment coefficient, is an adjustment function corresponding to the second adjustment coefficient, indicating a mapping relationship between the second adjustment coefficient and the user risk; and It is obtained through fitting historical data; when the user lands, a basic resource quota is generated for the user based on the user's user information, and the user's actual resource quota is determined based on the basic resource quota and the resource allocation function.
8. A resource quota allocation device, characterized in that: include: An information module is used to obtain user information of the user, wherein the user information includes basic information and behavior information; Model module, used to sort all risk analysis models in the model library according to the preset strategy; Determine the number of model extractions; Extracting a plurality of risk analysis models from the model library according to a preset order based on the number of model extractions, wherein the plurality of risk analysis models are generated by different machine learning algorithms and / or historical user information; A scoring module, used to input the user information into the multiple risk analysis models respectively to generate multiple risk scores; A coefficient module is used to compare the multiple risk scores with multiple threshold intervals; generate a positive adjustment coefficient through a risk score less than the threshold interval and its corresponding risk analysis model identifier; generate a negative adjustment coefficient through a risk score greater than the threshold interval and its corresponding risk analysis model identifier; extract the weights corresponding to the positive adjustment coefficient and the negative adjustment coefficient based on the risk analysis model coefficient matrix; allocate resource quotas to the user based on the positive adjustment coefficient, the negative adjustment coefficient and their corresponding weights; the resource allocation coefficient is: ; in, is the weight corresponding to the adjustment coefficient, is the positive adjustment coefficient, is the reverse adjustment coefficient; when the user lands, a basic resource quota is generated for the user based on the user's user information, and the user's actual resource quota is determined based on the basic resource quota and the resource allocation function.
9. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.
10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
