Cashing risk prompting method based on cashing risk classification model and electronic equipment

Through the pre-built redemption risk classification model and overall risk label labeling algorithm, the problem of high cost and low accuracy of manual labeling training sets is solved, and the accuracy of the redemption risk classification model and the efficiency of the prompt method are improved.

CN118537015APending Publication Date: 2024-08-23INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410701707.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In the existing technology, when cashing risk prompts are based on a risk classification model, the manually labeled training set is costly and has low accuracy, resulting in a cashing risk classification method that is costly and has low accuracy.

Method used

By obtaining the bill information of the bills to be processed, using the pre-built redemption risk classification model and the training set constructed based on the risk label overall marking algorithm, we can improve the accuracy and efficiency of the training set and reduce costs, thereby improving the accuracy of the redemption risk classification model. and efficiency of prompting methods.

Benefits of technology

The accuracy and efficiency of the redemption risk training set are improved, the cost is reduced, and the accuracy of the redemption risk classification model and the effect of the prompt method are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537015A
    Figure CN118537015A
Patent Text Reader

Abstract

The invention provides a cashing risk prompting method based on a cashing risk classification model and electronic equipment, and relates to the technical field of data processing. The method comprises the following steps: acquiring bill information of a to-be-processed bill; wherein the bill information of the to-be-processed bill represents basic user information and basic bill information corresponding to the to-be-processed bill; obtaining a cashing risk category of the to-be-processed bill according to the bill information of the to-be-processed bill and a pre-constructed cashing risk classification model; wherein the pre-constructed cashing risk classification model is a classification model constructed based on a cashing risk training set; the cashing risk training set is historical bill information of a plurality of historical bills subjected to risk tag marking processing based on a risk tag overall marking algorithm; generating and sending prompt information according to the cashing risk category of the to-be-processed bill; wherein the prompt information represents the cashing risk of the to-be-processed bill. According to the method, the accuracy is improved, and the cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a payment risk warning method and electronic equipment based on a payment risk classification model. Background Art

[0002] At present, there is no strong and effective mechanism for risk control of default in payment of bills at maturity. Therefore, it is of great significance to the risk control mechanism to construct a risk classification model that can be used for payment risk warning.

[0003] In the prior art, when issuing redemption risk warnings based on risk classification models, the training set required in the process of constructing the risk classification model is obtained by manually marking each set based on historical experience.

[0004] However, the manual labeling method will result in high cost and low accuracy in obtaining the training set, which will further lead to high cost and low accuracy in classifying the repayment risk based on the risk classification model. Summary of the invention

[0005] The present application provides a payment risk warning method and electronic device based on a payment risk classification model, which are used to solve the technical problems of high cost and low accuracy of the payment risk warning method based on the payment risk classification model.

[0006] In a first aspect, the present application provides a payment risk warning method based on a payment risk classification model, comprising:

[0007] Obtaining the ticket information of the ticket to be processed; wherein the ticket information of the ticket to be processed represents the basic user information and basic ticket information corresponding to the ticket to be processed;

[0008] According to the bill information of the bill to be processed and the pre-constructed payment risk classification model, the payment risk category of the bill to be processed is obtained; wherein the pre-constructed payment risk classification model is a classification model constructed based on a payment risk training set; the payment risk training set is the historical bill information of multiple historical bills that have completed risk labeling processing based on the risk label overall labeling algorithm; the risk label overall labeling algorithm represents the overall risk labeling processing of the historical bill information of multiple historical bills;

[0009] According to the payment risk category of the bill to be processed, a prompt message is generated and issued; wherein the prompt message represents the payment risk of the bill to be processed.

[0010] In a second aspect, the present application provides a payment risk warning device based on a payment risk classification model, comprising:

[0011] A first acquisition module is used to acquire the ticket information of the ticket to be processed; wherein the ticket information of the ticket to be processed represents the basic user information and basic ticket information corresponding to the ticket to be processed;

[0012] The second acquisition module is used to obtain the payment risk category of the bill to be processed according to the bill information of the bill to be processed and the pre-constructed payment risk classification model; wherein the pre-constructed payment risk classification model is a classification model constructed based on a payment risk training set; the payment risk training set is the historical bill information of multiple historical bills that have completed the risk labeling processing based on the risk label overall labeling algorithm; the risk label overall labeling algorithm represents the overall risk labeling processing of the historical bill information of multiple historical bills;

[0013] The prompt module is used to generate and issue prompt information according to the payment risk category of the bill to be processed; wherein the prompt information represents the payment risk of the bill to be processed.

[0014] In a third aspect, the present application provides an electronic device, including:

[0015] Processor, memory, communication interface;

[0016] The memory is used to store computer-executable instructions of the processor;

[0017] The processor is configured to execute the method as described in the first aspect above by executing the computer-executable instructions.

[0018] In a fourth aspect, the present application provides a readable storage medium, comprising: a computer program stored thereon, wherein when the computer program is executed by a processor, the method described in the first aspect above is implemented.

[0019] In a fifth aspect, the present application provides a computer program product, comprising: a computer program, which, when executed by a processor, implements the method described in the first aspect above.

[0020] The present application provides a payment risk warning method and electronic device based on a payment risk classification model, which obtains the bill information of the bill to be processed, obtains the payment risk category of the bill to be processed according to the bill information of the bill to be processed and a pre-constructed payment risk classification model, and generates and issues a prompt information according to the payment risk category of the bill to be processed, wherein the pre-constructed payment risk classification model is a classification model constructed based on a payment risk training set, and the payment risk training set is historical bill information of multiple historical bills that have completed risk labeling processing based on a risk label overall labeling algorithm, and the risk label overall labeling algorithm represents the overall risk labeling processing of the historical bill information of multiple historical bills. Therefore, the accuracy and efficiency of obtaining the payment risk training set constructed based on the risk label overall labeling algorithm can be improved, and the cost can be reduced. Therefore, the accuracy of obtaining the payment risk classification model constructed based on the payment risk training set can be improved, and the cost can be reduced. Further, the accuracy of the payment risk warning method based on the payment risk classification model can be improved, and the cost of the payment risk warning method based on the payment risk classification model can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0022] Figure 1 A flowchart of a payment risk warning method based on a payment risk classification model provided in the first embodiment of the present application;

[0023] Figure 2 A schematic diagram of a process for obtaining the payment risk category of a bill to be processed according to the bill information of the bill to be processed and a pre-built payment risk classification model provided in the second embodiment of the present application;

[0024] Figure 3 A flowchart of a method for constructing a pre-built payment risk classification model provided in the third embodiment of the present application;

[0025] Figure 4 A schematic diagram of the structure of a payment risk warning device based on a payment risk classification model provided in the fourth embodiment of the present application;

[0026] Figure 5 A schematic diagram of the structure of an electronic device provided in the fifth embodiment of the present application.

[0027] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0028] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0029] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant countries and regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0030] In addition, this application involves big data analysis of user information (including but not limited to personal biometrics, identity data, consumption data, asset data, electronic terminal operation data, etc.), and the use of artificial intelligence technology for automated decision-making, and a technical solution for making decisions that have a significant impact on personal rights and interests based on the results of automated decision-making. The application provides users with corresponding operation entrances for them to choose to agree or reject the results of automated decision-making; if the user chooses to reject, the expert decision-making process will be entered.

[0031] It should be noted that the payment risk warning method and electronic device based on the payment risk classification model of the present application can be used in the field of data processing technology, and can also be used in any field outside the field of data processing technology. The application field of the payment risk warning method and electronic device based on the payment risk classification model of the present application is not limited.

[0032] In the prior art, when issuing redemption risk warnings based on risk classification models, the training set required in the process of building the risk classification model is obtained by manually labeling one by one based on historical experience. However, the manual labeling method will result in high cost and low accuracy in obtaining the training set, which further leads to high cost and low accuracy in the classification method of redemption risk based on the risk classification model.

[0033] The payment risk warning method based on the payment risk classification model provided in this embodiment obtains the bill information of the bill to be processed, obtains the payment risk category of the bill to be processed according to the bill information of the bill to be processed and the pre-constructed payment risk classification model, and generates and issues a prompt information according to the payment risk category of the bill to be processed, wherein the pre-constructed payment risk classification model is a classification model constructed based on a payment risk training set, and the payment risk training set is the historical bill information of multiple historical bills that have completed the risk labeling processing based on the risk label overall labeling algorithm, and the risk label overall labeling algorithm represents the overall risk labeling processing of the historical bill information of multiple historical bills. Therefore, the accuracy and efficiency of obtaining the payment risk training set constructed based on the risk label overall labeling algorithm can be improved, and the cost can be reduced. Therefore, the accuracy of obtaining the payment risk classification model constructed based on the payment risk training set can be improved, and the cost can be reduced. Further, the accuracy of the payment risk warning method based on the payment risk classification model can be improved, and the cost of the payment risk warning method based on the payment risk classification model can be reduced.

[0034] The data transmission method provided in this application is intended to solve the above technical problems in the prior art.

[0035] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0036] Figure 1 A flow chart of a method for warning of redemption risk based on a redemption risk classification model is provided for the first embodiment of the present application. The executing entity is a device for warning of redemption risk based on a redemption risk classification model, which can generally be implemented by software, hardware, or a combination of software and hardware.

[0037] like Figure 1 As shown, the payment risk warning method based on the payment risk classification model of this embodiment may include the following steps:

[0038] Step S101: Obtain the bill information of the bill to be processed.

[0039] Specifically, the bill information of the bills to be processed can be obtained, among which the concept of bills can be divided into broad and narrow senses. Bills in a broad sense include various securities and certificates, such as stocks, corporate bonds, invoices, bills of lading, etc.; bills in a narrow sense, that is, the "bills" stipulated in my country's "Bills of Exchange Law", include bills of exchange, bank drafts and checks, which refer to securities issued by the drawer, agreeing that the drawer or the entrusting payee will unconditionally pay a certain amount to the payee or holder upon seeing the bill or on a specified date. The bills to be processed refer to the bills to be processed that are in an unredeemed state. Among them, the bill information of the bills to be processed represents the basic user information and basic bill information corresponding to the bills to be processed.

[0040] Among them, the basic user information corresponding to the bill to be processed refers to the basic information of at least one user corresponding to the bill to be processed. Specifically, when the bill type of the bill to be processed is different, the number of users and / or user types of users corresponding to the bill to be processed are also different. Among them, the user type includes but is not limited to: units, individual economic households and individuals. Specifically, if the user type is different, the basic information of the user is also different. For example, if the user type is a unit, the basic information of the user includes but is not limited to: customer status, enterprise size, industry, establishment date, whether it is listed, whether it is a small and medium-sized enterprise, registered address, legal liability form, economic composition, affiliation, local credit rating, whether insurance is held, risk assessment level, customer score, guarantee circle range, credit points, bank account credit risk exposure classification, financing direction, enterprise status, historical overdue mark, registered capital and number of employees.

[0041] Among them, the basic bill information corresponding to the bill to be processed refers to the basic information of the bill corresponding to the bill to be processed. Specifically, when the bill type of the bill to be processed is different, the basic information of the corresponding bill is also different. Among them, the basic information of the bill includes but is not limited to: the source of the bill, whether it is a bank acceptance bill, the current bill status, the previous bill status, whether it is automatically endorsed and transferred, the number of automatic endorsement and transfer receipts, the number of endorsements, whether it is a bill of the National Bill Exchange, whether it is a free trade zone business, whether it is a flow business, total assets, operating income, total liabilities, interest rate redemption amount and account balance and other information.

[0042] Step S102: Obtain the payment risk category of the bill to be processed according to the bill information of the bill to be processed and the pre-built payment risk classification model.

[0043] Specifically, the payment risk category of the bill to be processed may be obtained according to the bill information of the bill to be processed obtained in step S101 and the pre-built payment risk classification model.

[0044] Among them, the pre-constructed payment risk classification model is a classification model constructed based on the payment risk training set. Among them, this application does not limit the construction process of the pre-constructed payment risk classification model. Optionally, the payment risk training set can be obtained first, and the payment risk training set can be divided into a training set and a verification set according to a preset ratio; then the basic classification model is trained according to the training set to obtain a trained classification model; then, the trained classification model is verified according to the verification set. If it passes the verification, the trained classification model is determined as the pre-constructed payment risk classification model. Otherwise, the process of re-training the trained classification model according to the training set and re-verifying the re-trained classification model according to the verification set is repeated until it passes the verification.

[0045] The payment risk training set used to construct the pre-built payment risk classification model is the historical bill information of multiple historical bills that have completed the risk labeling process based on the overall risk labeling algorithm. The historical bills refer to the historical bills that have obtained the bill payment results, wherein the bill payment results include but are not limited to: successful payment results and unsuccessful payment results, wherein the successful payment results include but are not limited to: successful payment results on time and successful payment results with delayed payment, and the unsuccessful payment results include but are not limited to: unsuccessful results of incomplete payment and unsuccessful results of full but unpaid. The types of risk labels included in the payment risk training set correspond to the classification types output by the pre-built payment risk classification model.

[0046] Among them, the risk label overall labeling algorithm represents the overall risk labeling processing of historical bill information of multiple historical bills. Among them, the present application does not limit the risk label overall labeling algorithm. Any algorithm that can perform overall risk labeling processing on historical bill information of multiple historical bills can be used as the risk label overall labeling algorithm provided by the present application. Specifically, for different risk label overall labeling algorithms, the corresponding historical bill information of multiple historical bills that have completed risk labeling processing based on the risk label overall labeling algorithm to generate a redemption risk training set process is also different.

[0047] Among them, the present application does not limit the process of obtaining the payment risk category of the bill to be processed based on the bill information of the bill to be processed and the pre-built payment risk classification model. Optionally, data cleaning processing can be performed on multiple basic user information and basic bill information corresponding to the bill to be evaluated represented by the bill information of the bill to be processed to obtain the bill information of the bill to be evaluated after data cleaning processing; then, format standardization processing is performed on the bill information of the bill to be processed after data cleaning to obtain the bill information of the bill to be processed after format standardization processing; then, the bill information of the bill to be processed after format standardization processing is input into the pre-built payment risk classification model to obtain the payment risk category of the bill to be processed.

[0048] Step S103: Generate and issue a prompt message according to the payment risk category of the bill to be processed.

[0049] Specifically, after obtaining the payment risk category of the bill to be processed according to the bill information of the bill to be processed and the pre-built payment risk classification model, prompt information can be generated and issued according to the payment risk category of the bill to be processed, wherein the prompt information represents the payment risk of the bill to be processed.

[0050] Optionally, the prompt information includes but is not limited to: the redemption risk category of the bill to be processed, and the bill risk information corresponding to the redemption risk category of the bill to be processed, wherein the bill risk information represents the information causing the redemption risk of the bill. For example: if the redemption risk category includes: risk-free category and risky category, specifically, if the redemption risk of the bill to be processed is the risky category, then the prompt information includes but is not limited to: the redemption risk category of the bill to be processed is the risky category, and the bill risk information corresponding to the risky category; specifically, if the redemption risk of the bill to be processed is the risk-free category, then the prompt information is not generated and issued.

[0051] Among them, this application does not limit the process of generating and issuing prompt information based on the redemption risk category of the bills to be processed. Optionally, according to the redemption risk category of the bills to be processed, the information causing the bill redemption risk can be extracted from the basic user information and basic bill information corresponding to the bills to be processed represented by the bill information of the bills to be processed.

[0052] The payment risk warning method based on the payment risk classification model provided in this embodiment obtains the bill information of the bill to be processed, obtains the payment risk category of the bill to be processed according to the bill information of the bill to be processed and the pre-constructed payment risk classification model, and generates and issues a prompt information according to the payment risk category of the bill to be processed, wherein the pre-constructed payment risk classification model is a classification model constructed based on a payment risk training set, and the payment risk training set is the historical bill information of multiple historical bills that have completed risk labeling processing based on the risk label overall labeling algorithm, and the risk label overall labeling algorithm represents the overall risk labeling processing of the historical bill information of multiple historical bills. Therefore, the accuracy and efficiency of obtaining the payment risk training set constructed based on the risk label overall labeling algorithm can be improved, and the cost can be reduced. Therefore, the accuracy of obtaining the payment risk classification model constructed based on the payment risk training set can be improved, and the cost can be reduced. Further, the accuracy of the payment risk warning method based on the payment risk classification model can be improved. The accuracy of the payment risk warning method based on the payment risk classification model can be further improved.

[0053] In a possible embodiment, before obtaining the payment risk category of the bill to be processed based on the bill information of the bill to be processed and the pre-built payment risk classification model, the bill information of the bill to be processed can be subjected to feature extraction processing, wherein the present application does not limit the process of performing feature extraction processing on the bill information of the bill to be processed, and optionally, feature extraction can be performed based on a pre-built random forest feature selector. This improves the accuracy of the bill information of the bill to be processed, and further improves the accuracy of the payment risk prompt method based on the payment risk classification model.

[0054] Figure 2 A flowchart of obtaining the payment risk category of the bill to be processed according to the bill information of the bill to be processed and the pre-built payment risk classification model provided in the second embodiment of the present application is provided. Figure 1 On the basis of the illustrated embodiment, this embodiment describes in detail the process of obtaining the payment risk category of the bill to be processed according to the bill information of the bill to be processed and the pre-built payment risk classification model.

[0055] like Figure 2 As shown, the process of acquiring the payment risk category of the bill to be processed according to the bill information of the bill to be processed and the pre-built payment risk classification model in this embodiment may include the following steps:

[0056] Step S201: Perform data cleaning on a plurality of pieces of basic user information and basic ticket information corresponding to the ticket to be evaluated represented by the ticket information of the ticket to be processed, to obtain the ticket information of the ticket to be evaluated after data cleaning.

[0057] Specifically, after obtaining the bill information of the bill to be processed, data cleaning processing can be performed on the multiple basic user information and basic bill information corresponding to the bill to be evaluated represented by the bill information of the bill to be processed, so as to obtain the bill information of the bill to be evaluated after data cleaning processing. The description of the bill information, basic user information and basic bill information can refer to the description in step S101, and this step will not be repeated.

[0058] Among them, data cleaning processing includes but is not limited to outlier removal and replacement processing. Specifically, the present application performs data cleaning processing on multiple basic user information and basic ticket information corresponding to the bill to be evaluated represented by the ticket information of the bill to be processed, and the process of obtaining the ticket information of the bill to be evaluated after data cleaning processing is not limited. Optionally, outlier removal and replacement processing can be performed on multiple basic user information and basic ticket information corresponding to the bill to be evaluated represented by the ticket information of the bill to be processed, so as to obtain the ticket information of the bill to be evaluated after data cleaning processing.

[0059] Step S202: Perform format standardization processing on the bill information of the bill to be processed after data cleaning to obtain the bill information of the bill to be processed after format standardization processing.

[0060] Specifically, after data cleaning is performed on the multiple pieces of basic user information and basic ticket information corresponding to the bill to be evaluated represented by the ticket information of the bill to be processed, and the ticket information of the bill to be evaluated after data cleaning is obtained, the ticket information of the bill to be processed after data cleaning can be format standardized to obtain the ticket information of the bill to be processed after format standardization. Among them, format standardization refers to a format conversion method of converting the format of data into a standardized format, and the standardized format refers to the format of the data after format standardization, and the data in the standardized format meets the requirements for the data format in the next step of data processing.

[0061] As described in step S101, the ticket information of the ticket to be processed represents the basic user information and basic ticket information corresponding to the ticket to be processed. Optionally, the basic user information includes: qualitative basic user information and quantitative basic user information. The basic ticket information includes: qualitative basic ticket information and quantitative basic ticket information. Among them, qualitative refers to exploring the essence of things by non-quantitative means. Quantitative refers to attributes that exist in the form of quantity and can therefore be measured. Therefore, qualitative basic user information refers to basic user information described by non-quantitative means, and quantitative basic user information refers to basic user information described in the form of quantity; qualitative basic ticket information refers to basic ticket information described by non-quantitative means, and quantitative basic ticket information refers to basic ticket information described in the form of quantity. Optionally, on the basis that the basic user information includes: qualitative basic user information and quantitative basic user information. The basic ticket information includes: qualitative basic ticket information and quantitative basic ticket information, the ticket information of the evaluation ticket after data cleaning includes: qualitative basic user information corresponding to the ticket to be processed after multiple pieces of data cleaning, and quantitative basic user information corresponding to the ticket to be processed after multiple pieces of data cleaning. The bill information of the evaluation bill after data cleaning includes: qualitative basic bill information corresponding to the bill to be processed after multiple data cleaning, and quantitative basic bill information corresponding to the bill to be processed after multiple data cleaning.

[0062] Optionally, for data in different data formats, the corresponding format standardization processing methods are also different, that is, for quantitative data and qualitative data, the corresponding format standardization processing methods are also different. Among them, this application does not limit the format standardization processing methods corresponding to quantitative data and qualitative data. Optionally, the format standardization processing method corresponding to qualitative data can be determined as quantitative format standardization processing, that is, the qualitative data is quantified, for example: for qualitative basic bill information, whether it is a bill exchange bill, it can be quantified as: no-0, yes-1, optionally, the format standardization processing method corresponding to quantitative data can be determined as threshold format standardization processing, that is, the quantitative data is subjected to secondary quantization processing according to a preset threshold, for example: for quantitative basic user information, the number of employees can be secondary quantized as: if less than 100 people-0, if greater than or equal to 100 people and less than 1000 people-1, if greater than or equal to 1000 people-2.

[0063] Among them, the present application does not limit the process of performing format standardization processing on the bill information after data cleaning to obtain the bill information of the bill to be processed after format standardization processing. Optionally, quantitative format standardization processing can be performed on each of the multiple qualitative basic user information after data cleaning processing corresponding to the bill to be processed, and each of the multiple qualitative basic bill information after data cleaning processing corresponding to the bill to be processed, to obtain multiple qualitative basic user information after quantitative format standardization processing corresponding to the bill to be processed, and multiple qualitative basic bill information after quantitative format standardization processing; and threshold format standardization processing can be performed on each of the multiple quantitative basic user information after data cleaning processing corresponding to the bill to be processed, and each of the quantitative basic bill information after data cleaning processing corresponding to the bill to be processed, to obtain multiple quantitative basic user information after threshold format standardization processing corresponding to the bill to be processed, and multiple quantitative basic bill information after threshold format standardization processing. Then, the multiple pieces of qualitative basic user information after quantitative format standardization and the multiple pieces of qualitative basic ticket information after quantitative format standardization corresponding to the bills to be processed, as well as the multiple pieces of quantitative basic user information after threshold format standardization and the multiple pieces of quantitative basic ticket information after threshold format standardization corresponding to the bills to be processed are determined as the bill information of the bills to be processed after format standardization.

[0064] Among them, the description of the quantization format standardization processing and the threshold format standardization processing can refer to the above description, which will not be repeated here.

[0065] Among them, the present application performs threshold format standardization processing on each piece of quantitative basic user information after data cleaning processing in the multiple pieces of quantitative basic user information corresponding to the to-be-processed bills, and each piece of quantitative basic bill information after data cleaning processing in the multiple pieces of quantitative basic bill information corresponding to the to-be-processed bills, to obtain the process of multiple pieces of quantitative basic user information after threshold format standardization processing corresponding to the to-be-processed bills, and multiple pieces of quantitative basic bill information after threshold format standardization processing. Optionally, according to the above description of threshold format standardization processing, for different quantitative basic user information and different quantitative basic bill information, the corresponding thresholds for secondary quantization processing are different. Therefore, the quantitative basic user information after data cleaning processing corresponding to the to-be-processed bills can be determined first. The threshold information corresponding to each piece of quantitative basic user information after data cleaning in the basic user information; determine the threshold information corresponding to each piece of quantitative basic ticket information after data cleaning corresponding to the multiple pieces of quantitative basic ticket information to be processed; then, according to the threshold information corresponding to each piece of quantitative basic user information after data cleaning, perform threshold format standardization processing on the quantitative basic user information after each piece of data cleaning to obtain multiple pieces of quantitative basic user information after threshold format standardization corresponding to the to-be-processed tickets; according to the threshold information corresponding to each piece of quantitative basic ticket information after data cleaning, perform threshold format standardization processing on the quantitative basic ticket information after each piece of data cleaning to obtain multiple pieces of quantitative basic ticket information after threshold format standardization corresponding to the to-be-processed tickets.

[0066] Among them, the present application performs quantitative format standardization processing on each piece of qualitative basic user information after data cleaning processing in the multiple pieces of qualitative basic user information corresponding to the bills to be processed, and each piece of qualitative basic bill information after data cleaning processing in the multiple pieces of qualitative basic bill information corresponding to the bills to be processed, to obtain the multiple pieces of qualitative basic user information after quantitative format standardization processing corresponding to the bills to be processed, and the multiple pieces of qualitative basic bill information after quantitative format standardization processing are not limited. Optionally, according to the above description of quantitative format standardization processing, for different qualitative basic user information and different qualitative basic bill information, the corresponding thresholds for quantitative processing are different. Therefore, the qualitative basic information after data cleaning processing corresponding to the bills to be processed can be determined first. The threshold information corresponding to each piece of qualitative basic user information after data cleaning is obtained in the basic user information; the threshold information corresponding to each piece of qualitative basic invoice information after data cleaning is determined, and then, according to the threshold information corresponding to each piece of qualitative basic user information after data cleaning, the qualitative basic user information after each piece of data cleaning is standardized in a quantitative format to obtain multiple pieces of qualitative basic user information after quantitative format standardization corresponding to the invoice to be processed; according to the threshold information corresponding to each piece of qualitative basic invoice information after data cleaning, the qualitative basic invoice information after each piece of data cleaning is standardized in a quantitative format to obtain multiple pieces of qualitative basic invoice information after quantitative format standardization corresponding to the invoice to be processed.

[0067] Step S203: input the bill information of the bill to be processed after the format standardization processing into the pre-built payment risk classification model to obtain the payment risk category of the bill to be processed.

[0068] Specifically, the bill information of the bill to be processed after the format standardization process can be input into the pre-built payment risk classification model to obtain the payment risk category of the bill to be processed. For the description of the pre-built payment risk classification model and the payment risk category of the bill to be processed, please refer to the description in step S102, and this step will not be repeated.

[0069] In the process of obtaining the payment risk category of the bill to be processed according to the bill information of the bill to be processed and the pre-built payment risk classification model provided in the present embodiment, data cleaning is performed on a plurality of basic user information and basic bill information corresponding to the bill to be evaluated represented by the bill information of the bill to be processed to obtain the bill information of the bill to be evaluated after data cleaning, format standardization is performed on the bill information of the bill to be processed after data cleaning to obtain the bill information of the bill to be processed after format standardization, and the bill information of the bill to be processed after format standardization is input into the pre-built payment risk classification model to obtain the payment risk category of the bill to be processed, wherein the bill information of the bill to be processed after format standardization is input into the pre-built payment risk classification model to obtain the payment risk category of the bill to be processed, wherein the bill information of the bill to be processed after data cleaning and format standardization is input into the pre-built payment risk classification model to obtain the payment risk category of the bill to be processed, wherein the bill information of the bill to be processed after ... and the bill information of the bill to be processed after format standardization is input into the pre-built payment risk classification model to obtain the payment risk category of the bill to be processed, and the bill information of the bill to be processed after format standardization is input into the pre-built payment risk classification model to obtain the payment risk category of the bill to be processed, and the bill information of Standardization processing can effectively improve the accuracy of the bill information to be processed, and further improve the accuracy of the payment risk warning method based on the payment risk classification model; wherein, different format standardization processing methods are determined for quantitative data and qualitative data respectively, which can further improve the accuracy of the bill information to be processed on the basis of unified format standardization processing, and further improve the accuracy of the payment risk warning method based on the payment risk classification model; wherein, before format standardization processing is performed on different data, the threshold information corresponding to each data is obtained, which can further improve the accuracy of the bill information to be processed, and further improve the accuracy of the payment risk warning method based on the payment risk classification model.

[0070] Figure 3 A flowchart of a method for constructing a pre-built payment risk classification model provided in the third embodiment of the present application is shown in Figure 1 or Figure 2 Based on the illustrated embodiment, this embodiment describes in detail the construction process of the pre-built payment risk classification model.

[0071] like Figure 3 As shown, the method for constructing a pre-built payment risk classification model in this embodiment may include the following steps:

[0072] Step S301: Obtain a payment risk training set, and divide the payment risk training set into a training set and a validation set according to a preset ratio.

[0073] Specifically, a redemption risk training set can be obtained, and the redemption risk training set can be divided into a training set and a verification set according to a preset ratio. The description of the redemption risk training set can refer to the description in step S102, and this step will not be repeated. The preset ratio is a ratio preset according to user needs, such as 7:3. The training set is a set for training the redemption risk classification model, and the verification set is a set for verifying the redemption risk classification model.

[0074] Among them, the present application does not limit the process of obtaining the redemption risk training set. Optionally, the historical bill information of multiple historical bills can be obtained first. Among them, the historical bill information of historical bills represents the exchange result information corresponding to the historical bills. The exchange result information refers to the information that can represent the bill exchange result of the historical bill. Among them, the description of the bill exchange result can refer to the description in step S102, and this step will not be repeated. Optionally, after obtaining the historical bill information of multiple historical bills, the historical bill information of the obtained multiple historical bills can be subjected to data cleaning and format standardization processing. The specific process can refer to the description in steps S201 and S202, and this step will not be repeated. Then, according to the overall risk labeling algorithm, the historical bill information of the obtained multiple historical bills is subjected to overall risk labeling processing to obtain the redemption risk training set. Among them, the description of the overall risk labeling algorithm in this embodiment can refer to the description in step S102, and this step will not be repeated. Wherein, as described in step S102, for different risk label overall marking algorithms, the corresponding historical bill information of multiple historical bills that have completed risk label marking processing based on the risk label overall marking algorithm to generate the process of redemption risk training set is also different. Wherein, the present application does not limit the process of performing overall risk label marking processing on the historical bill information of multiple historical bills acquired according to the risk label overall marking algorithm to obtain the redemption risk training set. Optionally, for the risk label overall marking algorithm provided by the present application, the risk label overall marking processing on the historical bill information of multiple historical bills acquired according to the risk label overall marking algorithm may include: first, according to the exchange result information corresponding to the historical bill represented by each historical bill information, the loss information is calculated and processed for each historical bill, and the result information of the loss information calculation and processing corresponding to each historical bill is obtained. Wherein, if the result information of the loss information calculation and processing corresponding to the historical bill is calculated successfully, the risk label corresponding to the historical bill is determined according to the calculated loss information, and the historical bill information corresponding to the historical bill is labelled and processed according to the calculated risk label, and the historical bill information of the historical bill with the risk label marked is obtained. Then, the first set and the second set are generated according to the historical bill information of the historical bill with the risk label marked. The first set includes the historical bill information of each historical bill with a risk label. The second set includes the historical bill information of each historical bill without a risk label. Finally, the historical bill information of each historical bill without a risk label included in the second set is labeled according to the first set to obtain the payment risk training set.Among them, according to the loss information calculation and processing for each historical bill, and according to the result information of the loss information calculation and processing corresponding to each historical bill, the historical bill information of multiple historical bills is overall labeled to obtain the redemption risk training set, which can improve the accuracy and efficiency of obtaining the redemption risk training set, reduce the acquisition cost, further improve the accuracy of the redemption risk warning method based on the redemption risk classification model, and also improve the accuracy of the redemption risk warning method based on the redemption risk classification model.

[0075] Among them, the present application does not limit the process of calculating and processing the loss information of each historical bill according to the exchange result information corresponding to the historical bill represented by each historical bill information, and obtaining the result information of the loss information calculation and processing corresponding to each historical bill. Optionally, the exchange result information corresponding to each historical bill represented by the historical bill information can be firstly processed to extract the bill amount information to obtain the extraction result. Among them, the bill amount information includes: the principal information, actual income information, deserved income information and overdue cost information of the bill. Among them, the principal amount of the bill is the principal amount of the bill; the actual income information is the actual redemption amount, wherein if the historical bill is not redeemed, the actual redemption amount is 0; the deserved income information is the amount that should be obtained when the redemption is normal, wherein the deserved income information should be equal to or greater than the principal amount; the overdue cost information is the interest amount corresponding to the deserved income during the overdue period when the redemption is overdue. Among them, this application does not limit the extraction process of overdue cost information. Optionally, the deserved income information of the historical bill and the bank interest rate information corresponding to the historical bill can be extracted first, and the overdue cost information corresponding to the historical bill can be further determined based on the deserved income information of the historical bill, the corresponding bank interest rate information and the preset correction weight. Among them, the preset correction weight can be preset according to the needs of the user, and this embodiment does not limit it. Among them, if the historical bill is not an overdue bill, the amount corresponding to the overdue cost information extracted is 0.

[0076] If the extraction processing result is extraction failure, the result information of the loss information calculation processing corresponding to the historical bill is determined to be calculation failure. Specifically, if the bill amount information cannot be extracted from the exchange result information corresponding to the historical bill, the loss information corresponding to the historical bill cannot be calculated, and therefore, the result information of the loss information calculation processing corresponding to the historical bill is determined to be calculation failure.

[0077] If the extraction processing result is successful, the loss information corresponding to the historical bill is determined based on the actual income information, the income information that should be earned, and the overdue cost information included in the extracted bill amount information. The present application does not limit the process of determining the loss information corresponding to the historical bill based on the actual income information, the income information that should be earned, and the overdue cost information included in the extracted bill amount information. Optionally, the calculation formula can be as follows:

[0078] V k =V y +V l -V s (1)

[0079] Among them, V k is the loss amount corresponding to the loss information, V y is the amount of income that should be earned, V l is the interest amount corresponding to the overdue situation, V s It is the actual redemption amount corresponding to the actual income information.

[0080] Among them, according to the exchange result information corresponding to the historical bill represented by each historical bill information, the loss information of each historical bill is calculated and processed, and the result information of the loss information calculation and processing corresponding to each historical bill is obtained. If the result information of the loss information calculation and processing corresponding to the historical bill is calculated successfully, the risk label corresponding to the historical bill can be determined according to the calculated loss information, and the historical bill information corresponding to the historical bill can be labeled according to the calculated risk label. The process of obtaining the historical bill information of the historical bill marked with the risk label is not limited. Among them, the bill amount information also includes: the principal information of the bill, wherein the principal amount V of the bill corresponding to the principal information of the bill b For the description, please refer to the above description, which will not be repeated here.

[0081] Among them, the present application does not limit the process of determining the risk label corresponding to the historical bill according to the calculated loss information. Optionally, if the loss amount corresponding to the calculated loss information is greater than zero and less than the first difference, the risk label corresponding to the historical bill is determined to be the second label. The first difference is the difference between the actual redemption amount corresponding to the actual income information and the principal amount of the bill corresponding to the principal information of the bill. Specifically, according to the calculation formula (1) above and the description, the principal amount V of the bill corresponding to the principal information of the bill b The expression of the first difference is: V s -V b , if 0 <V k <V s -V b, then the risk label corresponding to the historical bill is determined to be the second label A2. The second label is the label corresponding to the loss amount when it is less than the profit amount, that is, the difference between the actual redemption amount and the principal amount.

[0082] Optionally, if the loss amount corresponding to the calculated loss information is greater than or equal to the first difference and less than the second difference, the risk label corresponding to the historical bill is determined to be the third label. The second difference is the difference between the actual redemption amount corresponding to the actual income information and the principal amount of the bill corresponding to the principal information of the N-fold bill. Among them, N is a decimal greater than zero and less than 1. Among them, the risk level corresponding to the third label is higher than the risk level corresponding to the second label. Specifically, according to the above calculation formula (1) and the description, the principal amount V of the bill corresponding to the principal information of the bill b The second difference is expressed as: V s -N*V b , if V s -V b ≤V k <V s -N*V b , then the risk label corresponding to the historical bill is determined to be the third label A3, where the value of N can be preset according to user needs, for example, set to 0.8. If N is preset to 0.8, the third label is the label corresponding to the loss amount when it is greater than or equal to the profit amount and less than 20% of the principal amount.

[0083] Optionally, if the loss amount corresponding to the calculated loss information is greater than or equal to the second difference, the risk label corresponding to the historical bill is determined to be the fourth label. The risk level corresponding to the fourth label is higher than the risk level corresponding to the third label. Specifically, if N is preset to 0.8, the fourth label is the label corresponding to the loss amount when it is greater than or equal to 20% of the principal amount.

[0084] If the result information of the calculation and processing of the loss information corresponding to the historical bill is that the calculation is successful, and the risk label corresponding to the historical bill is determined according to the calculated loss information, and the historical bill information corresponding to the historical bill is labeled according to the calculated risk label to obtain the historical bill information of the historical bill with the risk label, the first set and the second set can be generated according to the historical bill information of the historical bill with the risk label. The first set includes the historical bill information of each historical bill with the risk label. That is, the first set Su includes the historical bill information of all historical bills for which the risk label has been determined according to the calculated loss information and the risk label has been marked. The second set includes the historical bill information of each historical bill without the risk label. That is, the historical bill information of the obtained multiple historical bills is screened according to the first set, and the historical bill information of all the remaining historical bills without the risk label is determined as the second set. The bill information of the historical bills included in the second set Sy includes the historical information of the historical bills corresponding to the extraction result of the extraction of the bill amount information described above as failure to extract, and also includes the historical information of the historical bills corresponding to the loss amount corresponding to the calculated loss information as less than or equal to zero as described above.

[0085] Wherein, after generating the first set and the second set based on the historical bill information of the historical bills with marked risk labels, the historical bill information of each historical bill with no risk label included in the second set can be labelled according to the first set to obtain a redemption risk training set, wherein the present application does not limit the process of labelling the historical bill information of each historical bill with no risk label included in the second set according to the first set to obtain a redemption risk training set, wherein the historical bill information of the historical bill also represents the basic user information and basic bill information corresponding to the historical bill, wherein the description of the basic user information and the basic bill information can refer to the description in step S201, and this step will not be repeated. Optionally, the historical bill information of each historical bill with no risk label represented by the historical bill information of each historical bill in the first set and the second set can be used to perform similarity calculation processing on the historical bill information of each historical bill with no risk label and the historical bill information of each historical bill with a marked risk label in the first set, to obtain a similarity set corresponding to the historical bill information of each historical bill with no risk label.

[0086] The similarity calculation formula is as follows:

[0087]

[0088] Among them, J tis the similarity between the current sample and a comparison sample, where the current sample refers to the historical data of a historical bill without a risk label in the second set, and the comparison sample refers to the historical information of a historical bill with a risk label in the first set, where a and b are correction weights, which are optional and can be preset according to user needs, for example: a=b=1, where K ui is the sample A currently selected for calculation in the first set Su, that is, the data value of the i-th row in the quantitative data of the current sample A. For example, the quantitative data of the first row is the registered capital, K yi is the sample B currently selected for calculation in the second set Sy, that is, the data value of the i-th row in the quantitative data of the comparison sample B, where m is the total number of quantitative data, and J i It is the ratio of the number of identical qualitative data to the total number of qualitative data between the current sample A and the comparison sample B. For example, if the number of identical qualitative data is 10 and the total number of qualitative data is 20, then J i =0.5. The quantitative data described in this step includes the quantitative basic user information in the basic user information and the quantitative basic ticket information in the basic ticket information. For the description of the quantitative basic user information and the quantitative basic ticket information, reference can be made to the description in step S201, and this step will not be repeated. The qualitative data described in this step includes the qualitative basic user information in the basic user information and the qualitative basic ticket information in the basic ticket information. For the description of the qualitative basic user information and the qualitative basic ticket information, reference can be made to the description in step S201, and this step will not be repeated.

[0089] Optionally, the similarity calculation process described above can be exhaustively calculated, that is, the similarity value between the current sample and each comparison sample is calculated to obtain a similarity set corresponding to the current sample, wherein the similarity set includes the historical bill information of the historical bills without risk labels and the similarity value of the historical bill information of each historical bill with risk labels in the first set. That is, the similarity set corresponding to the current sample includes the similarity value between the current sample and each comparison sample in the first set.

[0090] Optionally, after obtaining the similarity set corresponding to the historical bill information of each historical bill without risk label, the risk label of the historical bill information of each historical bill without risk label can be determined according to the preset similarity risk threshold and the similarity set corresponding to the historical bill information of each historical bill without risk label, and the historical bill information of each historical bill without risk label is subjected to label marking processing. Then, the payment risk training set is determined according to the historical bill information of each historical bill without risk label after label marking processing and the historical bill information of each historical bill with risk label included in the first set.

[0091] Among them, the preset similarity threshold is the threshold of the minimum similarity that is considered to be at risk, that is, if the historical bill information of the historical bills without risk labels included in the similarity set and each similarity value of the historical bill information of each historical bill with risk labels in the first set have a similarity value greater than the preset similarity threshold, then it is determined that the historical bills without risk labels corresponding to the similarity set have a redemption risk. Among them, the preset similarity threshold can be preset according to the needs of the user, and this application does not limit it. Optionally, it can be preset according to the overall redemption risk ratio of the industry, for example: 60%. Specifically, the similarity threshold can be set according to the number of bill information of multiple historical bills that can be obtained, the number of bill information of historical bills with risk labels in the first set, and the obtained overall redemption risk ratio of the industry, so that the proportion of risk labels finally marked with redemption risk is the same as the overall redemption ratio of the industry.

[0092] Among them, the present application does not limit the process of determining the risk label of the historical bill information of each historical bill without risk label according to the preset similarity risk threshold and the similarity set corresponding to the historical bill information of each historical bill without risk label, and labeling the historical bill information of each historical bill without risk label. Optionally, if each similarity value of the historical bill information of the historical bill without risk label included in the similarity set and the historical bill information of each historical bill with risk label in the first set is less than the preset similarity risk threshold, then the risk label corresponding to the historical bill is determined to be the first label. Among them, the first label represents that the historical bill has no redemption risk. Among them, the identifier of the first label is A1. If each similarity value of the historical bill information of the historical bill without risk label included in the similarity set and the historical bill information of each historical bill with risk label in the first set includes at least one similarity value greater than or equal to the preset similarity risk threshold, then the risk label corresponding to the maximum similarity value among at least one similarity value greater than or equal to the preset similarity risk threshold is determined as the risk label of the historical bill information of the historical bill without risk label.

[0093] Specifically, the risk label corresponding to the maximum similarity value refers to the bill information of the historical bill with the marked risk label corresponding to the maximum similarity value, the marked risk label, for example: a certain sample A in the first set, the second set Sy has only two comparison samples B1 and B2, the risk label corresponding to B1 is the second risk label A2, the risk label corresponding to B2 is the third risk label A3, the similarity value Jt calculated between the current sample A and the comparison sample B1 is 1, the similarity value Jt calculated between the current sample A and the comparison sample B2 is 2, the similarity threshold is 0.5, then it is determined that the risk label of the current sample A is the risk label of the comparison sample B2, that is, the third risk label A3.

[0094] Optionally, determining the risk label of the historical bill information of each historical bill without a risk label according to a preset similarity risk threshold and a similarity set corresponding to the historical bill information of each historical bill without a risk label may also include:

[0095] First, from the similarity set corresponding to the historical bill information of each historical bill without a risk label, extract the maximum similarity value corresponding to the historical bill information of each historical bill without a risk label; if the maximum similarity value corresponding to the historical bill information of the historical bill without a risk label is less than a preset similarity risk threshold, determine that the risk label of the historical bill information of the historical bill without a risk label is the first label; if the maximum similarity value corresponding to the historical bill information of the historical bill without a risk label is greater than or equal to the preset similarity risk threshold, then determine the risk label of the historical bill information of the historical bill with a risk label corresponding to the maximum similarity threshold as the risk label of the historical bill information of the historical bill without a risk label.

[0096] Among them, the present application does not limit the process of determining the redemption risk training set based on the historical bill information of each historical bill without a risk label after label marking, and the historical bill information of each historical bill with a risk label included in the first set, wherein the historical bill information of each historical bill included in the redemption risk training set is marked with a risk label.

[0097] Step S302: training the basic classification model according to the training set to obtain a trained classification model.

[0098] Specifically, the basic classification model can be trained according to the training set obtained by the division in step S301 to obtain a trained classification model. Among them, the present application does not limit the process of training the basic classification model according to the training set to obtain the trained classification model. Optionally, the historical bill information of the historical bill to be trained can be extracted from the training set, and then the historical bill information of the historical bill to be trained can be input into the basic classification model to obtain the classification result of the historical bill to be trained. Then, according to the classification result of the historical bill to be trained and the label of the historical bill information of the historical bill to be trained, the model parameters of the basic classification model are adjusted to obtain the trained classification model, that is, the basic classification model that completes the first model training.

[0099] Among them, the basic classification model refers to a basic model that can classify the input data. This application does not limit the type of the basic classification model. Any basic model that can classify the input data can be used as the basic classification model provided by this application. Optionally, the classification model based on Transformer can be determined as the basic classification model provided by this application. Among them, Transformer is a neural network model based on the self-attention mechanism. It has a faster training speed than traditional convolutional neural network and recurrent neural network models. More importantly, it has better performance on ultra-large-scale data sets. Therefore, according to the classification model based on Transformer, the pre-constructed redemption risk classification model trained can improve the training efficiency and model accuracy of the pre-constructed redemption risk classification model. Among them, this application does not limit the construction of the classification model based on Transformer. Optionally, the complete structure of Transformer is a combination of encoder (Encoder) and decoder (Decoder) based on the attention mechanism. The encoder is responsible for feature encoding to obtain high-dimensional semantic information, and the decoder is responsible for generating detailed information. In the classification task of the present invention, only the decoder part is used, that is, the historical bill information of each historical bill to be trained is formed into a vector form as the model input of the transformer, and the classification information is output. Among them, the attention mechanism Self-Attention is the core of the transformer, and the content of the self-attention mechanism is to learn a weight for each element of the input vector. By giving a task-related query vector Query vector, the similarity or correlation between the Query and each Key is calculated to obtain the attention distribution, that is, the weight coefficient of the Value corresponding to each Key is obtained, and then the Value is weighted and summed to obtain the final Attention value. Specifically, first, in Self-Attention, the initial input vector will first be mapped into three vectors Q (Query), K (Key), and V (Value) through the Embedding layer, and then the weights between each vector are obtained. Finally, according to the three vectors Q (Query), K (Key), and V (Value), and the weights between each vector, the final Attention value is determined. According to the Self-Attention structure determined based on the final Attention value, the Transformer encoder can be formed by splicing the Feed Forward neural network, the ResidualConnection neural network, the normalization processing module and other structures. The stacking of multiple Transformer encoders completes the Transformer-based classification model, that is, the construction of the basic classification model.

[0100] Step S303: verify the trained classification model according to the verification set. If the verification is passed, the trained classification model is determined as the pre-built payment risk classification model. Otherwise, repeat the process of re-training the trained classification model according to the training set and re-verifying the re-trained classification model according to the verification set until it passes the verification.

[0101] Specifically, the trained classification model obtained in step S302 can be verified according to the verification set divided in step S301, wherein the present application does not limit the process of verifying the trained classification model according to the verification set. Optionally, historical bill information of the historical bills to be verified can be extracted from the verification set, and then the historical bill information of the historical bills to be verified can be input into the trained classification model to obtain the classification results of the historical bills to be verified. Then, based on the classification results of the historical bills to be verified and the labels of the historical bill information of the historical bills to be verified, the trained classification model can be verified to obtain the verification results of the trained classification model. Among them, the present application does not limit the process of verifying the trained classification model based on the classification results of the historical bills to be verified and the labels of the historical bill information of the historical bills to be verified. Optionally, the loss function value of the trained classification model can be calculated based on the classification results of the historical bills to be verified and the labels of the historical bill information of the historical bills to be verified, and whether the trained classification model has passed the verification is determined according to a preset loss function threshold. For example: if the loss function value of the trained classification model is less than or equal to the preset loss function threshold, it is determined that the trained classification model has passed the verification; if the loss function value of the trained classification model is greater than the preset loss function threshold, it is determined that the trained classification model has not passed the verification.

[0102] Specifically, after the process of verifying the trained classification model according to the verification set described above, if the result of the verification process is that the verification is passed, the trained classification model is determined as the pre-built redemption risk classification model; otherwise, if the result of the verification process is that the verification is not passed, repeat the steps described in step S302, that is, re-training the trained classification model according to the training set, and the steps described above, that is, re-verifying the re-trained classification model according to the verification set, until it passes the verification, that is, if the result of the re-verification process is that the verification is passed, the re-trained classification model is determined as the pre-built redemption risk classification model, otherwise, repeat the steps described in step S302, that is, training the re-trained classification model three times according to the training set, and the steps described above, that is, verifying the classification model that has been trained three times four times according to the verification set, until it passes the verification.

[0103] The construction process of the pre-constructed payment risk classification model provided in the present embodiment is to obtain a payment risk training set, and divide the payment risk training set into a training set and a verification set according to a preset ratio, train the basic classification model according to the training set to obtain a trained classification model, and verify the trained classification model according to the verification set. If the verification is passed, the trained classification model is determined as the pre-constructed payment risk classification model, otherwise, the process of re-training the trained classification model according to the training set and re-verifying the re-trained classification model according to the verification set is repeated until the verification is passed. The pre-constructed payment risk classification model constructed according to the payment risk training set has high accuracy and low cost, which further improves the accuracy of the payment risk warning method based on the payment risk classification model and reduces the cost of the payment risk warning method based on the payment risk classification model.

[0104] In a possible embodiment, before the historical bill information of the acquired multiple historical bills is subjected to overall risk labeling processing according to the overall risk labeling algorithm to obtain the payment risk training set, the historical bill information of the acquired multiple historical bills can be subjected to feature extraction processing, wherein the present application does not limit the process of feature extraction processing of the historical bill information of the acquired multiple historical bills, and optionally, feature extraction can be performed according to a pre-built random forest feature selector. This improves the accuracy of the payment risk training set and further improves the accuracy of the payment risk warning method based on the payment risk classification model.

[0105] Figure 4 A structural schematic diagram of a payment risk warning device based on a payment risk classification model provided in the fourth embodiment of the present application.

[0106] like Figure 4 As shown, the payment risk warning device 40 based on the payment risk classification model of this embodiment includes: a first acquisition module 401, a second acquisition module 402 and a warning module 403.

[0107] The first acquisition module 401 is used to acquire the ticket information of the ticket to be processed; wherein the ticket information of the ticket to be processed represents the basic user information and basic ticket information corresponding to the ticket to be processed;

[0108] The second acquisition module 402 is used to obtain the payment risk category of the bill to be processed according to the bill information of the bill to be processed and the pre-constructed payment risk classification model; wherein the pre-constructed payment risk classification model is a classification model constructed based on the payment risk training set; the payment risk training set is the historical bill information of multiple historical bills that have completed the risk labeling processing based on the risk label overall labeling algorithm; the risk label overall labeling algorithm represents the overall risk labeling processing of the historical bill information of multiple historical bills;

[0109] The prompt module 403 is used to generate and issue prompt information according to the payment risk category of the bill to be processed; wherein the prompt information represents the payment risk of the bill to be processed.

[0110] In a possible embodiment, the second acquisition module 402 includes: a data cleaning unit 4021 (not shown in the figure), which is used to perform data cleaning processing on multiple basic user information and basic bill information corresponding to the bill to be evaluated represented by the bill information of the bill to be processed, so as to obtain the bill information of the bill to be evaluated after the data cleaning processing; a first processing unit 4022 (not shown in the figure), which is used to perform format standardization processing on the bill information of the bill to be processed after the data cleaning, so as to obtain the bill information of the bill to be processed after the format standardization processing; a first acquisition unit 4023 (not shown in the figure), which is used to input the bill information of the bill to be processed after the format standardization processing into a pre-built payment risk classification model to obtain the payment risk category of the bill to be processed.

[0111] In a possible embodiment, the basic user information includes: qualitative basic user information and quantitative basic user information; the bill information of the evaluation bill after data cleaning processing includes: multiple pieces of qualitative basic user information corresponding to the bill to be processed after data cleaning processing, and multiple pieces of quantitative basic user information corresponding to the bill to be processed after data cleaning processing; the basic bill information includes: qualitative basic bill information and quantitative basic bill information; the bill information of the evaluation bill after data cleaning processing includes: multiple pieces of qualitative basic bill information corresponding to the bill to be processed after data cleaning processing, and multiple pieces of quantitative basic bill information corresponding to the bill to be processed after data cleaning processing; the first processing unit 4022 (not shown in the figure) includes: a first processing subunit 40221 (not shown in the figure), which is used to perform quantitative format standardization processing on each piece of qualitative basic user information after data cleaning processing in the multiple pieces of qualitative basic bill information corresponding to the bill to be processed after data cleaning processing, and each piece of qualitative basic bill information after data cleaning processing in the multiple pieces of qualitative basic bill information corresponding to the bill to be processed after data cleaning processing, to obtain multiple pieces of qualitative basic bill information corresponding to the bill to be processed. The qualitative basic user information after the quantitative format standardization processing and the multiple qualitative basic ticket information after the quantitative format standardization processing; the second processing sub-unit 40222 (not shown in the figure) is used to perform threshold format standardization processing on each piece of quantitative basic user information after the data cleaning processing among the multiple pieces of quantitative basic user information after the data cleaning processing corresponding to the bill to be processed, and each piece of quantitative basic ticket information after the data cleaning processing among the multiple pieces of quantitative basic ticket information after the data cleaning processing corresponding to the bill to be processed, so as to obtain multiple pieces of quantitative basic user information after the threshold format standardization processing and the multiple pieces of quantitative basic ticket information after the threshold format standardization processing corresponding to the bill to be processed; the determination sub-unit 40223 (not shown in the figure) is used to determine the multiple pieces of qualitative basic user information after the quantitative format standardization processing and the multiple pieces of qualitative basic ticket information after the quantitative format standardization processing corresponding to the bill to be processed, as well as the multiple pieces of quantitative basic user information after the threshold format standardization processing and the multiple pieces of quantitative basic ticket information after the threshold format standardization processing corresponding to the bill to be processed as the bill information of the bill to be processed after format standardization processing.

[0112] In a possible embodiment, the second processing sub-unit 40222 (not shown in the figure) is specifically used to determine the threshold information corresponding to each piece of quantitative basic user information after data cleaning processing, among the multiple pieces of quantitative basic invoice information after data cleaning processing corresponding to the bill to be processed; determine the threshold information corresponding to each piece of quantitative basic invoice information after data cleaning processing corresponding to the bill to be processed; according to the threshold information corresponding to each piece of quantitative basic user information after data cleaning processing, perform threshold format standardization processing on the quantitative basic user information after each piece of data cleaning processing to obtain multiple pieces of quantitative basic user information after threshold format standardization processing corresponding to the bill to be processed; according to the threshold information corresponding to each piece of quantitative basic invoice information after data cleaning processing, perform threshold format standardization processing on the quantitative basic invoice information after each piece of data cleaning processing to obtain multiple pieces of quantitative basic invoice information after threshold format standardization processing corresponding to the bill to be processed.

[0113] In a possible embodiment, the payment risk warning device 40 based on the payment risk classification model also includes: a third acquisition module 404 (not shown in the figure), which is used to obtain a payment risk training set, and divide the payment risk training set into a training set and a verification set according to a preset ratio; a training module 405 (not shown in the figure), which is used to train the basic classification model according to the training set to obtain a trained classification model; a verification module 406 (not shown in the figure), which is used to verify the trained classification model according to the verification set. If the verification passes, the trained classification model is determined as a pre-constructed payment risk classification model. Otherwise, the process of re-training the trained classification model according to the training set and re-verifying the re-trained classification model according to the verification set is repeated until the verification passes.

[0114] In a possible embodiment, the third acquisition module 404 (not shown in the figure) includes: a second acquisition unit 4041 (not shown in the figure), used to obtain historical bill information of multiple historical bills; a second processing unit 4042 (not shown in the figure), used to perform overall risk labeling processing on the acquired historical bill information of the multiple historical bills according to the risk label overall labeling algorithm to obtain a redemption risk training set.

[0115] In a possible embodiment, the historical bill information of the historical bill represents the exchange result information corresponding to the historical bill; the second processing unit 4042 (not shown in the figure) includes: a third processing sub-unit 40421 (not shown in the figure) for calculating and processing the loss information of each historical bill according to the exchange result information corresponding to the historical bill represented by each historical bill information, and obtaining the result information of the loss information calculation processing corresponding to each historical bill; a fourth processing sub-unit 40422 (not shown in the figure) for determining the risk label corresponding to the historical bill according to the calculated loss information if the result information of the loss information calculation processing corresponding to the historical bill is a successful calculation, and determining the risk label corresponding to the historical bill according to the calculated loss information, and determining the risk label corresponding to the historical bill according to the calculated risk information. The risk label is used to label the historical bill information corresponding to the historical bill to obtain the historical bill information of the historical bill marked with the risk label; the generation sub-unit 40423 (not shown in the figure) is used to generate the first set and the second set according to the historical bill information of the historical bill marked with the risk label; wherein the first set includes the historical bill information of each historical bill marked with the risk label; the second set includes the historical bill information of each historical bill without a risk label; the fifth processing sub-unit 40424 (not shown in the figure) is used to label the historical bill information of each historical bill without a risk label included in the second set according to the first set to obtain the payment risk training set.

[0116] In a possible embodiment, the third processing sub-unit 40421 (not shown in the figure) is specifically used to extract the bill amount information of the redemption result information corresponding to each historical bill represented by the historical bill information, and obtain the extraction processing result; wherein the bill amount information includes: the principal information, actual income information, deserved income information and overdue cost information of the bill; if the extraction processing result is an extraction failure, then the result information of the loss information calculation processing corresponding to the historical bill is determined to be a calculation failure; if the extraction processing result is a successful extraction, then the loss information corresponding to the historical bill is determined based on the actual income information, deserved income information and overdue cost information included in the extracted bill amount information.

[0117] In a possible embodiment, the bill amount information also includes: the principal information of the bill, and the third processing subunit 40421 (not shown in the figure) is also specifically used to determine that the risk label corresponding to the historical bill is the second label if the loss amount corresponding to the calculated loss information is greater than zero and less than the first difference; the first difference is the difference between the actual redemption amount corresponding to the actual income information and the principal amount of the bill corresponding to the principal information of the bill; if the loss amount corresponding to the calculated loss information is greater than or equal to the first difference and less than the second difference, then the risk label corresponding to the historical bill is determined to be the third label; the second difference is the difference between the actual redemption amount corresponding to the actual income information and the principal amount of the bill corresponding to the principal information of N times the bill; wherein N is a decimal greater than zero and less than 1; wherein the risk level corresponding to the third label is higher than the risk level corresponding to the second label; if the loss amount corresponding to the calculated loss information is greater than or equal to the second difference, then the risk label corresponding to the historical bill is determined to be the fourth label; wherein the risk level corresponding to the fourth label is higher than the risk level corresponding to the third label.

[0118] In a possible embodiment, the historical bill information of the historical bill also represents the basic user information and basic bill information corresponding to the historical bill; the fifth processing sub-unit 40424 (not shown in the figure) is specifically used to perform similarity calculation processing on the historical bill information of each historical bill without a risk label and the historical bill information of each historical bill with a risk label in the first set according to the basic user information and basic bill information corresponding to the historical bill represented by the historical bill information of each historical bill in the first set and the second set, so as to obtain a similarity set corresponding to the historical bill information of each historical bill without a risk label; wherein the similarity set includes the historical bill information of the historical bill without a risk label and the similarity value of the historical bill information of each historical bill with a risk label in the first set; according to a preset similarity risk threshold and the similarity set corresponding to the historical bill information of each historical bill without a risk label, determine the risk label of the historical bill information of each historical bill without a risk label, and perform label marking processing on the historical bill information of each historical bill without a risk label; according to the historical bill information of each historical bill without a risk label after label marking processing and the historical bill information of each historical bill with a risk label included in the first set, determine the redemption risk training set.

[0119] In a possible embodiment, the fifth processing sub-unit 40424 (not shown in the figure) is also specifically used to determine that the risk label corresponding to the historical bill is the first label if each similarity value of the historical bill information of the historical bill without risk label included in the similarity set and the historical bill information of each historical bill with risk label in the first set is less than a preset similarity risk threshold; wherein the first label represents that the historical bill has no redemption risk; if each similarity value of the historical bill information of the historical bill without risk label included in the similarity set and the historical bill information of each historical bill with risk label in the first set includes at least one similarity value greater than or equal to the preset similarity risk threshold, then the risk label corresponding to the maximum similarity value among at least one similarity value greater than or equal to the preset similarity risk threshold is determined as the risk label of the historical bill information of the historical bill without risk label.

[0120] The device provided in this embodiment can be used to execute the above method embodiment Figures 1 to 3 The technical solution has similar implementation principles and technical effects, which will not be described in detail in this embodiment.

[0121] Figure 5 A schematic diagram of the structure of an electronic device provided in the fifth embodiment of the present application.

[0122] like Figure 5 As shown, the electronic device 50 of this embodiment includes: a processor 51 , a memory 52 , and a communication interface 53 .

[0123] The memory 52 is used to store executable instructions of the processor;

[0124] The processor 51 is configured to execute the above method embodiment by executing executable instructions. Figures 1 to 3 Any one of the payment risk warning methods based on the payment risk classification model.

[0125] In the above Figure 5 In the illustrated embodiment, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0126] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.

[0127] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0128] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the above method embodiment. Figures 1 to 3 Any one of the payment risk warning methods based on the payment risk classification model.

[0129] The present application also provides a computer program product, including a computer program, which is executed by a processor to perform the above method embodiment. Figures 1 to 3 Any one of the payment risk warning methods based on the payment risk classification model.

[0130] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0131] It should be further noted that, although the various steps in the flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flow chart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0132] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.

[0133] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.

[0134] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. If not specifically stated, the processor may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. If not specifically stated, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc.

[0135] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0136] In the above embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0137] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0138] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A payment risk warning method based on a payment risk classification model, characterized in that: include: Obtaining the ticket information of the ticket to be processed; wherein the ticket information of the ticket to be processed represents the basic user information and basic ticket information corresponding to the ticket to be processed; According to the bill information of the bill to be processed and the pre-constructed payment risk classification model, the payment risk category of the bill to be processed is obtained; wherein the pre-constructed payment risk classification model is a classification model constructed based on a payment risk training set; the payment risk training set is the historical bill information of multiple historical bills that have completed risk labeling processing based on the risk label overall labeling algorithm; the risk label overall labeling algorithm represents the overall risk labeling processing of the historical bill information of multiple historical bills; According to the payment risk category of the bill to be processed, a prompt message is generated and issued; wherein the prompt message represents the payment risk of the bill to be processed.

2. The method according to claim 1, characterized in that According to the bill information of the bill to be processed and the pre-built payment risk classification model, the payment risk category of the bill to be processed is obtained, including: Performing data cleaning on the multiple pieces of basic user information and basic ticket information corresponding to the ticket to be evaluated represented by the ticket information of the ticket to be processed, to obtain the ticket information of the ticket to be evaluated after data cleaning; Performing format standardization processing on the bill information of the bill to be processed after data cleaning, to obtain the bill information of the bill to be processed after format standardization processing; The bill information of the bill to be processed after the format standardization processing is input into the pre-built payment risk classification model to obtain the payment risk category of the bill to be processed.

3. The method according to claim 2, characterized in that The basic user information includes: qualitative basic user information and quantitative basic user information; the bill information of the evaluation bill after data cleaning includes: qualitative basic user information corresponding to the bill to be processed after multiple data cleaning, and quantitative basic user information corresponding to the bill to be processed after multiple data cleaning; the basic bill information includes: qualitative basic bill information and quantitative basic bill information; the bill information of the evaluation bill after data cleaning includes: qualitative basic bill information corresponding to the bill to be processed after multiple data cleaning, and quantitative basic bill information corresponding to the bill to be processed after multiple data cleaning; The format of the bill information after data cleaning is standardized to obtain the bill information of the bill to be processed after the format standardization, including: Performing quantitative format standardization processing on each piece of qualitative basic user information after data cleaning processing among the multiple pieces of qualitative basic bill information after data cleaning processing corresponding to the bills to be processed, and each piece of qualitative basic bill information after data cleaning processing among the multiple pieces of qualitative basic bill information after data cleaning processing corresponding to the bills to be processed, to obtain multiple pieces of qualitative basic user information after quantitative format standardization processing and multiple pieces of qualitative basic bill information after quantitative format standardization processing corresponding to the bills to be processed; Perform threshold format standardization processing on each piece of quantitative basic user information after data cleaning processing among the multiple pieces of quantitative basic ticket information after data cleaning processing corresponding to the to-be-processed ticket, and each piece of quantitative basic ticket information after data cleaning processing among the multiple pieces of quantitative basic ticket information after data cleaning processing corresponding to the to-be-processed ticket, to obtain multiple pieces of quantitative basic user information after threshold format standardization processing and multiple pieces of quantitative basic ticket information after threshold format standardization processing corresponding to the to-be-processed ticket; The multiple pieces of qualitative basic user information after quantitative format standardization and the multiple pieces of qualitative basic ticket information after quantitative format standardization corresponding to the bills to be processed, as well as the multiple pieces of quantitative basic user information after threshold format standardization and the multiple pieces of quantitative basic ticket information after threshold format standardization corresponding to the bills to be processed, are determined as the bill information of the bills to be processed after format standardization.

4. The method according to claim 3, characterized in that Perform threshold format standardization processing on each piece of quantitative basic user information after data cleaning processing corresponding to the multiple pieces of quantitative basic ticket information after data cleaning processing corresponding to the to-be-processed ticket, and obtain multiple pieces of quantitative basic user information after threshold format standardization processing corresponding to the to-be-processed ticket, and multiple pieces of quantitative basic ticket information after threshold format standardization processing, including: Determine the threshold information corresponding to each piece of quantitative basic user information after data cleaning processing among the multiple pieces of quantitative basic user information corresponding to the to-be-processed bills; determine the threshold information corresponding to each piece of quantitative basic bill information after data cleaning processing among the multiple pieces of quantitative basic bill information corresponding to the to-be-processed bills; According to the threshold information corresponding to each piece of quantitative basic user information after data cleaning, threshold format standardization processing is performed on each piece of quantitative basic user information after data cleaning, and multiple pieces of quantitative basic user information after threshold format standardization processing corresponding to the bills to be processed are obtained; according to the threshold information corresponding to each piece of quantitative basic bill information after data cleaning, threshold format standardization processing is performed on each piece of quantitative basic bill information after data cleaning, and multiple pieces of quantitative basic bill information after threshold format standardization processing are obtained corresponding to the bills to be processed.

5. The method according to any one of claims 1 to 4, characterized in that The construction process of the pre-built payment risk classification model includes: Obtaining the payment risk training set, and dividing the payment risk training set into a training set and a validation set according to a preset ratio; The basic classification model is trained according to the training set to obtain a trained classification model; The trained classification model is verified according to the verification set. If it passes the verification, the trained classification model is determined as the pre-built payment risk classification model. Otherwise, the process of re-training the trained classification model according to the training set and re-verifying the re-trained classification model according to the verification set is repeated until it passes the verification.

6. The method according to claim 5, characterized in that Obtaining the payment risk training set includes: Acquire historical bill information of a plurality of said historical bills; According to the overall risk labeling algorithm, the historical bill information of the plurality of historical bills obtained is subjected to overall risk labeling processing to obtain the payment risk training set.

7. The method according to claim 6, characterized in that The historical bill information of the historical bill represents the redemption result information corresponding to the historical bill; according to the risk label overall labeling algorithm, the historical bill information of the acquired multiple historical bills is subjected to overall risk labeling processing to obtain the redemption risk training set, including: According to the exchange result information corresponding to the historical bill represented by each historical bill information, loss information calculation processing is performed on each historical bill to obtain result information of loss information calculation processing corresponding to each historical bill; If the result of the calculation of the loss information corresponding to the historical bill is successful, the risk label corresponding to the historical bill is determined according to the calculated loss information, and the historical bill information corresponding to the historical bill is labeled according to the calculated risk label to obtain the historical bill information of the historical bill that has been labeled with the risk label; Generate a first set and a second set based on the historical bill information of the historical bills marked with risk labels; wherein the first set includes the historical bill information of each historical bill marked with risk labels; and the second set includes the historical bill information of each historical bill not marked with risk labels; According to the first set, label labeling is performed on the historical bill information of each historical bill not labeled with a risk label included in the second set to obtain the payment risk training set.

8. The method according to claim 7, characterized in that According to the exchange result information corresponding to the historical bill represented by each historical bill information, loss information calculation and processing is performed on each historical bill to obtain result information of the loss information calculation and processing corresponding to each historical bill, including: For each historical bill represented by the historical bill information, the bill amount information is extracted to obtain an extraction result; wherein the bill amount information includes: the bill principal information, actual income information, due income information and overdue cost information; If the extraction processing result is extraction failure, then determining the result information of the loss information calculation processing corresponding to the historical bill is calculation failure; If the extraction processing result is successful, the loss information corresponding to the historical bill is determined based on the actual income information, the deserved income information and the overdue cost information included in the extracted bill amount information.

9. The method according to claim 8, characterized in that The bill amount information also includes: the principal information of the bill, and the risk label corresponding to the historical bill is determined according to the calculated loss information, including: If the loss amount corresponding to the calculated loss information is greater than zero and less than the first difference, the risk label corresponding to the historical bill is determined to be the second label; the first difference is the difference between the actual redemption amount corresponding to the actual income information and the principal amount of the bill corresponding to the principal information of the bill; If the loss amount corresponding to the calculated loss information is greater than or equal to the first difference and less than the second difference, the risk label corresponding to the historical bill is determined to be the third label; the second difference is the difference between the actual redemption amount corresponding to the actual income information and the principal amount of the bill corresponding to the principal information of the N-fold bill; wherein N is a decimal greater than zero and less than 1; wherein the risk level corresponding to the third label is higher than the risk level corresponding to the second label; If the loss amount corresponding to the calculated loss information is greater than or equal to the second difference, the risk label corresponding to the historical bill is determined to be the fourth label; wherein the risk level corresponding to the fourth label is higher than the risk level corresponding to the third label.

10. The method according to claim 7, characterized in that The historical bill information of the historical bill also represents basic user information and basic bill information corresponding to the historical bill; the labeling process is performed on the historical bill information of each historical bill without a risk label included in the second set according to the first set to obtain the payment risk training set, including: Based on the basic user information and basic ticket information corresponding to the historical tickets represented by the historical ticket information of each historical ticket in the first set and the second set, similarity calculation processing is performed on the historical ticket information of each historical ticket without a risk label and the historical ticket information of each historical ticket with a risk label in the first set, so as to obtain a similarity set corresponding to the historical ticket information of each historical ticket without a risk label; The similarity set includes historical bill information of historical bills without risk labels and similarity values ​​with historical bill information of each historical bill with risk labels in the first set; According to the preset similarity risk threshold and the similarity set corresponding to the historical bill information of each historical bill without risk label, the risk label of the historical bill information of each historical bill without risk label is determined, and the historical bill information of each historical bill without risk label is labelled; The payment risk training set is determined according to the historical bill information of each historical bill without risk label after labeling processing and the historical bill information of each historical bill with risk label included in the first set.

11. The method according to claim 10, characterized in that Determine the risk label of each historical bill information of the historical bill without risk label according to the preset similarity risk threshold and the similarity set corresponding to the historical bill information of each historical bill without risk label, including: If each similarity value of the historical bill information of the historical bill without risk label included in the similarity set and the historical bill information of each historical bill with risk label in the first set is less than the preset similarity risk threshold, then it is determined that the risk label corresponding to the historical bill is the first label; wherein the first label indicates that the historical bill has no redemption risk; If the historical bill information of historical bills without risk labels included in the similarity set and each similarity value of the historical bill information of each historical bill with risk labels in the first set include at least one similarity value greater than or equal to the preset similarity risk threshold, then the risk label corresponding to the maximum similarity value among at least one similarity value greater than or equal to the preset similarity risk threshold is determined as the risk label of the historical bill information of the historical bill without risk labels.

12. A payment risk warning device based on a payment risk classification model, comprising: A first acquisition module is used to acquire the ticket information of the ticket to be processed; wherein the ticket information of the ticket to be processed represents the basic user information and basic ticket information corresponding to the ticket to be processed; The second acquisition module is used to obtain the payment risk category of the bill to be processed according to the bill information of the bill to be processed and the pre-constructed payment risk classification model; wherein the pre-constructed payment risk classification model is a classification model constructed based on a payment risk training set; the payment risk training set is the historical bill information of multiple historical bills that have completed the risk labeling processing based on the risk label overall labeling algorithm; the risk label overall labeling algorithm represents the overall risk labeling processing of the historical bill information of multiple historical bills; The prompt module is used to generate and issue prompt information according to the payment risk category of the bill to be processed; wherein the prompt information represents the payment risk of the bill to be processed.

13. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 11 when executed by a processor.

15. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 11 when being executed by a processor.