Resource data processing method and device

By clustering based on the segmented value of resource data in merchant risk management, the problem of low data clustering efficiency is solved, the accuracy and management efficiency of risk assessment are improved, and more efficient risk management is achieved.

CN113780404BActive Publication Date: 2024-11-26ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111044554.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-01-14
Publication Date
2024-11-26
Estimated Expiration
2040-01-14

AI Technical Summary

Technical Problem

In the prior art, the low efficiency of data clustering and low efficiency of risk management have led to insufficient risk management accuracy, coverage and effectiveness of merchant entities.

Method used

By determining the resource segmentation value based on the original segmentation position of the resource data, using the segmentation value to cluster the data, obtain a cluster group, and determine the resource evaluation threshold based on the preset evaluation indicators to improve the accuracy of risk assessment.

Benefits of technology

It improves the accuracy of clustering results of resource data and the accuracy of risk assessment, and improves the efficiency and coverage of risk management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113780404B_ABST
    Figure CN113780404B_ABST
Patent Text Reader

Abstract

One or more embodiments of the present specification disclose a method and device for processing resource data, which are used to solve the problems of low data clustering efficiency and low risk management efficiency in the prior art. The method includes: based on the original segmentation positions of multiple resource data, determining at least one resource segmentation value corresponding to the multiple resource data. Clustering the multiple resource data using each of the resource segmentation values ​​to obtain multiple resource clustering groups. According to a preset resource evaluation indicator, a target resource clustering group corresponding to the resource evaluation indicator is determined from the multiple resource clustering groups. The resource evaluation indicator includes a risk assessment parameter used for risk assessment of the resource data. According to the target resource segmentation value corresponding to the target resource clustering group, a resource assessment threshold corresponding to the resource data is determined. The resource assessment threshold is used to perform risk assessment on the resource data.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This patent application is a divisional application of the Chinese patent application with application number: 202010035782.8, application date: January 14, 2020, and invention name “Method and device for processing resource data”. Technical Field

[0002] This document relates to the technical field of data processing and risk assessment, and in particular to a method and device for processing resource data. Background Art

[0003] There are three main types of merchants involved in risk control scenarios: directly connected merchants, indirectly connected merchants, and mini-program merchants. The risk management of these merchant entities includes four main links: merchant access, merchant risk identification, merchant risk operation, and merchant risk decision makers.

[0004] In each link of merchant management, risk control operations, strategies and models are all based on various data of merchant entities. In fact, there are intricate connections between different merchant entities (such as identity overlap, capital transaction relationships, media sharing relationships, similar geographical locations, etc.). If we can aggregate different entities based on the connections between them, connect the data of different entities, and analyze, control and model each entity, we can effectively improve the accuracy, coverage and effectiveness of risk management and realize joint prevention of ecological risks.

[0005] An important part of aggregation calculation is the calculation of quantiles. The calculation of quantiles is very common in descriptive statistics. For example, compared with the mean and median, it is not affected by outliers. However, the calculation process of quantiles is relatively complicated. It is necessary to retain all specific values ​​and sort them to obtain the number in the middle as the result. This complex quantile calculation method leads to a decrease in the efficiency of subject aggregation and a decrease in the efficiency of subject management (such as subject risk prevention and control). Summary of the invention

[0006] One or more embodiments of the present specification provide a method for processing resource data. The method includes determining at least one resource segmentation value corresponding to the multiple resource data based on the original segmentation positions of the multiple resource data. The first difference between the resource segmentation value and the extreme value of the resource data is less than the second difference between the original segmentation position and the extreme value. The resource segmentation value represents a new segmentation position for the resource data. The first difference represents the degree of proximity between the resource segmentation value and the extreme value. The second difference represents the degree of proximity between the original segmentation position and the extreme value. The multiple resource data are clustered using each of the resource segmentation values ​​to obtain multiple resource clustering groups. According to the target resource segmentation value corresponding to the target resource clustering group corresponding to the preset resource evaluation index, the resource evaluation threshold corresponding to the resource data is determined. The resource evaluation threshold is used to perform risk assessment on the resource data.

[0007] One or more embodiments of the present specification provide a resource data processing device. The device includes a first determination module, which determines at least one resource segmentation value corresponding to the multiple resource data based on the original segmentation positions of the multiple resource data. The first difference between the resource segmentation value and the extreme value of the resource data is less than the second difference between the original segmentation position and the extreme value. The resource segmentation value represents a new segmentation position for the resource data. The first difference represents the degree of proximity between the resource segmentation value and the extreme value. The second difference represents the degree of proximity between the original segmentation position and the extreme value. The device also includes a clustering module, which performs clustering processing on the multiple resource data using each of the resource segmentation values ​​to obtain multiple resource clustering groups. The device also includes a third determination module, which determines the resource evaluation threshold corresponding to the resource data according to the target resource segmentation value corresponding to the target resource clustering group corresponding to the preset resource evaluation index. The resource evaluation threshold is used to perform risk assessment on the resource data.

[0008] One or more embodiments of the present specification provide a resource data processing device. The device includes a processor. The device also includes a memory arranged to store computer executable instructions. When the executable instructions are executed, the processor determines at least one resource segmentation value corresponding to the multiple resource data based on the original segmentation positions of the multiple resource data. The first difference between the resource segmentation value and the extreme value of the resource data is less than the second difference between the original segmentation position and the extreme value. The resource segmentation value represents a new segmentation position for the resource data. The first difference represents the proximity between the resource segmentation value and the extreme value. The second difference represents the proximity between the original segmentation position and the extreme value. The multiple resource data are clustered using each of the resource segmentation values ​​to obtain multiple resource clustering groups. According to the target resource segmentation value corresponding to the target resource clustering group corresponding to the preset resource evaluation index, the resource evaluation threshold corresponding to the resource data is determined. The resource evaluation threshold is used to perform risk evaluation on the resource data.

[0009] One or more embodiments of the present specification provide a storage medium. The storage medium is used to store computer executable instructions. When the executable instructions are executed, based on the original segmentation positions of the multiple resource data, at least one resource segmentation value corresponding to the multiple resource data is determined. The first difference between the resource segmentation value and the extreme value of the resource data is less than the second difference between the original segmentation position and the extreme value. The resource segmentation value represents a new segmentation position for the resource data. The first difference represents the degree of proximity between the resource segmentation value and the extreme value. The second difference represents the degree of proximity between the original segmentation position and the extreme value. The multiple resource data are clustered using each of the resource segmentation values ​​to obtain multiple resource clustering groups. According to the target resource segmentation value corresponding to the target resource clustering group corresponding to the preset resource evaluation index, the resource evaluation threshold corresponding to the resource data is determined. The resource evaluation threshold is used to perform risk assessment on the resource data. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in one or more embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0011] Figure 1 is a schematic flow chart of a method for processing resource data according to an embodiment of this specification;

[0012] Figure 2 is a schematic flow chart of a method for processing resource data according to another embodiment of the present specification;

[0013] Figure 3 is a schematic block diagram of a resource data processing device according to an embodiment of this specification;

[0014] Figure 4 It is a schematic block diagram of a resource data processing device according to an embodiment of the present specification. DETAILED DESCRIPTION

[0015] One or more embodiments of the present specification provide a method and device for processing resource data to solve the problems of low data clustering efficiency and low risk management efficiency in the prior art.

[0016] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will be combined with the drawings in one or more embodiments of this specification to clearly and completely describe the technical solutions in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.

[0017] Figure 1 is a schematic flow chart of a method for processing resource data according to an embodiment of this specification, such as Figure 1 As shown, the method includes:

[0018] S102: Determine at least one resource segmentation value corresponding to the plurality of resource data based on original segmentation positions of the plurality of resource data.

[0019] Among them, the first difference between the resource segmentation value and the extreme value of the resource data is less than the second difference between the original segmentation position and the extreme value. The extreme value includes the maximum data value and / or the minimum data value in the resource data. For example, if the resource data is arranged in order of data size, then the extreme values ​​are the resource data at the front and the resource data at the end. The resource segmentation value is generally between 0 and 1, which represents the new segmentation position of the resource data. For example, if the resource segmentation value is 20%, it means that the resource data is segmented at the 20% position.

[0020] The first difference between the resource segmentation value and the extreme value of the resource data is the proximity between the resource segmentation value and the extreme value of the resource data. The second difference between the original segmentation position and the extreme value of the resource data is the proximity between the original segmentation position and the extreme value of the resource data.

[0021] S104: clustering the plurality of resource data using the resource segmentation values ​​to obtain a plurality of resource clustering groups.

[0022] S106: According to the preset resource evaluation index, determine a target resource cluster group corresponding to the resource evaluation index from multiple resource cluster groups.

[0023] Among them, the resource assessment index includes the risk assessment parameters used for risk assessment of resource data. Risk assessment parameters are, for example, the proportion of low-risk data in all resource data. For example, if the risk assessment parameter is 90% of low-risk data in all resource data, it means that the preset resource assessment index hopes that the proportion of low-risk data is 90% when risk assessment is performed on resource data. Of course, other resource assessment indicators can also be preset, such as the total number of low-risk data or the total number of high-risk data.

[0024] S108, determining a resource evaluation threshold corresponding to the resource data according to the target resource segmentation value corresponding to the target resource cluster group, where the resource evaluation threshold is used to perform risk evaluation on the resource data.

[0025] By adopting the technical solution of one or more embodiments of the present specification, at least one resource segmentation value corresponding to multiple resource data can be determined based on the original segmentation positions of multiple resource data, and multiple resource data can be clustered using each resource segmentation value to obtain multiple resource clustering groups. It can be seen that when the resource data is segmented, it is not segmented based on the original segmentation position, but segmented by the resource segmentation value with a smaller difference between the calculated and the extreme value of the resource data. Since people are more concerned about the resource data in the extreme position in practical applications, the clustering result of the resource data can be made more accurate and faster. And by determining the target resource clustering group corresponding to the resource evaluation index from multiple resource clustering groups according to the preset resource evaluation index, and then determining the resource evaluation threshold corresponding to the resource data according to the target resource segmentation value corresponding to the target resource clustering group, the resource evaluation threshold can be determined based on the preset resource evaluation index, which not only improves the accuracy of the resource evaluation threshold, but also makes the risk assessment result of the resource data more accurate.

[0026] In the resource data processing method provided in the above embodiment, the Tdigest algorithm can be used to cluster resource data. TDigest is a simple, fast, highly accurate, parallelizable approximate percentile algorithm. The core idea of ​​the TDigest algorithm is Sketch, which is an abstract and simplified idea and a way to deal with problems. The following is a detailed introduction on how to cluster resource data using the Tdigest algorithm.

[0027] In one embodiment, when executing S102, at least one original segmentation position for segmenting the plurality of resource data may be determined first; and then, according to the mapping relationship between each original segmentation position and the resource segmentation value, the resource segmentation value corresponding to each original segmentation position may be calculated.

[0028] The original segmentation position may be in the form of a percentage, and the resource segmentation value corresponding to the original segmentation position may be the centroid of the resource data. The mapping relationship between the original segmentation position and the resource segmentation value (i.e., the mapping relationship between the percentage and the centroid) is as shown in the following formula (1).

[0029]

[0030] Among them, q represents the percentage; k represents the center of mass; δ is a constant, usually a relatively small value, such as 0.01. The value of δ affects the size of the center of mass k.

[0031] In this embodiment, the original segmentation positions can be converted into resource segmentation values ​​through the mapping relationship between each original segmentation position and the resource segmentation value. Since the difference between the resource segmentation value and the extreme value of the resource data is smaller, the clustering result of the resource data can be made more accurate and faster.

[0032] In one embodiment, when executing S104, each resource segmentation value may be first sorted according to a preset dimension, wherein the preset dimension includes the data size of the resource data. Then, based on the sorted resource segmentation values, every two adjacent resource segmentation values ​​are determined as a boundary value corresponding to a resource clustering group. Then, based on the boundary values ​​corresponding to each resource clustering group, multiple resource clustering groups are determined, and each resource data is divided into the corresponding resource clustering groups.

[0033] Assuming that the resource segmentation value is the centroid of the resource data, sort each resource segmentation value according to the size of the resource data, that is, sort each centroid according to the size of the centroid. Then determine every two adjacent centroids as the boundary value corresponding to a resource clustering group, and then determine multiple resource clustering groups based on the boundary values ​​corresponding to each resource clustering group, and then divide each resource data into the corresponding resource clustering groups.

[0034] When dividing each resource data into corresponding resource cluster groups, each resource data can be sorted according to data size, and then each resource data can be compared with the boundary values ​​corresponding to each resource cluster group to determine which resource cluster group each resource data falls into, and divide each resource data into the resource cluster group it falls into.

[0035] In this embodiment, since the resource data is clustered according to the resource segmentation value (i.e., the centroid), and the resource segmentation value is closer to the extreme value of the resource data, the clustering result is more accurate and more in line with people's concern for resource data in extreme locations in actual applications.

[0036] In the above embodiment, it is pointed out that the risk assessment parameter can be the proportion of high-risk data in all resource data. Based on this, if the risk assessment parameter includes the first resource segmentation value, that is, the first resource segmentation value is used to characterize the proportion of high-risk data in all resource data. When executing S106, the resource cluster group where the first resource segmentation value is located can be determined from multiple resource cluster groups, and the resource cluster group where the first resource segmentation value is located can be determined as the target resource cluster group.

[0037] In one embodiment, when determining the resource evaluation threshold corresponding to the resource data according to the target resource segmentation value corresponding to the target resource cluster group, the weights corresponding to each target resource segmentation value can be first determined, and then the resource evaluation threshold corresponding to the resource data can be calculated according to each target resource segmentation value and the weights corresponding to each target resource segmentation value. The sum of the weights corresponding to each target resource segmentation value is 1. The target resource segmentation value corresponding to the target resource cluster group is the two boundary values ​​of the target resource cluster group.

[0038] In this embodiment, if the risk assessment parameter includes the first resource segmentation value, that is, the first resource segmentation value is used to represent the proportion of high-risk data in all resource data. The target resource cluster group includes the first target resource segmentation value and the second target resource segmentation value (that is, the two boundary values ​​of the target resource cluster group). The weights corresponding to each target resource segmentation value can be determined as follows:

[0039] First, a resource percentile corresponding to the first resource partition value is determined.

[0040] Secondly, the resource percentile corresponding to the first resource segmentation value is determined as the weight corresponding to the first target resource segmentation value.

[0041] Thirdly, the absolute value of the difference between the resource percentile and 1 is calculated, and the absolute value is determined as the weight corresponding to the second target resource segmentation value.

[0042] In the above embodiment, a target resource cluster group corresponding to a resource evaluation indicator is determined from multiple resource cluster groups according to a preset resource evaluation indicator, and then a resource evaluation threshold corresponding to the resource data is determined according to a target resource segmentation value corresponding to the target resource cluster group. This allows the resource evaluation threshold to be determined based on the preset resource evaluation indicator, which not only improves the accuracy of the resource evaluation threshold, but also makes the risk assessment results of the resource data more accurate.

[0043] The resource data processing method provided in the above embodiment can be applied to various risk assessment scenarios of resource data, such as risk assessment of transaction amount, risk assessment of business data, etc. The following is an example of risk assessment scenario of transaction amount.

[0044] Figure 2 FIG. 1 is a schematic flow chart of a method for processing resource data according to another embodiment of the present specification. In this embodiment, the resource data is the amount of multiple transactions within a certain period of time. Figure 2 As shown, the method includes:

[0045] S201, determining a plurality of percentages for dividing the amounts of a plurality of transactions.

[0046] The percentage is the original division position of the multiple transaction amounts. For example, the percentages for dividing the multiple transaction amounts are determined to be 20%, 40%, 60% and 80%. The percentage can be determined by the user or by the computer according to a preset rule. The preset rule can be any of the following rules: randomly determining a percentage from 0 to 1, uniformly determining a percentage from 0 to 1 according to a preset interval, uniformly determining N percentages from 0 to 1, and so on.

[0047] S202: Determine multiple amount segmentation values ​​corresponding to multiple transaction amounts based on the determined multiple percentages.

[0048] The amount segmentation value is equivalent to the centroid of multiple transaction amounts. If the percentage is known, the amount segmentation value corresponding to each percentage can be determined by the above formula (1). The amount segmentation value determined in this step is generally between 0 and 1, which represents the new segmentation position of the transaction amount. For example, if the amount segmentation value is 20%, it means that the transaction amount is segmented at the 20% position.

[0049] In this embodiment, the centroid has the following characteristics: the first difference between the centroid and the extreme value of the transaction amount is less than the second difference between the percentage determined in S201 and the extreme value of the transaction amount. The extreme value of the transaction amount includes the maximum amount value and the minimum amount value of all transaction amounts. That is, converting the percentage into the centroid to segment the transaction amount can make the new segmentation position of the transaction amount closer to the extreme value of the transaction amount.

[0050] S203, sorting the multiple amount segmentation values ​​according to the amount size, and taking every two adjacent amount segmentation values ​​as the boundary value corresponding to an amount clustering group, to obtain multiple amount clustering groups.

[0051] S204: Classify each transaction amount into a corresponding amount clustering group.

[0052] In this step, the transaction amounts can be sorted according to the amount size, and then see which amount clustering group each transaction amount falls into, and then divide each transaction amount into the amount clustering group it falls into.

[0053] S205, determining a transaction amount evaluation index.

[0054] Among them, the transaction amount assessment index includes risk assessment parameters used to conduct risk assessment on the transaction amount, for example, the proportion of low-risk transaction amounts in all transaction amounts.

[0055] S206, determining a target amount clustering group corresponding to the transaction amount evaluation indicator from the multiple amount clustering groups.

[0056] Assume that the transaction amount evaluation index is that the low-risk transaction amount accounts for 90% of all transaction amounts. Assume that the multiple amount segmentation values ​​determined in S202 are: 0.2, 0.8, and 0.95. Then it can be determined that the target amount cluster group corresponding to the transaction amount evaluation index is the amount cluster group composed of the amount segmentation values ​​0.8 and 0.95, that is, the amount cluster group with the amount segmentation values ​​0.8 and 0.95 as two boundary values.

[0057] S207, calculating an amount assessment threshold value according to the transaction amount assessment index and the target amount segmentation value corresponding to the target amount clustering group by using an interpolation method.

[0058] In this step, the specific method of calculating the amount assessment threshold using the interpolation method is as follows: First, determine the amount percentile (i.e., the transaction amount assessment index). Second, determine the weight corresponding to the first target amount segmentation value (i.e., the smaller target amount segmentation value corresponding to the target amount cluster group) when the amount percentile is the amount, and calculate the absolute value of the difference between the amount percentile and 1, and determine the absolute value as the weight corresponding to the second target amount segmentation value (i.e., the larger target amount segmentation value corresponding to the target amount cluster group). Finally, based on each target amount segmentation value and the weight corresponding to each target amount segmentation value, calculate the amount assessment threshold corresponding to the transaction amount.

[0059] Assuming the amount percentile is 90%, the first target amount split value is a, and its corresponding weight is 0.9; the second target amount split value is b, and its corresponding weight is 0.1. The amount assessment threshold is: a*0.9+b*0.1.

[0060] S208: Perform risk assessment on the transaction amount based on the amount assessment threshold.

[0061] For example, if the transaction amount is greater than the amount assessment threshold, it can be determined that the transaction amount is a high-risk transaction amount; if the transaction amount is less than or equal to the amount assessment threshold, it can be determined that the transaction amount is a low-risk transaction amount.

[0062] In this embodiment, multiple transaction amounts can be clustered based on each amount segmentation value with a smaller difference from the extreme value of the transaction amount to obtain multiple amount clustering groups. Since people are more concerned about the risk of transaction amounts at extreme positions in practical applications, the clustering results of transaction amounts can be made more accurate and faster. And by determining the target amount clustering group corresponding to the transaction amount evaluation index from multiple amount clustering groups according to the preset transaction amount evaluation index, and then determining the amount evaluation threshold corresponding to the transaction amount according to the target amount segmentation value corresponding to the target amount clustering group, the amount evaluation threshold can be determined based on the preset transaction amount evaluation index, which not only improves the accuracy of the transaction amount evaluation threshold, but also makes the risk evaluation result of the transaction amount more accurate.

[0063] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0064] The above is a method for processing resource data provided in one or more embodiments of this specification. Based on the same idea, one or more embodiments of this specification also provide a device for processing resource data.

[0065] Figure 3 FIG. 1 is a schematic block diagram of a resource data processing device according to an embodiment of the present specification. Figure 3 As shown, the resource data processing device includes:

[0066] A first determination module 310 determines at least one resource segmentation value corresponding to the plurality of resource data based on the original segmentation positions of the plurality of resource data; a first difference between the resource segmentation value and the extreme value of the resource data is less than a second difference between the original segmentation position and the extreme value; the extreme value includes a maximum data value and / or a minimum data value in the resource data;

[0067] The clustering module 320 performs clustering processing on the plurality of resource data using each resource segmentation value to obtain a plurality of resource clustering groups;

[0068] The second determination module 330 determines a target resource cluster group corresponding to the resource evaluation index from a plurality of resource cluster groups according to a preset resource evaluation index; the resource evaluation index includes a risk assessment parameter used for risk assessment of resource data;

[0069] The third determination module 340 determines a resource evaluation threshold corresponding to the resource data according to the target resource segmentation value corresponding to the target resource cluster group; the resource evaluation threshold is used to perform risk assessment on the resource data.

[0070] In one embodiment, the first determining module 310 includes:

[0071] A first determining unit determines at least one original segmentation position for segmenting the plurality of resource data;

[0072] The calculation unit calculates the resource segmentation values ​​corresponding to each original segmentation position according to the mapping relationship between each original segmentation position and the resource segmentation value.

[0073] In one embodiment, the clustering module 320 includes:

[0074] A sorting unit, sorting each resource segmentation value according to a preset dimension; the preset dimension includes the data size of the resource data;

[0075] A second determining unit, based on the sorted resource segmentation values, determines every two adjacent resource segmentation values ​​as a boundary value corresponding to a resource clustering group;

[0076] A third determining unit determines a plurality of resource clustering groups based on the boundary values ​​corresponding to the respective resource clustering groups;

[0077] The division unit divides each resource data into corresponding resource cluster groups.

[0078] In one embodiment, the third determination module 340 includes:

[0079] A fourth determining unit determines weights corresponding to the target resource segmentation values, wherein the sum of the weights corresponding to the target resource segmentation values ​​is 1;

[0080] The calculation unit calculates a resource evaluation threshold corresponding to the resource data according to each target resource segmentation value and a weight corresponding to each target resource segmentation value.

[0081] In one embodiment, the risk assessment parameter includes a first resource segmentation value; the target resource cluster group includes a first target resource segmentation value and a second target resource segmentation value;

[0082] The fourth determining unit is further configured to:

[0083] Determining a resource percentile corresponding to the first resource split value;

[0084] Determine the resource percentile corresponding to the first resource segmentation value as the weight corresponding to the first target resource segmentation value;

[0085] The absolute value of the difference between the resource percentile and 1 is calculated; and the absolute value is determined as a weight corresponding to the second target resource split value.

[0086] In one embodiment, the second determination module 330 includes:

[0087] A fifth determining unit, which determines the resource cluster group where the first resource segmentation value is located from the plurality of resource cluster groups;

[0088] The sixth determining unit determines the resource cluster group where the first resource segmentation value is located as the target resource cluster group.

[0089] The device using one or more embodiments of the present specification can determine at least one resource segmentation value corresponding to multiple resource data based on the original segmentation positions of multiple resource data, and use each resource segmentation value to cluster the multiple resource data to obtain multiple resource clustering groups. It can be seen that when the resource data is segmented, it is not segmented based on the original segmentation position, but segmented by the resource segmentation value with a smaller difference between the calculated and the extreme value of the resource data. Since people are more concerned about the resource data in the extreme position in practical applications, the clustering result of the resource data can be made more accurate and faster. And by determining the target resource clustering group corresponding to the resource evaluation index from multiple resource clustering groups according to the preset resource evaluation index, and then determining the resource evaluation threshold corresponding to the resource data according to the target resource segmentation value corresponding to the target resource clustering group, the resource evaluation threshold can be determined based on the preset resource evaluation index, which not only improves the accuracy of the resource evaluation threshold, but also makes the risk assessment result of the resource data more accurate.

[0090] Those skilled in the art should understand that the above-mentioned resource data processing device can be used to implement the resource data processing method described above, and the detailed description should be similar to the description of the method part above. To avoid tediousness, it will not be repeated here.

[0091] Based on the same idea, one or more embodiments of this specification also provide a resource data processing device, such as Figure 4As shown. The resource data processing device may have relatively large differences due to different configurations or performances, and may include one or more processors 401 and memory 402, and the memory 402 may store one or more storage applications or data. Among them, the memory 402 can be a short-term storage or a permanent storage. The application stored in the memory 402 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the resource data processing device. Furthermore, the processor 401 can be configured to communicate with the memory 402, and execute a series of computer executable instructions in the memory 402 on the resource data processing device. The resource data processing device may also include one or more power supplies 403, one or more wired or wireless network interfaces 404, one or more input and output interfaces 405, and one or more keyboards 406.

[0092] Specifically, in this embodiment, the resource data processing device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions in the resource data processing device, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following:

[0093] Based on the original segmentation positions of the plurality of resource data, at least one resource segmentation value corresponding to the plurality of resource data is determined; a first difference between the resource segmentation value and an extreme value of the resource data is smaller than a second difference between the original segmentation position and the extreme value; the extreme value includes a maximum data value and / or a minimum data value in the resource data;

[0094] Clustering the plurality of resource data using the resource segmentation values ​​to obtain a plurality of resource clustering groups;

[0095] According to a preset resource evaluation indicator, a target resource cluster group corresponding to the resource evaluation indicator is determined from the multiple resource cluster groups; the resource evaluation indicator includes a risk assessment parameter used for risk assessment of the resource data;

[0096] A resource evaluation threshold corresponding to the resource data is determined according to the target resource segmentation value corresponding to the target resource cluster group; the resource evaluation threshold is used to perform risk evaluation on the resource data.

[0097] Optionally, when the computer executable instructions are executed, the processor may also:

[0098] Determine at least one of the original segmentation positions for segmenting the plurality of resource data;

[0099] The resource segmentation values ​​respectively corresponding to the original segmentation positions are calculated according to the mapping relationship between the original segmentation positions and the resource segmentation values.

[0100] Optionally, when the computer executable instructions are executed, the processor may also:

[0101] Sort the resource segmentation values ​​according to a preset dimension; the preset dimension includes the data size of the resource data;

[0102] Based on the sorted resource segmentation values, every two adjacent resource segmentation values ​​are determined as boundary values ​​corresponding to a resource clustering group;

[0103] Determine a plurality of resource clustering groups based on the boundary values ​​respectively corresponding to the resource clustering groups;

[0104] The resource data are divided into corresponding resource cluster groups respectively.

[0105] Optionally, when the computer executable instructions are executed, the processor may also:

[0106] Determine the weights corresponding to the target resource segmentation values, wherein the sum of the weights corresponding to the target resource segmentation values ​​is 1;

[0107] The resource evaluation threshold corresponding to the resource data is calculated according to each of the target resource segmentation values ​​and the weights respectively corresponding to the target resource segmentation values.

[0108] Optionally, the risk assessment parameter includes a first resource segmentation value; the target resource cluster group includes a first target resource segmentation value and a second target resource segmentation value;

[0109] The computer executable instructions, when executed, may also cause the processor to:

[0110] Determining a resource percentile corresponding to the first resource segmentation value;

[0111] Determine the resource percentile corresponding to the first resource segmentation value as the weight corresponding to the first target resource segmentation value;

[0112] Calculate the absolute value of the difference between the resource percentile and 1; and determine the absolute value as the weight corresponding to the second target resource segmentation value.

[0113] Optionally, when the computer executable instructions are executed, the processor may also:

[0114] Determine, from the plurality of resource cluster groups, a resource cluster group in which the first resource segmentation value is located;

[0115] The resource cluster group where the first resource segmentation value is located is determined as the target resource cluster group.

[0116] One or more embodiments of the present specification further provide a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by an electronic device including multiple application programs, enable the electronic device to execute the above-mentioned resource data processing method, and are specifically used to execute:

[0117] Based on the original segmentation positions of the plurality of resource data, at least one resource segmentation value corresponding to the plurality of resource data is determined; a first difference between the resource segmentation value and an extreme value of the resource data is smaller than a second difference between the original segmentation position and the extreme value; the extreme value includes a maximum data value and / or a minimum data value in the resource data;

[0118] Clustering the plurality of resource data using the resource segmentation values ​​to obtain a plurality of resource clustering groups;

[0119] According to a preset resource evaluation indicator, a target resource cluster group corresponding to the resource evaluation indicator is determined from the multiple resource cluster groups; the resource evaluation indicator includes a risk assessment parameter used for risk assessment of the resource data;

[0120] A resource evaluation threshold corresponding to the resource data is determined according to the target resource segmentation value corresponding to the target resource cluster group; the resource evaluation threshold is used to perform risk evaluation on the resource data.

[0121] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0122] For the convenience of description, the above devices are described in terms of functions and are divided into various units. Of course, when implementing one or more embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0123] Those skilled in the art will appreciate that one or more embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, one or more embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0124] One or more embodiments of this specification are described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0125] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0126] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0127] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0128] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0129] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0130] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0131] One or more embodiments of the present specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0132] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0133] The above description is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of one or more embodiments of this specification.

Claims

1. A method for processing resource data, comprising: determining at least one original segmentation position for segmenting a plurality of resource data, the resource data including a transaction amount; According to the mapping relationship between each original segmentation position and the resource segmentation value, the resource segmentation value corresponding to each original segmentation position is calculated; the first difference between the resource segmentation value and the extreme value of the resource data is less than the second difference between the original segmentation position and the extreme value; the resource segmentation value represents the new segmentation position of the resource data in a numerical value; the first difference represents the closeness between the resource segmentation value and the extreme value; The second difference degree indicates the proximity between the original segmentation position and the extreme value; Clustering the plurality of resource data using the resource segmentation values ​​to obtain a plurality of resource clustering groups; The resource evaluation threshold corresponding to the resource data is determined according to the target resource segmentation value corresponding to the target resource cluster group corresponding to the preset resource evaluation index; the resource evaluation threshold is used to perform risk evaluation on the resource data.

2. According to the method of claim 1, determining the resource evaluation threshold corresponding to the resource data according to the target resource segmentation value corresponding to the target resource cluster group corresponding to the preset resource evaluation index comprises: Determining a target resource cluster group corresponding to the resource evaluation indicator from the plurality of resource cluster groups according to a risk assessment parameter used for performing risk assessment on the resource data contained in the resource evaluation indicator; A resource evaluation threshold corresponding to the resource data is determined according to the target resource segmentation value corresponding to the target resource cluster group.

3. The method according to claim 1, wherein the clustering process is performed on the plurality of resource data using each of the resource segmentation values ​​to obtain a plurality of resource clustering groups, comprising: Sorting the resource segmentation values ​​according to a preset dimension; The preset dimension includes the data size of the resource data; Based on the sorted resource segmentation values, every two adjacent resource segmentation values ​​are determined as boundary values ​​corresponding to a resource clustering group; Determine a plurality of resource clustering groups based on the boundary values ​​respectively corresponding to the resource clustering groups; The resource data are divided into corresponding resource cluster groups respectively.

4. The method according to claim 2, wherein determining the resource evaluation threshold corresponding to the resource data according to the target resource segmentation value corresponding to the target resource cluster group comprises: Determine the weights corresponding to the target resource segmentation values, wherein the sum of the weights corresponding to the target resource segmentation values ​​is 1; The resource evaluation threshold corresponding to the resource data is calculated according to each of the target resource segmentation values ​​and the weights respectively corresponding to the target resource segmentation values.

5. The method according to claim 4, wherein the risk assessment parameter comprises a first resource segmentation value; the target resource cluster group comprises a first target resource segmentation value and a second target resource segmentation value; The determining of the weights corresponding to the target resource segmentation values ​​includes: Determining a resource percentile corresponding to the first resource segmentation value; Determine the resource percentile corresponding to the first resource segmentation value as the weight corresponding to the first target resource segmentation value; Calculate the absolute value of the difference between the resource percentile and 1; and determine the absolute value as the weight corresponding to the second target resource segmentation value.

6. The method according to claim 5, wherein determining the target resource cluster group corresponding to the resource evaluation indicator from the plurality of resource cluster groups according to the preset resource evaluation indicator comprises: Determine, from the plurality of resource cluster groups, a resource cluster group in which the first resource segmentation value is located; The resource cluster group where the first resource segmentation value is located is determined as the target resource cluster group.

7. A resource data processing device, comprising: A first determination module determines at least one original segmentation position for segmenting a plurality of resource data, and calculates the resource segmentation values ​​corresponding to the original segmentation positions according to the mapping relationship between the original segmentation positions and the resource segmentation values; the first difference between the resource segmentation value and the extreme value of the resource data is less than the second difference between the original segmentation position and the extreme value; the resource segmentation value represents a new segmentation position of the resource data in a numerical value; the first difference represents the proximity between the resource segmentation value and the extreme value; The second difference degree indicates the proximity between the original segmentation position and the extreme value, and the resource data includes a transaction amount; A clustering module, using each of the resource segmentation values ​​to perform clustering processing on the plurality of resource data to obtain a plurality of resource clustering groups; The third determination module determines the resource evaluation threshold corresponding to the resource data according to the target resource segmentation value corresponding to the target resource cluster group corresponding to the preset resource evaluation index; the resource evaluation threshold is used to perform risk assessment on the resource data.

8. The device according to claim 7, further comprising: The second determination module; The second determination module determines the target resource cluster group corresponding to the resource evaluation indicator from the multiple resource cluster groups according to the risk assessment parameters used to perform risk assessment on the resource data included in the resource evaluation indicator; The third determination module determines a resource evaluation threshold corresponding to the resource data according to the target resource segmentation value corresponding to the target resource cluster group.

9. The apparatus according to claim 7, wherein the clustering module comprises: A sorting unit, sorting each of the resource segmentation values ​​according to a preset dimension; The preset dimension includes the data size of the resource data; A second determining unit, based on the sorted resource segmentation values, determines every two adjacent resource segmentation values ​​as a boundary value corresponding to a resource clustering group; A third determining unit, based on the boundary values ​​respectively corresponding to the resource cluster groups, determines a plurality of the resource cluster groups; The division unit divides each resource data into corresponding resource cluster groups.

10. A resource data processing device, comprising: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: Determine at least one original segmentation position for segmenting a plurality of resource data, and calculate the resource segmentation value corresponding to each original segmentation position according to the mapping relationship between each original segmentation position and the resource segmentation value; the first difference between the resource segmentation value and the extreme value of the resource data is less than the second difference between the original segmentation position and the extreme value; the resource segmentation value represents the new segmentation position of the resource data in a numerical value; the first difference represents the proximity between the resource segmentation value and the extreme value; the second difference represents the proximity between the original segmentation position and the extreme value, and the resource data includes a transaction amount; Clustering the plurality of resource data using the resource segmentation values ​​to obtain a plurality of resource clustering groups; The resource evaluation threshold corresponding to the resource data is determined according to the target resource segmentation value corresponding to the target resource cluster group corresponding to the preset resource evaluation index; the resource evaluation threshold is used to perform risk evaluation on the resource data.

11. A storage medium for storing computer executable instructions, wherein the executable instructions implement the following process when executed: Determine at least one original segmentation position for segmenting a plurality of resource data, and calculate the resource segmentation value corresponding to each original segmentation position according to the mapping relationship between each original segmentation position and the resource segmentation value; the first difference between the resource segmentation value and the extreme value of the resource data is less than the second difference between the original segmentation position and the extreme value; the resource segmentation value represents the new segmentation position of the resource data in a numerical value; the first difference represents the proximity between the resource segmentation value and the extreme value; the second difference represents the proximity between the original segmentation position and the extreme value, and the resource data includes a transaction amount; Clustering the plurality of resource data using the resource segmentation values ​​to obtain a plurality of resource clustering groups; The resource evaluation threshold corresponding to the resource data is determined according to the target resource segmentation value corresponding to the target resource cluster group corresponding to the preset resource evaluation index; the resource evaluation threshold is used to perform risk evaluation on the resource data.