WO2019205218A1 - Automatic loan repayment method, system and device and storage medium - Google Patents

Automatic loan repayment method, system and device and storage medium Download PDF

Info

Publication number
WO2019205218A1
WO2019205218A1 PCT/CN2018/088486 CN2018088486W WO2019205218A1 WO 2019205218 A1 WO2019205218 A1 WO 2019205218A1 CN 2018088486 W CN2018088486 W CN 2018088486W WO 2019205218 A1 WO2019205218 A1 WO 2019205218A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
short message
preset
repayment
client
Prior art date
Application number
PCT/CN2018/088486
Other languages
French (fr)
Chinese (zh)
Inventor
何钦亚
吴焕明
李发源
Original Assignee
卫盈联信息技术(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 卫盈联信息技术(深圳)有限公司 filed Critical 卫盈联信息技术(深圳)有限公司
Publication of WO2019205218A1 publication Critical patent/WO2019205218A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Definitions

  • the present application relates to the field of Internet finance technologies, and in particular, to a loan automatic repayment method, system, device and storage medium.
  • the purpose of the present application is to provide a method, system, device and storage medium for automatic loan repayment, which is intended to automatically perform real-time deduction when a user receives a short message, so as to avoid an overdue situation caused by the user forgetting to pre-store in advance.
  • the first aspect of the present application provides a method for automatic loan repayment, which is applied to a client, and the method includes:
  • the configuration information is obtained from the server by using a preset software development kit, where the configuration information is configured to configure the user to configure the short message to monitor the configuration information of the user;
  • the client user needs to perform SMS monitoring, the user SMS is monitored by a preset software development kit
  • the monitoring obtains the short message of the user
  • the obtained short message of the user is sent to the server, so that the server automatically repays the loan to the client user based on the short message of the user.
  • the second aspect of the present application further provides another automatic loan repayment method, which is applied to a server, and the method includes:
  • the client user is automatically repaid according to the preset debit payment rule based on the preset key information and the corresponding bank interface.
  • the third aspect of the present application provides an automatic loan repayment system, including a server and at least one client, where the client includes:
  • the configuration obtaining module is configured to obtain configuration information from the server by using a preset software development kit, where the configuration information is configured to perform configuration of the short message monitoring user;
  • An analysis module configured to analyze, according to the configuration information, whether a client user needs to perform short message monitoring;
  • the short message monitoring module is configured to: if the client user needs to perform short message monitoring, monitor the user short message by using a preset software development kit;
  • the short message sending module is configured to: if the monitoring obtains the short message of the user, send the obtained short message of the user to the server, so that the server automatically repays the loan to the client user based on the short message of the user;
  • the server includes:
  • the data collection module is configured to receive a user short message sent by the client, and obtain a preset key information in the user short message by using a regular expression;
  • a data processing module configured to analyze, according to the preset key information, whether a loan repayment is required for a client user;
  • the financial docking module is configured to: if the client needs to perform automatic loan repayment on the client user, and then, according to the preset key information, invoke a corresponding bank interface, and perform the loan to the client user according to a preset deduction rule. autopay.
  • the fourth aspect of the present application provides a client device, where the client device stores a loan automatic repayment client program, and the client device implements the following steps when executing the loan automatic repayment client program:
  • the configuration information is obtained from the server by using a preset software development kit, where the configuration information is configured to configure the user to configure the short message to monitor the configuration information of the user;
  • the client user needs to perform SMS monitoring, the user SMS is monitored by a preset software development kit
  • the monitoring obtains the short message of the user
  • the obtained short message of the user is sent to the server, so that the server automatically repays the loan to the client user based on the short message of the user.
  • the fifth aspect of the present application further provides a server, where the server automatically stores a loan automatic repayment server program, and the server implements the step of the automatic loan repayment method as described above when executing the loan automatic repayment server program. .
  • a sixth aspect of the present application provides a computer readable storage medium, including a loan automatic repayment client program, where the loan automatic repayment client program is executed as follows:
  • the configuration information is obtained from the server by using a preset software development kit, where the configuration information is configured to configure the user to configure the short message to monitor the configuration information of the user;
  • the client user needs to perform SMS monitoring, the user SMS is monitored by a preset software development kit
  • the monitoring obtains the short message of the user
  • the obtained short message of the user is sent to the server, so that the server automatically repays the loan to the client user based on the short message of the user.
  • the seventh aspect of the present application further provides another computer readable storage medium, comprising: a loan automatic repayment server program, when the loan automatic repayment server program is executed, realizing the automatic loan repayment as described above The steps of the method.
  • the automatic loan repayment method, system, device and storage medium provided by the application after receiving the short message by the client user who needs to perform short message monitoring, send the user short message to the server, and the server uses the regular expression to obtain the short message in the user
  • the key information is preset; when the loan is automatically repaid to the client user according to the preset key information analysis, the corresponding bank interface is invoked to automatically repay the loan to the client user. Since the user can automatically trigger the automatic repayment of the loan by using the user's short message, such as bank crediting, the user automatically debits the real-time deduction when the user receives the credited message, thereby avoiding the overdue situation caused by the user forgetting to pre-store in advance, thereby improving the user experience.
  • FIG. 1 is a system architecture diagram of a preferred embodiment of a loan automatic repayment system of the present application
  • FIG. 2 is a program module diagram of a preferred embodiment of a loan automatic repayment client program of the present application
  • FIG. 3 is a program module diagram of a preferred embodiment of a loan automatic repayment server program of the present application.
  • FIG. 5 is a flow chart of a second preferred embodiment of the automatic loan repayment method of the present application.
  • the automatic loan repayment system includes a server 2 and at least one client 1, wherein the client 1 can be a storage device and a computing device, such as a smart phone, a tablet computer, a portable computer, a desktop computer, and the like.
  • the terminal device, the server 2 is a cloud server, and the two are connected through a network.
  • the client 1 mainly includes a configuration acquisition module 110, an analysis module 120, a short message monitoring module 130, and a short message sending module 140.
  • the server 2 mainly includes a data collecting module 210, a data processing module 220, and a financial docking module 230.
  • a module as referred to in this application refers to a series of computer program instructions that are capable of performing a particular function.
  • FIG. 1 shows only some of the modules and components of the loan automatic repayment system of the present application, but it should be understood that not all illustrated modules or components are required to be implemented, and more or fewer modules or components may be implemented instead. , will not repeat them here. The following is a detailed description of the function of each module:
  • the data collection module 210 in the server 2 is configured to configure whether the user needs to perform short message monitoring. For example, it is possible to configure whether or not to monitor SMS according to the loan repayment situation of different users. If all the loans of the user have been paid off, the SMS will not be monitored after the configuration; if the user still has the loan, the SMS monitoring will be configured. Further, if the user's monthly loan has been paid off but there is still a loan to be paid in the next month, then the configuration will not be monitored for SMS in the current month, and the SMS will be automatically turned on next month; if the user's monthly loan has not been paid off, Then configure SMS monitoring for it.
  • the configuration obtaining module 110 in the client 1 is configured to acquire configuration information about the short message monitoring by the data collecting module 210 in the server 2. For example, after the user installs the corresponding client App in the mobile terminal, the software development kit SDK pre-integrated in the client App periodically acquires the configuration information from the data collection module 210 of the server.
  • the analysis module 120 in the client 1 is configured to analyze whether the client user needs to perform short message monitoring according to the obtained configuration information, and if necessary, use the short message monitoring module 130 to start short message monitoring through the software development kit SDK; otherwise, SMS monitoring is not turned on.
  • the short message sending module 140 in the client 1 is configured to monitor the short message of the user on the client after the short message monitoring is started, obtain the short message data of the user on the client in real time, and send the short message data of the user on the obtained mobile terminal.
  • the data collection module 210 in the server 2 is further configured to receive a short message sent by the client 1 and use the regular expression to determine and parse the short message of the user.
  • regular expressions also known as regular expressions.
  • Regular Expression often abbreviated as regex, regexp, or RE in code
  • a regular expression is a logical formula for string operations. It uses a combination of specific characters defined in advance and combinations of these specific characters to form a "rule string”. This "rule string” is used to express the pair of characters.
  • a filtering logic for strings Given a regular expression and another string, you can achieve the following goals: 1. Whether the given string conforms to the regular expression's filtering logic (called "match”): 2. Can pass regular expressions, Get the specific part you want from the string.
  • the data collection module 210 first matches the user short message by using a preset first regular expression, and analyzes whether the user short message is a preset credit message according to the matching result. For example, using the regular expression "revenue
  • the user's short message of the terminal 1 is matched and judged. If it matches, it is judged that the received user short message is the credited message, and the next step is continued. Otherwise, the process ends.
  • the data collecting module 210 may further preprocess the user short message. For example, the user's short message is denoised, the emoticon and some special characters are removed, so as to facilitate accurate analysis of the subsequent short message content of the user.
  • the data collecting module 210 further uses the preset second regular expression to parse the preset key information in the user short message.
  • the corresponding preset expression can be used to analyze specific key content in the user's short message such as bank card type, bank name, bank card number, account amount, balance, etc.
  • bank card type Use the regular expression "debit card
  • [))([ ⁇ u4E00- ⁇ u9FA5]+)(? ( ⁇ ]
  • the bank card tail number you can use the regular expression "(?
  • the data collection module 210 uses the regular expression to parse the content of the user's short message to obtain the following fields: 1. Bank card type: savings card; 2. Bank name: Construction Bank; 3. Bank card number: 6330 ; 4, the amount of the account: 1000.00 yuan; 5, the balance: 1008.91 yuan.
  • the data processing module 220 in the server 2 is configured to analyze, according to the preset key information in the parsed user short message, whether the loan repayment is required to be performed on the client user; if the preset key information can be analyzed, Whether the bank name and the bank card end number are consistent with the repayment bank name and the repayment bank card end number pre-bound by the client user; if they are consistent, the analysis needs to automatically repay the loan to the client user; otherwise The analysis does not automatically repay the loan to the client user. If it is determined that the client user needs to be debited, the user information and the user short message field of the client user are sent to the corresponding financial docking module 230 for deduction.
  • determining whether the client user is to be debited can determine whether the parsed key content of the user's short message (such as the bank name and the bank card number) is completely consistent with the repayment bank card information pre-bound by the user, if If it is consistent, it is judged that the user can be automatically debited. If they are inconsistent, the user cannot be automatically debited and the process ends. For example, in a specific example, taking the above short message as an example, the data processing module 220 receives the construction bank savings card with the user ending number of 6330 and withdraws 1000.00 yuan, and the balance is 1008.91 yuan, and the client user is first determined. Is it still in arrears?
  • the parsed key content of the user's short message such as the bank name and the bank card number
  • the bank name "Construction Bank” and the bank card number "6330" and the client user binding repayment bank card are consistent. If they are consistent, the client user information and SMS information are transmitted.
  • the financial docking module 230 is debited, otherwise it will not be processed.
  • the financial docking module 230 returns to the state of “all repayment success, partial repayment success, failure” after the deduction, and if all the repayments are successful, the data processing module 220 notifies the data collection module 210 that the customer is no longer The end user performs the accounting monitoring of the account; otherwise, the monitoring will continue.
  • the financial docking module 230 in the server 2 After receiving the client user information and the user short message sent by the data processing module 220, the financial docking module 230 in the server 2 calls the corresponding bank interface to debit (such as calling the bank interface corresponding to the “bank name” in the user short message. Automatically debit the bank card that matches the user information and matches the "bank card number" in the user's text message. For example, if the analysis needs to automatically repay the loan to the client user, the bank interface corresponding to the bank name in the preset key information is invoked, and the bank name and the bank card end in the preset key information are The repayment bank card with the same number is automatically deducted for automatic loan repayment; when the loan is automatically repaid, the amount of the balance of the repayment bank card in the preset key information is preferentially deducted. If the amount of the balance of the repayment bank card in the preset key information is insufficient to offset the repayment amount required for the current loan, continue to record the repayment bank card in the preset key information. The amount is deducted.
  • the incoming credit amount or balance in the user's short message is greater than the actual amount owed, the actual amount owed is deducted; if the incoming credit amount or balance in the user short message is less than the actual owed amount, then Debit the amount according to the amount passed in.
  • the deduction can be made for the "accounting amount" in the user's short message, or the "balance” in the user's short message can be deducted.
  • the "balance” is greater than the "accounting amount”, so the priority is The amount of the "balance” is deducted, and if the "balance” is missing, the deduction is made according to the "accounting amount".
  • the mechanism can ensure that part of the amount of the user can be partially repaid immediately when the account is credited, and the traditional method only avoids full deduction, and the deduction fails due to insufficient balance.
  • the client monitors the user's bank's incoming SMS in real time, and when the user receives the incoming SMS, immediately sends the information to the background server, which can automatically perform real-time deduction.
  • many of them have loans on multiple platforms at the same time.
  • the competition between the platforms will be deducted, that is, the first is advantageous, and then the deduction is initiated.
  • the solution for analyzing and automatically repaying according to the account text message in the application can reduce the additional interaction between the user and the loan platform, timely repay the money, avoid overdue, improve the user experience, and protect the interests of the loan platform.
  • the bank withholding usually cannot predict the user's bank card balance, and can only be deducted according to the current repayment amount. If the balance is insufficient, it will fail and cannot be partially repaid.
  • the account amount or the account balance can be analyzed from the account text message, when the account amount or the account balance can be repaid in the current period, the amount will be automatically repaid. When the account amount or the account balance is insufficient to pay off the current repayment amount. Automatic repayment according to the account amount or account balance can help the user to repay the maximum amount.
  • FIG. 2 a block diagram of a preferred embodiment of a loan automatic repayment client program 10 stored in a client device (e.g., client 1 in FIG. 1, not shown in FIG. 3).
  • the client device includes a memory and a processor, and the memory includes a loan automatic repayment client program 10, and the loan automatic repayment client program 10 includes a configuration acquisition module 110, an analysis module 120, a short message monitoring module 130, and a short message transmission. Module 140.
  • the processor of the client device implements the aforementioned functions of the program modules 110-140 when executing the loan automatic repayment client program 10.
  • FIG. 3 a block diagram of a preferred embodiment of a loan automatic repayment server program 20 stored in a server (e.g., server 2 in FIG. 1, not shown in FIG. 3).
  • the server includes a memory and a processor, and the memory includes a loan automatic repayment server program 20, and the loan automatic repayment server program 20 includes a data collection module 210, a data processing module 220, and a financial docking module 230.
  • the processor of the server implements the aforementioned functions of the program modules 210-230 when executing the loan automatic repayment server program 20.
  • FIG. 4 it is a flowchart of a first preferred embodiment of the automatic loan repayment method of the present application.
  • the client operates the loan automatic repayment system, the following steps are implemented:
  • Step S101 Obtain configuration information from a server by using a preset software development kit, where the configuration information is configuration information required to configure a short message monitoring user.
  • the software development kit SDK pre-integrated in the client App periodically acquires the configuration information from the data collection module 210 of the server.
  • Step S102 Analyze, according to the configuration information, whether the client user needs to perform short message monitoring.
  • Step S103 If the client user needs to perform short message monitoring, the user short message is monitored by using a preset software development kit.
  • Step S104 If the monitoring obtains the short message of the user, send the obtained short message of the user to the server, so that the server automatically repays the loan to the client user based on the short message of the user.
  • FIG. 5 it is a flowchart of a second preferred embodiment of the automatic loan repayment method of the present application.
  • the server operates the automatic loan repayment system, the following steps are implemented:
  • Step S201 receiving a user short message sent by the client
  • Step S202 acquiring preset key information in the short message of the user by using a regular expression
  • Step S203 Analyze, according to the preset key information, whether automatic loan repayment is required to the client user;
  • Step S204 If the client needs to perform automatic loan repayment on the client user, then based on the preset key information and calling the corresponding bank interface, the client user is automatically repaid according to a preset deduction rule. .
  • the server configures whether the user needs to perform short message monitoring. For example, it is possible to configure whether or not to monitor SMS according to the loan repayment situation of different users. If all the loans of the user have been paid off, the SMS will not be monitored after the configuration; if the user still has the loan, the SMS monitoring will be configured. Further, if the user's monthly loan has been paid off but there is still a loan to be paid in the next month, then the configuration will not be monitored for SMS in the current month, and the SMS will be automatically turned on next month; if the user's monthly loan has not been paid off, Then configure SMS monitoring for it.
  • short message monitoring For example, it is possible to configure whether or not to monitor SMS according to the loan repayment situation of different users. If all the loans of the user have been paid off, the SMS will not be monitored after the configuration; if the user still has the loan, the SMS monitoring will be configured. Further, if the user's monthly loan has been paid off but there is still a loan to be paid in the next month, then the configuration will not be
  • the client obtains configuration information about the short message monitoring in the server. For example, after the user installs the corresponding client app in the mobile terminal, the software development kit SDK pre-integrated in the client app periodically acquires configuration information from the server.
  • the client analyzes and determines whether the client user needs to perform short message monitoring according to the obtained configuration information. If necessary, the short message monitoring is started through the software development kit SDK; otherwise, the short message monitoring is not enabled.
  • the client monitors the user's short message on the client, obtains the user's short message data on the client in real time, and sends the obtained user's short message data on the mobile terminal to the server.
  • the server receives the user's short message sent by the client, and uses the regular expression to judge and parse the user's short message.
  • regular expressions also known as regular expressions.
  • Regular Expression often abbreviated as regex, regexp, or RE in code
  • a regular expression is a logical formula for string operations. It uses a combination of specific characters defined in advance and combinations of these specific characters to form a "rule string”. This "rule string” is used to express the pair of characters.
  • a filtering logic for strings Given a regular expression and another string, you can achieve the following goals: 1. Whether the given string conforms to the regular expression's filtering logic (called "match”): 2. Can pass regular expressions, Get the specific part you want from the string.
  • the server first matches the user short message by using a preset first regular expression, and analyzes whether the user short message is a preset credit message according to the matching result. For example, using the regular expression "revenue
  • the user's short message of the terminal 1 is matched and judged. If it matches, it is judged that the received user short message is the credited message, and the next step is continued. Otherwise, the process ends.
  • the server may also preprocess the user short message. For example, the user's short message is denoised, the emoticon and some special characters are removed, so as to facilitate accurate analysis of the subsequent short message content of the user.
  • the server further uses the preset second regular expression to parse and obtain the preset key information in the user short message.
  • the corresponding preset expression can be used to analyze specific key content in the user's short message such as bank card type, bank name, bank card number, account amount, balance, etc.
  • bank card type Use the regular expression "debit card
  • [))([ ⁇ u4E00- ⁇ u9FA5]+)(? ( ⁇ ]
  • [))([ ⁇ u4E00- ⁇ u9FA5]+)(? ( ⁇ ]
  • bank card tail number you can use the regular expression "(?
  • the server uses the regular expression to parse the content of the user's short message to obtain the following fields: 1. Bank card type: savings card; 2. Bank name: Construction Bank; 3. Bank card number: 6330; The amount of the account: 1000.00 yuan; 5, the balance: 1008.91 yuan.
  • the server analyzes, according to the preset key information in the parsed user short message, whether it is necessary to automatically repay the loan to the client user; if the bank name and the bank card number in the preset key information can be analyzed, Whether the reimbursement bank name and the repayment bank card end number pre-bound by the client user are consistent; if they are consistent, the analysis needs to automatically repay the loan to the client user; otherwise, the analysis does not make a loan to the client user. autopay. If it is determined that the client user needs to be debited, the user information and the user short message field of the client user are sent to the corresponding financial docking module for deduction.
  • determining whether the client user is to be debited can determine whether the parsed key content of the user's short message (such as the bank name and the bank card number) is completely consistent with the repayment bank card information pre-bound by the user, if If it is consistent, it is judged that the user can be automatically debited. If they are inconsistent, the user cannot be automatically debited and the process ends. For example, in a specific example, taking the above short message as an example, the server receives a payment of 1000.00 yuan from the construction bank savings card with the user ending number of 6330, and the balance is 1008.91 yuan, first determining whether the client user is still in the Arrears status.
  • the server receives a payment of 1000.00 yuan from the construction bank savings card with the user ending number of 6330, and the balance is 1008.91 yuan, first determining whether the client user is still in the Arrears status.
  • the bank name "Construction Bank” and the bank card number "6330" and the client user binding repayment bank card are consistent. If they are consistent, the client user information and SMS information are transmitted. Deduct the financial docking module, otherwise it will not be processed. In addition, the financial docking module will return to the status of “all repayments successful, partial repayment success, failure” after the deduction, and if all repayments are successful, the client user will not be monitored for SMS; otherwise it will continue Monitor.
  • the financial docking module in the server After receiving the client user information and the user short message, the financial docking module in the server calls the corresponding bank interface to debit (such as calling a bank interface corresponding to the “bank name” in the user short message, matching the user information, and The bank card matching the "bank card number" in the user's text message is automatically debited).
  • the bank interface corresponding to the bank name in the preset key information is invoked, and the bank name and the bank card end in the preset key information are The repayment bank card with the same number is automatically deducted for automatic loan repayment; when the loan is automatically repaid, the amount of the balance of the repayment bank card in the preset key information is preferentially deducted. If the amount of the balance of the repayment bank card in the preset key information is insufficient to offset the repayment amount required for the current loan, continue to record the repayment bank card in the preset key information. The amount is deducted.
  • the incoming credit amount or balance in the user's short message is greater than the actual amount owed, the actual amount owed is deducted; if the incoming credit amount or balance in the user short message is less than the actual owed amount, then Debit the amount according to the amount passed in.
  • the deduction can be made for the "accounting amount" in the user's short message, or the "balance” in the user's short message can be deducted.
  • the "balance” is greater than the "accounting amount”, so the priority is The amount of the "balance” is deducted, and if the "balance” is missing, the deduction is made according to the "accounting amount".
  • the mechanism can ensure that part of the amount of the user can be partially repaid immediately when the account is credited, and the traditional method only avoids full deduction, and the deduction fails due to insufficient balance.
  • the client monitors the user's bank's incoming SMS in real time, and when the user receives the incoming SMS, immediately sends the information to the background server, which can automatically perform real-time deduction.
  • many of them have loans on multiple platforms at the same time.
  • the competition between the platforms will be deducted, that is, the first is advantageous, and then the deduction is initiated.
  • the solution for analyzing and automatically repaying according to the account text message in the application can reduce the additional interaction between the user and the loan platform, timely repay the money, avoid overdue, improve the user experience, and protect the interests of the loan platform.
  • the bank withholding usually cannot predict the user's bank card balance, and can only be deducted according to the current repayment amount. If the balance is insufficient, it will fail and cannot be partially repaid.
  • the account amount or the account balance can be analyzed from the account text message, when the account amount or the account balance can be repaid in the current period, the amount will be automatically repaid. When the account amount or the account balance is insufficient to pay off the current repayment amount. Automatic repayment according to the account amount or account balance can help the user to repay the maximum amount.
  • the embodiment of the present application further provides a computer readable storage medium, which may be a hard disk, a multimedia card, an SD card, a flash memory card, an SMC, a read only memory (ROM), and an erasable programmable Any combination or combination of any one or more of read only memory (EPROM), portable compact disk read only memory (CD-ROM), USB memory, and the like.
  • the computer readable storage medium includes a loan automatic repayment client program 10, and when the loan automatic repayment client program 10 is executed, the following steps are implemented:
  • the configuration information is obtained from the server by using a preset software development kit, where the configuration information is configured to configure the user to configure the short message to monitor the configuration information of the user;
  • the client user needs to perform SMS monitoring, the user SMS is monitored by a preset software development kit
  • the monitoring obtains the short message of the user
  • the obtained short message of the user is sent to the server, so that the server automatically repays the loan to the client user based on the short message of the user.
  • Another embodiment of the present application further provides a computer readable storage medium including a loan automatic repayment server program 20, which is implemented when the loan automatic repayment server program 20 is executed:
  • the client user is automatically repaid according to the preset debit payment rule based on the preset key information and the corresponding bank interface.
  • the specific implementation manner of the computer readable storage medium of the present application is substantially the same as the specific embodiment of the automatic loan repayment method and system, and details are not described herein again.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Technology Law (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present application provides an automatic loan repayment method, system and device and a computer readable storage medium. The method comprises the following steps: receiving a user message sent from a client side; obtaining preset key information in the user message by using a regular expression; determining, according to the preset key information, whether an automatic loan repayment for a client-side user needs to be performed; and if it is determined that automatic loan repayment for the client-side user needs to be performed, carrying out, by calling a corresponding bank interface, automatic loan repayment for the client-side user in accordance with a preset deduction rule on the basis of the preset key information. The user message such as a bank deposit message can be utilized to automatically trigger automatic loan repayment, that is, real-time deduction can be automatically performed when a user receives the deposit message, thereby avoiding an overdue situation caused by the user forgetting to pre-deposit in advance and thus the user experience is improved.

Description

贷款自动还款方法、系统、设备及存储介质Loan automatic repayment method, system, device and storage medium
优先权申明Priority claim
本申请基于巴黎公约申明享有2018年4月26日递交的申请号为CN201810382290.9、名称为“贷款自动还款方法、系统、设备及存储介质”中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。This application is based on the priority of the Paris Convention, which is entitled to the Chinese Patent Application No. CN201810382290.9, entitled "Automatic Repayment Method, System, Equipment and Storage Media", filed on April 26, 2018. The entire content is incorporated herein by reference.
技术领域Technical field
本申请涉及互联网金融技术领域,尤其涉及一种贷款自动还款方法、系统、设备及存储介质。The present application relates to the field of Internet finance technologies, and in particular, to a loan automatic repayment method, system, device and storage medium.
背景技术Background technique
随着移动互联网的不断发展,互联网借贷产品在最近几年迅速崛起,越来越多的人开始通过网络的方式直接申请贷款,直接通过手机填写申请资料,足不出户即可完成贷款申请的各项步骤。网贷公司可以在很短时间内通过新的技术完成审批,并直接放款到用户账号。现有的网络借贷还款方式通常采用银行卡代扣,在还款日之前用户提前预存足量金额,在还款日当天指定时间系统发动代扣指令,从用户银行卡扣取相应金额。相对于比较便捷的借款放款,现有的网络借贷还款方式会碰到以下问题:With the continuous development of the mobile Internet, Internet lending products have risen rapidly in recent years. More and more people are starting to apply for loans directly through the Internet, filling out application materials directly through mobile phones, and completing loan applications without leaving home. Various steps. Online lending companies can complete approvals through new technologies in a short period of time and directly lend them to user accounts. The existing online loan repayment method usually uses bank card deduction. Before the repayment date, the user pre-stores a sufficient amount in advance, and the system prompts the system to issue a withholding instruction at the specified time on the repayment date, and deducts the corresponding amount from the user bank card. Compared with the relatively convenient loan lending, the existing online loan repayment method will encounter the following problems:
用户经常忘记提前预存,当自动代扣扣款失败后,需要通过各种渠道通知提醒用户,增加运营成本。而且,即便成功通知用户,并及时预存款项,也可能因错过自动代扣时机而造成逾期,给用户带来经济和信用损失。Users often forget to pre-store in advance. When the automatic deduction of deductions fails, it is necessary to notify users through various channels to increase operating costs. Moreover, even if the user is successfully notified and the deposit is made in time, it may be overdue due to the missed opportunity of automatic deduction, which will bring economic and credit losses to the user.
发明内容Summary of the invention
本申请的目的在于提供一种贷款自动还款方法、系统、设备及存储介质,旨在用户收到入账短信时自动进行实时扣款,避免因用户忘记提前预存而造成逾期的情况发生。The purpose of the present application is to provide a method, system, device and storage medium for automatic loan repayment, which is intended to automatically perform real-time deduction when a user receives a short message, so as to avoid an overdue situation caused by the user forgetting to pre-store in advance.
为实现上述目的,本申请第一方面提供一种贷款自动还款方法,应用于客户端,该方法包括:To achieve the above objective, the first aspect of the present application provides a method for automatic loan repayment, which is applied to a client, and the method includes:
通过预设的软件开发工具包从服务器上获取配置信息,所述配置信息为配置需要进行短信监控用户的配置信息;The configuration information is obtained from the server by using a preset software development kit, where the configuration information is configured to configure the user to configure the short message to monitor the configuration information of the user;
根据所述配置信息分析客户端用户是否需要进行短信监控;And analyzing, according to the configuration information, whether the client user needs to perform short message monitoring;
若分析所述客户端用户需要进行短信监控,则通过预设的软件开发工具包监控用户短信;If the client user needs to perform SMS monitoring, the user SMS is monitored by a preset software development kit;
若监控获取到用户短信,则将获取的用户短信发送至所述服务器,以供所述服务器基于所述用户短信对所述客户端用户进行贷款自动还款。If the monitoring obtains the short message of the user, the obtained short message of the user is sent to the server, so that the server automatically repays the loan to the client user based on the short message of the user.
本申请第二方面还提供另一种贷款自动还款方法,应用于服务器,该方法包括:The second aspect of the present application further provides another automatic loan repayment method, which is applied to a server, and the method includes:
接收客户端发送的用户短信;Receiving a user message sent by the client;
利用正则表达式获取所述用户短信中的预设关键信息;Using a regular expression to obtain preset key information in the user's short message;
根据所述预设关键信息分析是否需对客户端用户进行贷款自动还款;Determining whether the client user needs to automatically repay the loan according to the preset key information;
若分析需对所述客户端用户进行贷款自动还款,则基于所述预设关键信息并调用对应的银行接口,按预设扣款规则对所述客户端用户进行贷款自动还款。If the client needs to perform automatic loan repayment on the client user, the client user is automatically repaid according to the preset debit payment rule based on the preset key information and the corresponding bank interface.
本申请第三方面提供一种贷款自动还款系统,包括服务器和至少一个客户端,所述客户端包括:The third aspect of the present application provides an automatic loan repayment system, including a server and at least one client, where the client includes:
配置获取模块,用于通过预设的软件开发工具包从服务器上获取配置信息,所述配置信息为配置需要进行短信监控用户的配置信息;The configuration obtaining module is configured to obtain configuration information from the server by using a preset software development kit, where the configuration information is configured to perform configuration of the short message monitoring user;
分析模块:用于根据所述配置信息分析客户端用户是否需要进行短信监控;An analysis module: configured to analyze, according to the configuration information, whether a client user needs to perform short message monitoring;
短信监控模块:用于若分析所述客户端用户需要进行短信监控,则通过预设的软件开发工具包监控用户短信;The short message monitoring module is configured to: if the client user needs to perform short message monitoring, monitor the user short message by using a preset software development kit;
短信发送模块:用于若监控获取到用户短信,则将获取的用户短信发送至所述服务器,以供所述服务器基于所述用户短信对所述客户端用户进行贷款自动还款;The short message sending module is configured to: if the monitoring obtains the short message of the user, send the obtained short message of the user to the server, so that the server automatically repays the loan to the client user based on the short message of the user;
所述服务器包括:The server includes:
数据收集模块:用于接收客户端发送的用户短信,并利用正则表达式获取所述用户短信中的预设关键信息;The data collection module is configured to receive a user short message sent by the client, and obtain a preset key information in the user short message by using a regular expression;
数据处理模块:用于根据所述预设关键信息分析是否需对客户端用户进 行贷款自动还款;a data processing module: configured to analyze, according to the preset key information, whether a loan repayment is required for a client user;
财务对接模块:用于若分析需对所述客户端用户进行贷款自动还款,则基于所述预设关键信息并调用对应的银行接口,按预设扣款规则对所述客户端用户进行贷款自动还款。The financial docking module is configured to: if the client needs to perform automatic loan repayment on the client user, and then, according to the preset key information, invoke a corresponding bank interface, and perform the loan to the client user according to a preset deduction rule. autopay.
本申请第四方面提供一种客户端设备,该客户端设备中存储有贷款自动还款客户端程序,该客户端设备在执行该贷款自动还款客户端程序时实现如下步骤:The fourth aspect of the present application provides a client device, where the client device stores a loan automatic repayment client program, and the client device implements the following steps when executing the loan automatic repayment client program:
通过预设的软件开发工具包从服务器上获取配置信息,所述配置信息为配置需要进行短信监控用户的配置信息;The configuration information is obtained from the server by using a preset software development kit, where the configuration information is configured to configure the user to configure the short message to monitor the configuration information of the user;
根据所述配置信息分析客户端用户是否需要进行短信监控;And analyzing, according to the configuration information, whether the client user needs to perform short message monitoring;
若分析所述客户端用户需要进行短信监控,则通过预设的软件开发工具包监控用户短信;If the client user needs to perform SMS monitoring, the user SMS is monitored by a preset software development kit;
若监控获取到用户短信,则将获取的用户短信发送至所述服务器,以供所述服务器基于所述用户短信对所述客户端用户进行贷款自动还款。If the monitoring obtains the short message of the user, the obtained short message of the user is sent to the server, so that the server automatically repays the loan to the client user based on the short message of the user.
相应的,本申请第五方面还提供一种服务器,该服务器中存储有贷款自动还款服务器程序,该服务器在执行该贷款自动还款服务器程序时实现如上所述的贷款自动还款方法的步骤。Correspondingly, the fifth aspect of the present application further provides a server, where the server automatically stores a loan automatic repayment server program, and the server implements the step of the automatic loan repayment method as described above when executing the loan automatic repayment server program. .
本申请第六方面提供一种计算机可读存储介质,所述计算机可读存储介质中包括贷款自动还款客户端程序,该贷款自动还款客户端程序被执行时实现如下步骤:A sixth aspect of the present application provides a computer readable storage medium, including a loan automatic repayment client program, where the loan automatic repayment client program is executed as follows:
通过预设的软件开发工具包从服务器上获取配置信息,所述配置信息为配置需要进行短信监控用户的配置信息;The configuration information is obtained from the server by using a preset software development kit, where the configuration information is configured to configure the user to configure the short message to monitor the configuration information of the user;
根据所述配置信息分析客户端用户是否需要进行短信监控;And analyzing, according to the configuration information, whether the client user needs to perform short message monitoring;
若分析所述客户端用户需要进行短信监控,则通过预设的软件开发工具包监控用户短信;If the client user needs to perform SMS monitoring, the user SMS is monitored by a preset software development kit;
若监控获取到用户短信,则将获取的用户短信发送至所述服务器,以供所述服务器基于所述用户短信对所述客户端用户进行贷款自动还款。If the monitoring obtains the short message of the user, the obtained short message of the user is sent to the server, so that the server automatically repays the loan to the client user based on the short message of the user.
本申请第七方面还提供另一种计算机可读存储介质,所述计算机可读存 储介质中包括贷款自动还款服务器程序,该贷款自动还款服务器程序被执行时实现如上所述的贷款自动还款方法的步骤。The seventh aspect of the present application further provides another computer readable storage medium, comprising: a loan automatic repayment server program, when the loan automatic repayment server program is executed, realizing the automatic loan repayment as described above The steps of the method.
本申请提供的贷款自动还款方法、系统、设备及存储介质,在需要进行短信监控的客户端用户收到短信后,将用户短信发送至服务器,服务器利用正则表达式获取所述用户短信中的预设关键信息;在根据所述预设关键信息分析需对客户端用户进行贷款自动还款时,调用对应的银行接口对所述客户端用户进行贷款自动还款。由于能利用用户短信如银行入账短信来自动触发贷款自动还款,即在用户收到入账短信时自动进行实时扣款,避免因用户忘记提前预存而造成逾期的情况发生,提高用户体验。The automatic loan repayment method, system, device and storage medium provided by the application, after receiving the short message by the client user who needs to perform short message monitoring, send the user short message to the server, and the server uses the regular expression to obtain the short message in the user The key information is preset; when the loan is automatically repaid to the client user according to the preset key information analysis, the corresponding bank interface is invoked to automatically repay the loan to the client user. Since the user can automatically trigger the automatic repayment of the loan by using the user's short message, such as bank crediting, the user automatically debits the real-time deduction when the user receives the credited message, thereby avoiding the overdue situation caused by the user forgetting to pre-store in advance, thereby improving the user experience.
附图说明DRAWINGS
图1为本申请贷款自动还款系统较佳实施例的系统架构图;1 is a system architecture diagram of a preferred embodiment of a loan automatic repayment system of the present application;
图2为本申请贷款自动还款客户端程序较佳实施例的程序模块图;2 is a program module diagram of a preferred embodiment of a loan automatic repayment client program of the present application;
图3为本申请贷款自动还款服务器程序较佳实施例的程序模块图;3 is a program module diagram of a preferred embodiment of a loan automatic repayment server program of the present application;
图4为本申请贷款自动还款方法第一较佳实施例的流程图;4 is a flow chart of a first preferred embodiment of the automatic loan repayment method of the present application;
图5为本申请贷款自动还款方法第二较佳实施例的流程图。FIG. 5 is a flow chart of a second preferred embodiment of the automatic loan repayment method of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings.
具体实施方式detailed description
为了使本申请的目的、技术方案和优点更加清楚明白,下面将结合若干附图及实施例,对本申请进行进一步的详细说明。应当理解的是,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
参照图1所示,为本申请贷款自动还款系统较佳实施例的系统架构图。在该实施例中,贷款自动还款系统包括服务器2和至少一个客户端1,其中,所述客户端1可以是智能手机、平板电脑、便携计算机、桌上型计算机等具 有存储和运算功能的终端设备,所述服务器2为云端服务器,两者通过网络连接。Referring to FIG. 1, a system architecture diagram of a preferred embodiment of the loan automatic repayment system of the present application is shown. In this embodiment, the automatic loan repayment system includes a server 2 and at least one client 1, wherein the client 1 can be a storage device and a computing device, such as a smart phone, a tablet computer, a portable computer, a desktop computer, and the like. The terminal device, the server 2 is a cloud server, and the two are connected through a network.
所述客户端1主要包括配置获取模块110、分析模块120、短信监控模块130、短信发送模块140;所述服务器2主要包括数据收集模块210、数据处理模块220、财务对接模块230。本申请所称的模块是指能够完成特定功能的一系列计算机程序指令段。The client 1 mainly includes a configuration acquisition module 110, an analysis module 120, a short message monitoring module 130, and a short message sending module 140. The server 2 mainly includes a data collecting module 210, a data processing module 220, and a financial docking module 230. A module as referred to in this application refers to a series of computer program instructions that are capable of performing a particular function.
图1仅示出了本申请贷款自动还款系统的部分模块和组件,但是应理解的是,并不要求实施所有示出的模块或组件,可以替代的实施更多或者更少的模块或组件,在此不再赘述。以下是关于各个模块功能的详细说明:Figure 1 shows only some of the modules and components of the loan automatic repayment system of the present application, but it should be understood that not all illustrated modules or components are required to be implemented, and more or fewer modules or components may be implemented instead. , will not repeat them here. The following is a detailed description of the function of each module:
服务器2中的数据收集模块210,用于配置用户是否需要进行短信监控。例如,可根据不同用户的贷款还款情况配置是否要对其进行短信监控。如若用户所有贷款均已还清,则配置以后均不对其进行短信监控;若用户还有贷款未还,则配置对其进行短信监控。进一步地,若用户当月贷款已还清但下月还有贷款要还,则配置当月不再对其进行短信监控,下个月自动开启对其进行短信监控;若用户当月贷款还未还清,则配置对其进行短信监控。The data collection module 210 in the server 2 is configured to configure whether the user needs to perform short message monitoring. For example, it is possible to configure whether or not to monitor SMS according to the loan repayment situation of different users. If all the loans of the user have been paid off, the SMS will not be monitored after the configuration; if the user still has the loan, the SMS monitoring will be configured. Further, if the user's monthly loan has been paid off but there is still a loan to be paid in the next month, then the configuration will not be monitored for SMS in the current month, and the SMS will be automatically turned on next month; if the user's monthly loan has not been paid off, Then configure SMS monitoring for it.
客户端1中的配置获取模块110,用于获取服务器2中数据收集模块210关于短信监控的配置信息。例如,用户在移动终端中安装对应客户端App后,预先集成在客户端App中的软件开发工具包SDK会定时从服务器的数据收集模块210中获取配置信息。The configuration obtaining module 110 in the client 1 is configured to acquire configuration information about the short message monitoring by the data collecting module 210 in the server 2. For example, after the user installs the corresponding client App in the mobile terminal, the software development kit SDK pre-integrated in the client App periodically acquires the configuration information from the data collection module 210 of the server.
客户端1中的分析模块120,用于根据获取的配置信息分析判断该客户端用户是否需要进行短信监控,如果需要,则利用短信监控模块130来通过软件开发工具包SDK开启短信监控;否则,不开启短信监控。The analysis module 120 in the client 1 is configured to analyze whether the client user needs to perform short message monitoring according to the obtained configuration information, and if necessary, use the short message monitoring module 130 to start short message monitoring through the software development kit SDK; otherwise, SMS monitoring is not turned on.
客户端1中的短信发送模块140,用于在开启短信监控后,对客户端上的用户短信进行监测,实时获取客户端上的用户短信数据,并将获取的移动终端上的用户短信数据发送至服务器2的数据收集模块210。The short message sending module 140 in the client 1 is configured to monitor the short message of the user on the client after the short message monitoring is started, obtain the short message data of the user on the client in real time, and send the short message data of the user on the obtained mobile terminal. To the data collection module 210 of the server 2.
服务器2中的数据收集模块210,还用于接收客户端1发送的用户短信,并利用正则表达式对该用户短信进行判断和解析。其中,正则表达式,又称规则表达式。(英语:Regular Expression,在代码中常简写为regex、regexp或RE),通常被用来检索、替换那些符合某个模式(规则)的文本。正则表达式是对字符串操作的一种逻辑公式,就是用事先定义好的一些特定字符、及这 些特定字符的组合,组成一个“规则字符串”,这个“规则字符串”用来表达对字符串的一种过滤逻辑。如给定一个正则表达式和另一个字符串,可以达到如下的目的:1.给定的字符串是否符合正则表达式的过滤逻辑(称作“匹配”):2.可以通过正则表达式,从字符串中获取想要的特定部分。The data collection module 210 in the server 2 is further configured to receive a short message sent by the client 1 and use the regular expression to determine and parse the short message of the user. Among them, regular expressions, also known as regular expressions. (English: Regular Expression, often abbreviated as regex, regexp, or RE in code), is often used to retrieve and replace text that conforms to a pattern (rule). A regular expression is a logical formula for string operations. It uses a combination of specific characters defined in advance and combinations of these specific characters to form a "rule string". This "rule string" is used to express the pair of characters. A filtering logic for strings. Given a regular expression and another string, you can achieve the following goals: 1. Whether the given string conforms to the regular expression's filtering logic (called "match"): 2. Can pass regular expressions, Get the specific part you want from the string.
具体地,数据收集模块210首先利用预设第一正则表达式对所述用户短信进行匹配,根据匹配结果分析所述用户短信是否为预设入账短信。例如,利用正则表达式“收入|存款|存入|存现|转入|转存|到账|入账|汇入|到帐|退费|退款|提现|代发”对收到的客户端1的用户短信进行匹配判断,若匹配,则判断收到的用户短信是入账短信,继续下一步。否则,流程结束。Specifically, the data collection module 210 first matches the user short message by using a preset first regular expression, and analyzes whether the user short message is a preset credit message according to the matching result. For example, using the regular expression "revenue|deposit| deposit|cash|transfer|transfer|account|account|receipt|receipt|refundable|refundable|cash out|delivery" to the received customer The user's short message of the terminal 1 is matched and judged. If it matches, it is judged that the received user short message is the credited message, and the next step is continued. Otherwise, the process ends.
进一步地,在判断收到的用户短信是入账短信后,数据收集模块210还可对该用户短信进行预处理。如对该用户短信进行去噪,去掉表情符以及一些特殊字符等,以利于后续对该用户短信内容的准确解析。Further, after determining that the received user short message is a crediting message, the data collecting module 210 may further preprocess the user short message. For example, the user's short message is denoised, the emoticon and some special characters are removed, so as to facilitate accurate analysis of the subsequent short message content of the user.
进一步地,在判断收到的用户短信是入账短信后,数据收集模块210还利用预设第二正则表达式解析获取所述用户短信中的预设关键信息。例如,可利用相应的预设正则表达式分析出该用户短信中特定的关键内容如银行卡类型、银行名称、银行卡尾号、入帐金额、余额等,具体的,针对银行卡类型,可利用正则表达式“借记卡|储蓄卡|信用卡“进行判断。针对银行名称,可利用正则表达式“(?<=(\\[|【))([\u4E00-\u9FA5]+)(?=(\\]|】))”计算得出。针对银行卡尾号,可利用正则表达式“(?<=尾号|尾数|尾号为|尾号:|尾号:|最后4位为|末四位|卡|卡号|卡号为|账户|账户\\*|(\\(|\\()\\*{0,2}|\\*{1,2})(\\d{3,4})|(\\d{3,4}(?=账户))”计算得出。针对入账金额,可利用正则表达式“(?<=金额|金额为|金额:|人民币|RMB|¥|\\)|)|金|费|收入|存入|支出|消费|往账|存现|取款|存款|转入|转出|支取|支付|现支:)(([-+]?)(\\d{1,3},){0,2}\\d+(\\.\\d{1,2})?)”计算得出。针对余额,可利用正则表达式“(?<=余额|余额为|余额人民币|余额为人民币|余额为RMB|余额:|余额:|剩余金额人民币)((-?)(\\d{1,3},){0,2}\\d+(\\.\\d{1,2})?)”计算得出。Further, after determining that the received user short message is a crediting message, the data collecting module 210 further uses the preset second regular expression to parse the preset key information in the user short message. For example, the corresponding preset expression can be used to analyze specific key content in the user's short message such as bank card type, bank name, bank card number, account amount, balance, etc. Specifically, for the bank card type, Use the regular expression "debit card | savings card | credit card" to make judgments. For the bank name, you can use the regular expression "(?<=(\\[|[))([\u4E00-\u9FA5]+)(?=(\\]|)))"). For the bank card tail number, you can use the regular expression "(? <= tail number | mantissa | tail number is | tail number: | tail number: | last 4 bits | | last four | card | card number | card number is | account | Account \\*|(\\(|\\()\\*{0,2}|\\*{1,2})(\\d{3,4})|(\\d{3 , 4} (?= account))" is calculated. For the amount of the account, you can use the regular expression "(? <= Amount | Amount | Amount: | RMB | RMB | ¥ | \\) |) | Fees|Revenue|Save in|Expenditure|Consumption|Accounts|Cash out|Withdrawal|Deposit|Transfer|Transfer|Withdrawal|Payment|Current support:)(([-+]?)(\\d{1, 3},){0,2}\\d+(\\.\\d{1,2})?)" is calculated. For the balance, you can use the regular expression "(?<= balance | balance | balance ren | balance is renminbi | balance is RMB | balance: | balance: | remaining amount renminbi) ((-?) (\\d{1 ,3},){0,2}\\d+(\\.\\d{1,2})?)" is calculated.
例如,在一种具体实例中,若收到的客户端1的用户短信内容如下:“您尾号6330的储蓄卡账户10月31日10时22分55秒XF提现收入人民币1000.00元,活期余额1008.91元。[建设银行]”。则数据收集模块210利用正则表达式对该用户短信内容进行解析后可得出以下几个字段:1、银行卡类型:储蓄卡; 2、银行名称:建设银行;3、银行卡尾号:6330;4、入帐金额:1000.00元;5、余额:1008.91元。For example, in a specific example, if the user message of the client 1 received is as follows: "Your account number of 6330 is 10:22:55 on October 31, XF cash withdrawal income is 1000.00 yuan, and the current balance is 1008.91 yuan. [Construction Bank]". Then, the data collection module 210 uses the regular expression to parse the content of the user's short message to obtain the following fields: 1. Bank card type: savings card; 2. Bank name: Construction Bank; 3. Bank card number: 6330 ; 4, the amount of the account: 1000.00 yuan; 5, the balance: 1008.91 yuan.
服务器2中的数据处理模块220,用于根据解析出的用户短信中的所述预设关键信息分析判断是否需对客户端用户进行贷款自动还款;如可分析所述预设关键信息中的银行名称及银行卡尾号与所述客户端用户预先绑定的还款银行名称及还款银行卡尾号是否一致;若一致,则分析需对所述客户端用户进行贷款自动还款;否则,分析不对所述客户端用户进行贷款自动还款。若判断需要对该客户端用户进行扣款,则将该客户端用户的用户信息和用户短信字段发送至对应的财务对接模块230进行扣款。其中,判断是否要对该客户端用户进行扣款时可判断解析出的用户短信关键内容(如银行名称和银行卡尾号)是否与该用户预先绑定的还款银行卡信息完全一致,若一致,则判断可对该用户进行自动扣款。若不一致,则无法对该用户进行自动扣款,流程结束。例如,在一种具体实例中,以上面的短信为例,数据处理模块220收到用户尾号为6330的建设银行储蓄卡提现1000.00元,余额为1008.91元的通知,会首先判断该客户端用户是否还处于欠款状态。如目前还存在欠款,则判断银行名称“建设银行”和银行卡尾号“6330”和该客户端用户绑定还款银行卡是否一致,如一致则将该客户端用户信息和短信信息传给财务对接模块230进行扣款,否则不做处理。此外,财务对接模块230在进行扣款后会返回“全部还款成功、部分还款成功、失败”等状态,如果全部还款成功,则数据处理模块220通知数据收集模块210不再对该客户端用户进行入账短信监控;否则会继续进行监控。The data processing module 220 in the server 2 is configured to analyze, according to the preset key information in the parsed user short message, whether the loan repayment is required to be performed on the client user; if the preset key information can be analyzed, Whether the bank name and the bank card end number are consistent with the repayment bank name and the repayment bank card end number pre-bound by the client user; if they are consistent, the analysis needs to automatically repay the loan to the client user; otherwise The analysis does not automatically repay the loan to the client user. If it is determined that the client user needs to be debited, the user information and the user short message field of the client user are sent to the corresponding financial docking module 230 for deduction. Wherein, determining whether the client user is to be debited can determine whether the parsed key content of the user's short message (such as the bank name and the bank card number) is completely consistent with the repayment bank card information pre-bound by the user, if If it is consistent, it is judged that the user can be automatically debited. If they are inconsistent, the user cannot be automatically debited and the process ends. For example, in a specific example, taking the above short message as an example, the data processing module 220 receives the construction bank savings card with the user ending number of 6330 and withdraws 1000.00 yuan, and the balance is 1008.91 yuan, and the client user is first determined. Is it still in arrears? If there is still arrears, it is judged whether the bank name "Construction Bank" and the bank card number "6330" and the client user binding repayment bank card are consistent. If they are consistent, the client user information and SMS information are transmitted. The financial docking module 230 is debited, otherwise it will not be processed. In addition, the financial docking module 230 returns to the state of “all repayment success, partial repayment success, failure” after the deduction, and if all the repayments are successful, the data processing module 220 notifies the data collection module 210 that the customer is no longer The end user performs the accounting monitoring of the account; otherwise, the monitoring will continue.
服务器2中的财务对接模块230在接收到数据处理模块220发送的客户端用户信息和用户短信后,调用对应的银行接口进行扣款(如调用与用户短信中“银行名称”对应的银行接口,对与该用户信息匹配,且与用户短信中“银行卡尾号”相匹配的银行卡进行自动扣款)。例如,若分析需对所述客户端用户进行贷款自动还款,则调用与所述预设关键信息中的银行名称对应的银行接口,对与所述预设关键信息中银行名称及银行卡尾号一致的还款银行卡进行自动扣款,以进行贷款自动还款;在进行贷款自动还款时,优先对所述还款银行卡在所述预设关键信息中余额的金额进行扣款,若所述还款银行卡在所述预设关键信息中余额的金额不足以抵扣当前贷款所需还款金额,则 继续对所述还款银行卡在所述预设关键信息中的入帐金额进行扣款。After receiving the client user information and the user short message sent by the data processing module 220, the financial docking module 230 in the server 2 calls the corresponding bank interface to debit (such as calling the bank interface corresponding to the “bank name” in the user short message. Automatically debit the bank card that matches the user information and matches the "bank card number" in the user's text message. For example, if the analysis needs to automatically repay the loan to the client user, the bank interface corresponding to the bank name in the preset key information is invoked, and the bank name and the bank card end in the preset key information are The repayment bank card with the same number is automatically deducted for automatic loan repayment; when the loan is automatically repaid, the amount of the balance of the repayment bank card in the preset key information is preferentially deducted. If the amount of the balance of the repayment bank card in the preset key information is insufficient to offset the repayment amount required for the current loan, continue to record the repayment bank card in the preset key information. The amount is deducted.
进一步地,若用户短信中传入的入账金额或者余额大于实际所欠的金额,则按实际所欠金额进行扣款;若用户短信中传入的入账金额或者余额小于实际所欠的金额,则按照传入的金额进行扣款。其中,在进行扣款时可针对用户短信中的“入账金额”进行扣款,也可针对用户短信中的“余额”进行扣款,一般“余额”是大于“入账金额”的,因此优先按照“余额”的金额扣款,如果“余额”缺少则按照“入账金额”进行扣款。该机制可以保证用户部分金额入账时可以立即进行部分还款,避免传统方式只进行全额扣款,因余额不足造成扣款失败。Further, if the incoming credit amount or balance in the user's short message is greater than the actual amount owed, the actual amount owed is deducted; if the incoming credit amount or balance in the user short message is less than the actual owed amount, then Debit the amount according to the amount passed in. Among them, the deduction can be made for the "accounting amount" in the user's short message, or the "balance" in the user's short message can be deducted. Generally, the "balance" is greater than the "accounting amount", so the priority is The amount of the "balance" is deducted, and if the "balance" is missing, the deduction is made according to the "accounting amount". The mechanism can ensure that part of the amount of the user can be partially repaid immediately when the account is credited, and the traditional method only avoids full deduction, and the deduction fails due to insufficient balance.
本申请中客户端对用户银行的入账短信进行实时监控,在用户收到入账短信时,立即向后台服务器发送信息,可以做到自动进行实时扣款。鉴于借款用户通常资金比较紧张,很多都在多个平台同时有借款,当用户资金不足够偿还当期所有借款时,会造成平台之间的扣款竞争,即先发具有优势,后发动扣款这可能面临款项不足、逾期以及后续催收工作。即便不是多个网贷平台之间竞争,也可能存在和用户的其他资金需求的竞争(比如购物),即,用户存入款项在系统扣抵借贷之前又可能被用户挪作他用。因此,本申请中根据入账短信进行分析并自动还款的方案可以减少用户和贷款平台的额外交互,及时偿还款项,避免逾期,改善用户体验,同时保护贷款平台利益。而且,相比于现有的网络借贷还款方式中银行代扣通常无法预知用户银行卡余额,只能按照当期应偿还金额扣取,如果余额不足会发生失败,不能自动部分偿还。本申请中由于从入账短信可以分析出入账金额或者账户余额,当入账金额或者账户余额可以还清当期应偿还金额时则自动还清,当入账金额或者账户余额不足以还清当期应偿还金额时则按入账金额或者账户余额进行自动还款,可以最大程度帮助用户偿还。In this application, the client monitors the user's bank's incoming SMS in real time, and when the user receives the incoming SMS, immediately sends the information to the background server, which can automatically perform real-time deduction. In view of the relatively tight capital of borrowing users, many of them have loans on multiple platforms at the same time. When the user funds are not enough to repay all the loans in the current period, the competition between the platforms will be deducted, that is, the first is advantageous, and then the deduction is initiated. There may be insufficient funds, overdue and subsequent collections. Even if there is no competition between multiple online lending platforms, there may be competition with the user's other funding needs (such as shopping), that is, the user deposits may be used by the user before the system deducts the loan. Therefore, the solution for analyzing and automatically repaying according to the account text message in the application can reduce the additional interaction between the user and the loan platform, timely repay the money, avoid overdue, improve the user experience, and protect the interests of the loan platform. Moreover, compared with the existing online loan repayment method, the bank withholding usually cannot predict the user's bank card balance, and can only be deducted according to the current repayment amount. If the balance is insufficient, it will fail and cannot be partially repaid. In this application, since the account amount or the account balance can be analyzed from the account text message, when the account amount or the account balance can be repaid in the current period, the amount will be automatically repaid. When the account amount or the account balance is insufficient to pay off the current repayment amount. Automatic repayment according to the account amount or account balance can help the user to repay the maximum amount.
参照图2所示,为一种客户端设备(例如图1中的客户端1,图3中未示出)中存储的贷款自动还款客户端程序10较佳实施例的程序模块图。所述客户端设备包括存储器和处理器,该存储器中包括贷款自动还款客户端程序10,该贷款自动还款客户端程序10包括配置获取模块110、分析模块120、短信 监控模块130、短信发送模块140。所述客户端设备的处理器在执行所述贷款自动还款客户端程序10时实现程序模块110-140的前述功能。Referring to FIG. 2, a block diagram of a preferred embodiment of a loan automatic repayment client program 10 stored in a client device (e.g., client 1 in FIG. 1, not shown in FIG. 3). The client device includes a memory and a processor, and the memory includes a loan automatic repayment client program 10, and the loan automatic repayment client program 10 includes a configuration acquisition module 110, an analysis module 120, a short message monitoring module 130, and a short message transmission. Module 140. The processor of the client device implements the aforementioned functions of the program modules 110-140 when executing the loan automatic repayment client program 10.
参照图3所示,为一种服务器(例如图1中的服务器2,图3中未示出)中存储的贷款自动还款服务器程序20较佳实施例的程序模块图。所述服务器包括存储器和处理器,该存储器中包括贷款自动还款服务器程序20,该贷款自动还款服务器程序20包括数据收集模块210、数据处理模块220、财务对接模块230。所述服务器的处理器在执行所述贷款自动还款服务器程序20时实现程序模块210-230的前述功能。Referring to FIG. 3, a block diagram of a preferred embodiment of a loan automatic repayment server program 20 stored in a server (e.g., server 2 in FIG. 1, not shown in FIG. 3). The server includes a memory and a processor, and the memory includes a loan automatic repayment server program 20, and the loan automatic repayment server program 20 includes a data collection module 210, a data processing module 220, and a financial docking module 230. The processor of the server implements the aforementioned functions of the program modules 210-230 when executing the loan automatic repayment server program 20.
参照图4所示,为本申请贷款自动还款方法第一较佳实施例的流程图。客户端在贷款自动还款系统运作时,实现如下步骤:Referring to FIG. 4, it is a flowchart of a first preferred embodiment of the automatic loan repayment method of the present application. When the client operates the loan automatic repayment system, the following steps are implemented:
步骤S101,通过预设的软件开发工具包从服务器上获取配置信息,所述配置信息为配置需要进行短信监控用户的配置信息。例如,用户在移动终端中安装对应客户端App后,预先集成在客户端App中的软件开发工具包SDK会定时从服务器的数据收集模块210中获取配置信息。Step S101: Obtain configuration information from a server by using a preset software development kit, where the configuration information is configuration information required to configure a short message monitoring user. For example, after the user installs the corresponding client App in the mobile terminal, the software development kit SDK pre-integrated in the client App periodically acquires the configuration information from the data collection module 210 of the server.
步骤S102,根据所述配置信息分析客户端用户是否需要进行短信监控。步骤S103,若分析所述客户端用户需要进行短信监控,则通过预设的软件开发工具包监控用户短信。Step S102: Analyze, according to the configuration information, whether the client user needs to perform short message monitoring. Step S103: If the client user needs to perform short message monitoring, the user short message is monitored by using a preset software development kit.
步骤S104,若监控获取到用户短信,则将获取的用户短信发送至所述服务器,以供所述服务器基于所述用户短信对所述客户端用户进行贷款自动还款。Step S104: If the monitoring obtains the short message of the user, send the obtained short message of the user to the server, so that the server automatically repays the loan to the client user based on the short message of the user.
参照图5所示,为本申请贷款自动还款方法第二较佳实施例的流程图。服务器在贷款自动还款系统运作时,实现如下步骤:Referring to FIG. 5, it is a flowchart of a second preferred embodiment of the automatic loan repayment method of the present application. When the server operates the automatic loan repayment system, the following steps are implemented:
步骤S201,接收客户端发送的用户短信;Step S201, receiving a user short message sent by the client;
步骤S202,利用正则表达式获取所述用户短信中的预设关键信息;Step S202, acquiring preset key information in the short message of the user by using a regular expression;
步骤S203,根据所述预设关键信息分析是否需对客户端用户进行贷款自动还款;Step S203: Analyze, according to the preset key information, whether automatic loan repayment is required to the client user;
步骤S204,若分析需对所述客户端用户进行贷款自动还款,则基于所述预设关键信息并调用对应的银行接口,按预设扣款规则对所述客户端用户进行贷款自动还款。Step S204: If the client needs to perform automatic loan repayment on the client user, then based on the preset key information and calling the corresponding bank interface, the client user is automatically repaid according to a preset deduction rule. .
具体的,首先服务器配置用户是否需要进行短信监控。例如,可根据不同用户的贷款还款情况配置是否要对其进行短信监控。如若用户所有贷款均已还清,则配置以后均不对其进行短信监控;若用户还有贷款未还,则配置对其进行短信监控。进一步地,若用户当月贷款已还清但下月还有贷款要还,则配置当月不再对其进行短信监控,下个月自动开启对其进行短信监控;若用户当月贷款还未还清,则配置对其进行短信监控。Specifically, first, the server configures whether the user needs to perform short message monitoring. For example, it is possible to configure whether or not to monitor SMS according to the loan repayment situation of different users. If all the loans of the user have been paid off, the SMS will not be monitored after the configuration; if the user still has the loan, the SMS monitoring will be configured. Further, if the user's monthly loan has been paid off but there is still a loan to be paid in the next month, then the configuration will not be monitored for SMS in the current month, and the SMS will be automatically turned on next month; if the user's monthly loan has not been paid off, Then configure SMS monitoring for it.
客户端获取服务器中关于短信监控的配置信息。例如,用户在移动终端中安装对应客户端App后,预先集成在客户端App中的软件开发工具包SDK会定时从服务器中获取配置信息。The client obtains configuration information about the short message monitoring in the server. For example, after the user installs the corresponding client app in the mobile terminal, the software development kit SDK pre-integrated in the client app periodically acquires configuration information from the server.
客户端根据获取的配置信息分析判断该客户端用户是否需要进行短信监控,如果需要,则通过软件开发工具包SDK开启短信监控;否则,不开启短信监控。The client analyzes and determines whether the client user needs to perform short message monitoring according to the obtained configuration information. If necessary, the short message monitoring is started through the software development kit SDK; otherwise, the short message monitoring is not enabled.
客户端在开启短信监控后,对客户端上的用户短信进行监测,实时获取客户端上的用户短信数据,并将获取的移动终端上的用户短信数据发送至服务器。After the SMS monitoring is enabled, the client monitors the user's short message on the client, obtains the user's short message data on the client in real time, and sends the obtained user's short message data on the mobile terminal to the server.
服务器接收客户端发送的用户短信,并利用正则表达式对该用户短信进行判断和解析。其中,正则表达式,又称规则表达式。(英语:Regular Expression,在代码中常简写为regex、regexp或RE),通常被用来检索、替换那些符合某个模式(规则)的文本。正则表达式是对字符串操作的一种逻辑公式,就是用事先定义好的一些特定字符、及这些特定字符的组合,组成一个“规则字符串”,这个“规则字符串”用来表达对字符串的一种过滤逻辑。如给定一个正则表达式和另一个字符串,可以达到如下的目的:1.给定的字符串是否符合正则表达式的过滤逻辑(称作“匹配”):2.可以通过正则表达式,从字符串中获取想要的特定部分。The server receives the user's short message sent by the client, and uses the regular expression to judge and parse the user's short message. Among them, regular expressions, also known as regular expressions. (English: Regular Expression, often abbreviated as regex, regexp, or RE in code), is often used to retrieve and replace text that conforms to a pattern (rule). A regular expression is a logical formula for string operations. It uses a combination of specific characters defined in advance and combinations of these specific characters to form a "rule string". This "rule string" is used to express the pair of characters. A filtering logic for strings. Given a regular expression and another string, you can achieve the following goals: 1. Whether the given string conforms to the regular expression's filtering logic (called "match"): 2. Can pass regular expressions, Get the specific part you want from the string.
具体地,服务器首先利用预设第一正则表达式对所述用户短信进行匹配,根据匹配结果分析所述用户短信是否为预设入账短信。例如,利用正则表达式“收入|存款|存入|存现|转入|转存|到账|入账|汇入|到帐|退费|退款|提现|代发”对收到的客户端1的用户短信进行匹配判断,若匹配,则判断收到的用户短信是入账短信,继续下一步。否则,流程结束。Specifically, the server first matches the user short message by using a preset first regular expression, and analyzes whether the user short message is a preset credit message according to the matching result. For example, using the regular expression "revenue|deposit| deposit|cash|transfer|transfer|account|account|receipt|receipt|refundable|refundable|cash out|delivery" to the received customer The user's short message of the terminal 1 is matched and judged. If it matches, it is judged that the received user short message is the credited message, and the next step is continued. Otherwise, the process ends.
进一步地,在判断收到的用户短信是入账短信后,服务器还可对该用户 短信进行预处理。如对该用户短信进行去噪,去掉表情符以及一些特殊字符等,以利于后续对该用户短信内容的准确解析。Further, after determining that the received user short message is a crediting message, the server may also preprocess the user short message. For example, the user's short message is denoised, the emoticon and some special characters are removed, so as to facilitate accurate analysis of the subsequent short message content of the user.
进一步地,在判断收到的用户短信是入账短信后,服务器还利用预设第二正则表达式解析获取所述用户短信中的预设关键信息。例如,可利用相应的预设正则表达式分析出该用户短信中特定的关键内容如银行卡类型、银行名称、银行卡尾号、入帐金额、余额等,具体的,针对银行卡类型,可利用正则表达式“借记卡|储蓄卡|信用卡“进行判断。针对银行名称,可利用正则表达式“(?<=(\\[|【))([\u4E00-\u9FA5]+)(?=(\\]|】))”计算得出。针对银行卡尾号,可利用正则表达式“(?<=尾号|尾数|尾号为|尾号:|尾号:|最后4位为|末四位|卡|卡号|卡号为|账户|账户\\*|(\\(|\\()\\*{0,2}|\\*{1,2})(\\d{3,4})|(\\d{3,4}(?=账户))”计算得出。针对入账金额,可利用正则表达式“(?<=金额|金额为|金额:|人民币|RMB|¥|\\)|)|金|费|收入|存入|支出|消费|往账|存现|取款|存款|转入|转出|支取|支付|现支:)(([-+]?)(\\d{1,3},){0,2}\\d+(\\.\\d{1,2})?)”计算得出。针对余额,可利用正则表达式“(?<=余额|余额为|余额人民币|余额为人民币|余额为RMB|余额:|余额:|剩余金额人民币)((-?)(\\d{1,3},){0,2}\\d+(\\.\\d{1,2})?)”计算得出。Further, after determining that the received user short message is the accounting short message, the server further uses the preset second regular expression to parse and obtain the preset key information in the user short message. For example, the corresponding preset expression can be used to analyze specific key content in the user's short message such as bank card type, bank name, bank card number, account amount, balance, etc. Specifically, for the bank card type, Use the regular expression "debit card | savings card | credit card" to make judgments. For the bank name, you can use the regular expression "(?<=(\\[|[))([\u4E00-\u9FA5]+)(?=(\\]|)))"). For the bank card tail number, you can use the regular expression "(? <= tail number | mantissa | tail number is | tail number: | tail number: | last 4 bits | | last four | card | card number | card number is | account | Account \\*|(\\(|\\()\\*{0,2}|\\*{1,2})(\\d{3,4})|(\\d{3 , 4} (?= account))" is calculated. For the amount of the account, you can use the regular expression "(? <= Amount | Amount | Amount: | RMB | RMB | ¥ | \\) |) | Fees|Revenue|Save in|Expenditure|Consumption|Accounts|Cash out|Withdrawal|Deposit|Transfer|Transfer|Withdrawal|Payment|Current support:)(([-+]?)(\\d{1, 3},){0,2}\\d+(\\.\\d{1,2})?)" is calculated. For the balance, you can use the regular expression "(?<= balance | balance | balance ren | balance is renminbi | balance is RMB | balance: | balance: | remaining amount renminbi) ((-?) (\\d{1 ,3},){0,2}\\d+(\\.\\d{1,2})?)" is calculated.
例如,在一种具体实例中,若收到的客户端1的用户短信内容如下:“您尾号6330的储蓄卡账户10月31日10时22分55秒XF提现收入人民币1000.00元,活期余额1008.91元。[建设银行]”。则服务器利用正则表达式对该用户短信内容进行解析后可得出以下几个字段:1、银行卡类型:储蓄卡;2、银行名称:建设银行;3、银行卡尾号:6330;4、入帐金额:1000.00元;5、余额:1008.91元。For example, in a specific example, if the user message of the client 1 received is as follows: "Your account number of 6330 is 10:22:55 on October 31, XF cash withdrawal income is 1000.00 yuan, and the current balance is 1008.91 yuan. [Construction Bank]". Then the server uses the regular expression to parse the content of the user's short message to obtain the following fields: 1. Bank card type: savings card; 2. Bank name: Construction Bank; 3. Bank card number: 6330; The amount of the account: 1000.00 yuan; 5, the balance: 1008.91 yuan.
服务器根据解析出的用户短信中的所述预设关键信息分析判断是否需对客户端用户进行贷款自动还款;如可分析所述预设关键信息中的银行名称及银行卡尾号与所述客户端用户预先绑定的还款银行名称及还款银行卡尾号是否一致;若一致,则分析需对所述客户端用户进行贷款自动还款;否则,分析不对所述客户端用户进行贷款自动还款。若判断需要对该客户端用户进行扣款,则将该客户端用户的用户信息和用户短信字段发送至对应的财务对接模块进行扣款。其中,判断是否要对该客户端用户进行扣款时可判断解析出的用户短信关键内容(如银行名称和银行卡尾号)是否与该用户预先绑定的 还款银行卡信息完全一致,若一致,则判断可对该用户进行自动扣款。若不一致,则无法对该用户进行自动扣款,流程结束。例如,在一种具体实例中,以上面的短信为例,服务器收到用户尾号为6330的建设银行储蓄卡提现1000.00元,余额为1008.91元的通知,会首先判断该客户端用户是否还处于欠款状态。如目前还存在欠款,则判断银行名称“建设银行”和银行卡尾号“6330”和该客户端用户绑定还款银行卡是否一致,如一致则将该客户端用户信息和短信信息传给财务对接模块进行扣款,否则不做处理。此外,财务对接模块在进行扣款后会返回“全部还款成功、部分还款成功、失败”等状态,如果全部还款成功,则不再对该客户端用户进行入账短信监控;否则会继续进行监控。The server analyzes, according to the preset key information in the parsed user short message, whether it is necessary to automatically repay the loan to the client user; if the bank name and the bank card number in the preset key information can be analyzed, Whether the reimbursement bank name and the repayment bank card end number pre-bound by the client user are consistent; if they are consistent, the analysis needs to automatically repay the loan to the client user; otherwise, the analysis does not make a loan to the client user. autopay. If it is determined that the client user needs to be debited, the user information and the user short message field of the client user are sent to the corresponding financial docking module for deduction. Wherein, determining whether the client user is to be debited can determine whether the parsed key content of the user's short message (such as the bank name and the bank card number) is completely consistent with the repayment bank card information pre-bound by the user, if If it is consistent, it is judged that the user can be automatically debited. If they are inconsistent, the user cannot be automatically debited and the process ends. For example, in a specific example, taking the above short message as an example, the server receives a payment of 1000.00 yuan from the construction bank savings card with the user ending number of 6330, and the balance is 1008.91 yuan, first determining whether the client user is still in the Arrears status. If there is still arrears, it is judged whether the bank name "Construction Bank" and the bank card number "6330" and the client user binding repayment bank card are consistent. If they are consistent, the client user information and SMS information are transmitted. Deduct the financial docking module, otherwise it will not be processed. In addition, the financial docking module will return to the status of “all repayments successful, partial repayment success, failure” after the deduction, and if all repayments are successful, the client user will not be monitored for SMS; otherwise it will continue Monitor.
服务器中的财务对接模块在接收到客户端用户信息和用户短信后,调用对应的银行接口进行扣款(如调用与用户短信中“银行名称”对应的银行接口,对与该用户信息匹配,且与用户短信中“银行卡尾号”相匹配的银行卡进行自动扣款)。例如,若分析需对所述客户端用户进行贷款自动还款,则调用与所述预设关键信息中的银行名称对应的银行接口,对与所述预设关键信息中银行名称及银行卡尾号一致的还款银行卡进行自动扣款,以进行贷款自动还款;在进行贷款自动还款时,优先对所述还款银行卡在所述预设关键信息中余额的金额进行扣款,若所述还款银行卡在所述预设关键信息中余额的金额不足以抵扣当前贷款所需还款金额,则继续对所述还款银行卡在所述预设关键信息中的入帐金额进行扣款。After receiving the client user information and the user short message, the financial docking module in the server calls the corresponding bank interface to debit (such as calling a bank interface corresponding to the “bank name” in the user short message, matching the user information, and The bank card matching the "bank card number" in the user's text message is automatically debited). For example, if the analysis needs to automatically repay the loan to the client user, the bank interface corresponding to the bank name in the preset key information is invoked, and the bank name and the bank card end in the preset key information are The repayment bank card with the same number is automatically deducted for automatic loan repayment; when the loan is automatically repaid, the amount of the balance of the repayment bank card in the preset key information is preferentially deducted. If the amount of the balance of the repayment bank card in the preset key information is insufficient to offset the repayment amount required for the current loan, continue to record the repayment bank card in the preset key information. The amount is deducted.
进一步地,若用户短信中传入的入账金额或者余额大于实际所欠的金额,则按实际所欠金额进行扣款;若用户短信中传入的入账金额或者余额小于实际所欠的金额,则按照传入的金额进行扣款。其中,在进行扣款时可针对用户短信中的“入账金额”进行扣款,也可针对用户短信中的“余额”进行扣款,一般“余额”是大于“入账金额”的,因此优先按照“余额”的金额扣款,如果“余额”缺少则按照“入账金额”进行扣款。该机制可以保证用户部分金额入账时可以立即进行部分还款,避免传统方式只进行全额扣款,因余额不足造成扣款失败。Further, if the incoming credit amount or balance in the user's short message is greater than the actual amount owed, the actual amount owed is deducted; if the incoming credit amount or balance in the user short message is less than the actual owed amount, then Debit the amount according to the amount passed in. Among them, the deduction can be made for the "accounting amount" in the user's short message, or the "balance" in the user's short message can be deducted. Generally, the "balance" is greater than the "accounting amount", so the priority is The amount of the "balance" is deducted, and if the "balance" is missing, the deduction is made according to the "accounting amount". The mechanism can ensure that part of the amount of the user can be partially repaid immediately when the account is credited, and the traditional method only avoids full deduction, and the deduction fails due to insufficient balance.
本申请中客户端对用户银行的入账短信进行实时监控,在用户收到入账 短信时,立即向后台服务器发送信息,可以做到自动进行实时扣款。鉴于借款用户通常资金比较紧张,很多都在多个平台同时有借款,当用户资金不足够偿还当期所有借款时,会造成平台之间的扣款竞争,即先发具有优势,后发动扣款这可能面临款项不足、逾期以及后续催收工作。即便不是多个网贷平台之间竞争,也可能存在和用户的其他资金需求的竞争(比如购物),即,用户存入款项在系统扣抵借贷之前又可能被用户挪作他用。因此,本申请中根据入账短信进行分析并自动还款的方案可以减少用户和贷款平台的额外交互,及时偿还款项,避免逾期,改善用户体验,同时保护贷款平台利益。而且,相比于现有的网络借贷还款方式中银行代扣通常无法预知用户银行卡余额,只能按照当期应偿还金额扣取,如果余额不足会发生失败,不能自动部分偿还。本申请中由于从入账短信可以分析出入账金额或者账户余额,当入账金额或者账户余额可以还清当期应偿还金额时则自动还清,当入账金额或者账户余额不足以还清当期应偿还金额时则按入账金额或者账户余额进行自动还款,可以最大程度帮助用户偿还。In this application, the client monitors the user's bank's incoming SMS in real time, and when the user receives the incoming SMS, immediately sends the information to the background server, which can automatically perform real-time deduction. In view of the relatively tight capital of borrowing users, many of them have loans on multiple platforms at the same time. When the user funds are not enough to repay all the loans in the current period, the competition between the platforms will be deducted, that is, the first is advantageous, and then the deduction is initiated. There may be insufficient funds, overdue and subsequent collections. Even if there is no competition between multiple online lending platforms, there may be competition with the user's other funding needs (such as shopping), that is, the user deposits may be used by the user before the system deducts the loan. Therefore, the solution for analyzing and automatically repaying according to the account text message in the application can reduce the additional interaction between the user and the loan platform, timely repay the money, avoid overdue, improve the user experience, and protect the interests of the loan platform. Moreover, compared with the existing online loan repayment method, the bank withholding usually cannot predict the user's bank card balance, and can only be deducted according to the current repayment amount. If the balance is insufficient, it will fail and cannot be partially repaid. In this application, since the account amount or the account balance can be analyzed from the account text message, when the account amount or the account balance can be repaid in the current period, the amount will be automatically repaid. When the account amount or the account balance is insufficient to pay off the current repayment amount. Automatic repayment according to the account amount or account balance can help the user to repay the maximum amount.
此外,本申请实施例还提出一种计算机可读存储介质,所述计算机可读存储介质可以是硬盘、多媒体卡、SD卡、闪存卡、SMC、只读存储器(ROM)、可擦除可编程只读存储器(EPROM)、便携式紧致盘只读存储器(CD-ROM)、USB存储器等等中的任意一种或者几种的任意组合。所述计算机可读存储介质中包括贷款自动还款客户端程序10,该贷款自动还款客户端程序10被执行时实现如下步骤:In addition, the embodiment of the present application further provides a computer readable storage medium, which may be a hard disk, a multimedia card, an SD card, a flash memory card, an SMC, a read only memory (ROM), and an erasable programmable Any combination or combination of any one or more of read only memory (EPROM), portable compact disk read only memory (CD-ROM), USB memory, and the like. The computer readable storage medium includes a loan automatic repayment client program 10, and when the loan automatic repayment client program 10 is executed, the following steps are implemented:
通过预设的软件开发工具包从服务器上获取配置信息,所述配置信息为配置需要进行短信监控用户的配置信息;The configuration information is obtained from the server by using a preset software development kit, where the configuration information is configured to configure the user to configure the short message to monitor the configuration information of the user;
根据所述配置信息分析客户端用户是否需要进行短信监控;And analyzing, according to the configuration information, whether the client user needs to perform short message monitoring;
若分析所述客户端用户需要进行短信监控,则通过预设的软件开发工具包监控用户短信;If the client user needs to perform SMS monitoring, the user SMS is monitored by a preset software development kit;
若监控获取到用户短信,则将获取的用户短信发送至所述服务器,以供所述服务器基于所述用户短信对所述客户端用户进行贷款自动还款。If the monitoring obtains the short message of the user, the obtained short message of the user is sent to the server, so that the server automatically repays the loan to the client user based on the short message of the user.
本申请实施例还提出另一种计算机可读存储介质,该计算机可读存储介质中包括贷款自动还款服务器程序20,该贷款自动还款服务器程序20被执行 时实现如下步骤:Another embodiment of the present application further provides a computer readable storage medium including a loan automatic repayment server program 20, which is implemented when the loan automatic repayment server program 20 is executed:
接收客户端发送的用户短信;Receiving a user message sent by the client;
利用正则表达式获取所述用户短信中的预设关键信息;Using a regular expression to obtain preset key information in the user's short message;
根据所述预设关键信息分析是否需对客户端用户进行贷款自动还款;Determining whether the client user needs to automatically repay the loan according to the preset key information;
若分析需对所述客户端用户进行贷款自动还款,则基于所述预设关键信息并调用对应的银行接口,按预设扣款规则对所述客户端用户进行贷款自动还款。本申请之计算机可读存储介质的具体实施方式与上述贷款自动还款方法及系统的具体实施方式大致相同,在此不再赘述。If the client needs to perform automatic loan repayment on the client user, the client user is automatically repaid according to the preset debit payment rule based on the preset key information and the corresponding bank interface. The specific implementation manner of the computer readable storage medium of the present application is substantially the same as the specific embodiment of the automatic loan repayment method and system, and details are not described herein again.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a series of elements includes those elements. It also includes other elements not explicitly listed, or elements that are inherent to such a process, device, item, or method. In addition, the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions does not exist. Nor is it within the scope of protection required by this application.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质中,包括若干指令用以使得服务器执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, portions of the technical solution of the present application that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium as described above, including a number of instructions. Used to cause the server to perform the methods described in various embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above is only a preferred embodiment of the present application, and is not intended to limit the scope of the patent application, and the equivalent structure or equivalent process transformations made by the specification and the drawings of the present application, or directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of this application.

Claims (20)

  1. 一种贷款自动还款方法,应用于客户端,其特征在于,该方法包括:An automatic loan repayment method is applied to a client, and the method comprises:
    通过预设的软件开发工具包从服务器上获取配置信息,所述配置信息为配置需要进行短信监控用户的配置信息;The configuration information is obtained from the server by using a preset software development kit, where the configuration information is configured to configure the user to configure the short message to monitor the configuration information of the user;
    根据所述配置信息分析客户端用户是否需要进行短信监控;And analyzing, according to the configuration information, whether the client user needs to perform short message monitoring;
    若分析所述客户端用户需要进行短信监控,则通过预设的软件开发工具包监控用户短信;If the client user needs to perform SMS monitoring, the user SMS is monitored by a preset software development kit;
    若监控获取到用户短信,则将获取的用户短信发送至所述服务器,以供所述服务器基于所述用户短信对所述客户端用户进行贷款自动还款。If the monitoring obtains the short message of the user, the obtained short message of the user is sent to the server, so that the server automatically repays the loan to the client user based on the short message of the user.
  2. 一种贷款自动还款方法,应用于服务器,其特征在于,该方法包括:A method for automatic loan repayment, applied to a server, characterized in that the method comprises:
    接收客户端发送的用户短信;Receiving a user message sent by the client;
    利用正则表达式获取所述用户短信中的预设关键信息;Using a regular expression to obtain preset key information in the user's short message;
    根据所述预设关键信息分析是否需对客户端用户进行贷款自动还款;Determining whether the client user needs to automatically repay the loan according to the preset key information;
    若分析需对所述客户端用户进行贷款自动还款,则基于所述预设关键信息并调用对应的银行接口,按预设扣款规则对所述客户端用户进行贷款自动还款。If the client needs to perform automatic loan repayment on the client user, the client user is automatically repaid according to the preset debit payment rule based on the preset key information and the corresponding bank interface.
  3. 如权利要求2所述的贷款自动还款方法,其特征在于,所述利用正则表达式获取所述用户短信中的预设关键信息的步骤包括:The automatic loan repayment method according to claim 2, wherein the step of acquiring the preset key information in the short message of the user by using a regular expression comprises:
    利用预设第一正则表达式对所述用户短信进行匹配,根据匹配结果分析所述用户短信是否为预设入账短信;Matching the short message of the user by using a preset first regular expression, and analyzing whether the short message of the user is a preset short message according to the matching result;
    若分析所述用户短信是预设入账短信,则利用预设第二正则表达式获取所述用户短信中的预设关键信息。If the user short message is analyzed as a preset credit message, the preset second key expression is used to obtain the preset key information in the user short message.
  4. 如权利要求3所述的贷款自动还款方法,其特征在于,所述预设关键信息包括银行卡类型、银行名称、银行卡尾号、入帐金额和/或余额,所述利用预设第二正则表达式获取所述用户短信中的预设关键信息包括:The automatic loan repayment method according to claim 3, wherein the preset key information comprises a bank card type, a bank name, a bank card number, a credit amount, and/or a balance, and the use of the preset The second regular expression obtains preset key information in the short message of the user, including:
    利用预设的银行卡类型正则表达式获取所述用户短信中的银行卡类型;Obtaining a bank card type in the user short message by using a preset bank card type regular expression;
    利用预设的银行名称正则表达式获取所述用户短信中的银行名称;Obtaining a bank name in the user short message by using a preset bank name regular expression;
    利用预设的银行卡尾号正则表达式获取所述用户短信中的银行卡尾号;Obtaining the bank card end number in the user short message by using a preset bank card ending number regular expression;
    利用预设的入帐金额正则表达式获取所述用户短信中的入帐金额;Obtaining the account amount in the user short message by using a preset account amount regular expression;
    利用预设的余额正则表达式获取所述用户短信中的余额。The balance in the user's short message is obtained by using a preset balance regular expression.
  5. 如权利要求4所述的贷款自动还款方法,其特征在于,所述根据所述预设关键信息分析是否需对客户端用户进行贷款自动还款的步骤包括:The automatic loan repayment method according to claim 4, wherein the step of analyzing whether the loan automatic repayment is required for the client user according to the preset key information comprises:
    分析所述预设关键信息中的银行名称及银行卡尾号与所述客户端用户预先绑定的还款银行名称及还款银行卡尾号是否一致;Analyzing whether the bank name and the bank card end number in the preset key information are consistent with the repayment bank name and the repayment bank card tail number pre-bound by the client user;
    若一致,则分析需对所述客户端用户进行贷款自动还款;否则,分析不对所述客户端用户进行贷款自动还款。If they are consistent, the analysis needs to automatically repay the loan to the client user; otherwise, the analysis does not automatically repay the loan to the client user.
  6. 如权利要求5所述的贷款自动还款方法,其特征在于,所述若分析需对所述客户端用户进行贷款自动还款,则基于所述预设关键信息并调用对应的银行接口,按预设扣款规则对所述客户端用户进行贷款自动还款的步骤包括:The automatic loan repayment method according to claim 5, wherein if the analysis requires automatic loan repayment to the client user, the corresponding key information is invoked based on the preset key information, and the corresponding bank interface is invoked. The steps of the automatic debit payment for the client user by the preset deduction rules include:
    若分析需对所述客户端用户进行贷款自动还款,则调用与所述预设关键信息中的银行名称对应的银行接口,对与所述预设关键信息中银行名称及银行卡尾号一致的还款银行卡进行自动扣款,以进行贷款自动还款;If the analysis needs to automatically repay the loan to the client user, the bank interface corresponding to the bank name in the preset key information is invoked, and the bank name and the bank card end number are consistent with the preset key information. The repayment bank card is automatically debited for automatic loan repayment;
    在进行贷款自动还款时,优先对所述还款银行卡在所述预设关键信息中余额的金额进行扣款,若所述还款银行卡在所述预设关键信息中余额的金额不足以抵扣当前贷款所需还款金额,则继续对所述还款银行卡在所述预设关键信息中的入帐金额进行扣款。When the automatic loan repayment is performed, the amount of the balance of the repayment bank card in the preset key information is preferentially deducted, if the amount of the balance of the repayment bank card in the preset key information is insufficient To deduct the repayment amount required for the current loan, the deduction of the credit amount of the repayment bank card in the preset key information is continued.
  7. 如权利要求5所述的贷款自动还款方法,其特征在于,在所述接收客户端发送的用户短信的步骤之前还包括:The automatic loan repayment method according to claim 5, further comprising: before the step of receiving the user short message sent by the client:
    根据不同用户的贷款还款情况配置需要进行短信监控用户的配置信息。According to the loan repayment situation of different users, configure the configuration information of the SMS monitoring user.
  8. 一种贷款自动还款系统,其特征在于,该贷款自动还款系统包括:An automatic loan repayment system, characterized in that the loan automatic repayment system comprises:
    服务器,及Server, and
    至少一个客户端;At least one client;
    所述客户端包括:The client includes:
    配置获取模块,用于通过预设的软件开发工具包从服务器上获取配置信息,所述配置信息为配置需要进行短信监控用户的配置信息;The configuration obtaining module is configured to obtain configuration information from the server by using a preset software development kit, where the configuration information is configured to perform configuration of the short message monitoring user;
    分析模块:用于根据所述配置信息分析客户端用户是否需要进行短信监控;An analysis module: configured to analyze, according to the configuration information, whether a client user needs to perform short message monitoring;
    短信监控模块:用于若分析所述客户端用户需要进行短信监控,则通过预设的软件开发工具包监控用户短信;The short message monitoring module is configured to: if the client user needs to perform short message monitoring, monitor the user short message by using a preset software development kit;
    短信发送模块:用于若监控获取到用户短信,则将获取的用户短信发送至所述服务器,以供所述服务器基于所述用户短信对所述客户端用户进行贷款自动还款;The short message sending module is configured to: if the monitoring obtains the short message of the user, send the obtained short message of the user to the server, so that the server automatically repays the loan to the client user based on the short message of the user;
    所述服务器包括:The server includes:
    数据收集模块:用于接收客户端发送的用户短信,并利用正则表达式获取所述用户短信中的预设关键信息;The data collection module is configured to receive a user short message sent by the client, and obtain a preset key information in the user short message by using a regular expression;
    数据处理模块:用于根据所述预设关键信息分析是否需对客户端用户进行贷款自动还款;The data processing module is configured to analyze, according to the preset key information, whether a loan automatic repayment is required for the client user;
    财务对接模块:用于若分析需对所述客户端用户进行贷款自动还款,则基于所述预设关键信息并调用对应的银行接口,按预设扣款规则对所述客户端用户进行贷款自动还款。The financial docking module is configured to: if the client needs to perform automatic loan repayment on the client user, and then, according to the preset key information, invoke a corresponding bank interface, and perform the loan to the client user according to a preset deduction rule. autopay.
  9. 一种客户端设备,其特征在于,该客户端设备中存储有贷款自动还款客户端程序,该客户端设备在执行该贷款自动还款客户端程序时实现如下步骤:A client device, characterized in that the client device stores a loan automatic repayment client program, and the client device implements the following steps when executing the loan automatic repayment client program:
    通过预设的软件开发工具包从服务器上获取配置信息,所述配置信息为配置需要进行短信监控用户的配置信息;The configuration information is obtained from the server by using a preset software development kit, where the configuration information is configured to configure the user to configure the short message to monitor the configuration information of the user;
    根据所述配置信息分析客户端用户是否需要进行短信监控;And analyzing, according to the configuration information, whether the client user needs to perform short message monitoring;
    若分析所述客户端用户需要进行短信监控,则通过预设的软件开发工具包监控用户短信;If the client user needs to perform SMS monitoring, the user SMS is monitored by a preset software development kit;
    若监控获取到用户短信,则将获取的用户短信发送至所述服务器,以供所述服务器基于所述用户短信对所述客户端用户进行贷款自动还款。If the monitoring obtains the short message of the user, the obtained short message of the user is sent to the server, so that the server automatically repays the loan to the client user based on the short message of the user.
  10. 一种服务器,其特征在于,该服务器中存储有贷款自动还款服务器程序,该服务器在执行该贷款自动还款服务器程序时实现如下步骤:A server, characterized in that the server stores a loan automatic repayment server program, and the server implements the following steps when executing the loan automatic repayment server program:
    接收客户端发送的用户短信;Receiving a user message sent by the client;
    利用正则表达式获取所述用户短信中的预设关键信息;Using a regular expression to obtain preset key information in the user's short message;
    根据所述预设关键信息分析是否需对客户端用户进行贷款自动还款;Determining whether the client user needs to automatically repay the loan according to the preset key information;
    若分析需对所述客户端用户进行贷款自动还款,则基于所述预设关键信息并调用对应的银行接口,按预设扣款规则对所述客户端用户进行贷款自动还款。If the client needs to perform automatic loan repayment on the client user, the client user is automatically repaid according to the preset debit payment rule based on the preset key information and the corresponding bank interface.
  11. 如权利要求10所述的服务器,其特征在于,所述利用正则表达式获取所述用户短信中的预设关键信息的步骤包括:The server according to claim 10, wherein the step of acquiring the preset key information in the short message of the user by using a regular expression comprises:
    利用预设第一正则表达式对所述用户短信进行匹配,根据匹配结果分析所述用户短信是否为预设入账短信;Matching the short message of the user by using a preset first regular expression, and analyzing whether the short message of the user is a preset short message according to the matching result;
    若分析所述用户短信是预设入账短信,则利用预设第二正则表达式获取所述用户短信中的预设关键信息。If the user short message is analyzed as a preset credit message, the preset second key expression is used to obtain the preset key information in the user short message.
  12. 如权利要求11所述的服务器,其特征在于,所述预设关键信息包括银行卡类型、银行名称、银行卡尾号、入帐金额和/或余额,所述利用预设第二正则表达式获取所述用户短信中的预设关键信息包括:The server according to claim 11, wherein said preset key information comprises a bank card type, a bank name, a bank card number, an account amount and/or a balance, and said utilizing a preset second regular expression Obtaining preset key information in the user short message includes:
    利用预设的银行卡类型正则表达式获取所述用户短信中的银行卡类型;Obtaining a bank card type in the user short message by using a preset bank card type regular expression;
    利用预设的银行名称正则表达式获取所述用户短信中的银行名称;Obtaining a bank name in the user short message by using a preset bank name regular expression;
    利用预设的银行卡尾号正则表达式获取所述用户短信中的银行卡尾号;Obtaining the bank card end number in the user short message by using a preset bank card ending number regular expression;
    利用预设的入帐金额正则表达式获取所述用户短信中的入帐金额;Obtaining the account amount in the user short message by using a preset account amount regular expression;
    利用预设的余额正则表达式获取所述用户短信中的余额。The balance in the user's short message is obtained by using a preset balance regular expression.
  13. 如权利要求12所述的服务器,其特征在于,所述根据所述预设关键信息分析是否需对客户端用户进行贷款自动还款的步骤包括:The server according to claim 12, wherein the step of analyzing whether the client user needs to perform automatic loan repayment according to the preset key information comprises:
    分析所述预设关键信息中的银行名称及银行卡尾号与所述客户端用户预先绑定的还款银行名称及还款银行卡尾号是否一致;Analyzing whether the bank name and the bank card end number in the preset key information are consistent with the repayment bank name and the repayment bank card tail number pre-bound by the client user;
    若一致,则分析需对所述客户端用户进行贷款自动还款;否则,分析不对所述客户端用户进行贷款自动还款。If they are consistent, the analysis needs to automatically repay the loan to the client user; otherwise, the analysis does not automatically repay the loan to the client user.
  14. 如权利要求13所述的服务器,其特征在于,所述若分析需对所述客户端用户进行贷款自动还款,则基于所述预设关键信息并调用对应的银行接口,按预设扣款规则对所述客户端用户进行贷款自动还款的步骤包括:The server according to claim 13, wherein if the analysis needs to automatically repay the loan to the client user, the preset key information is used to invoke the corresponding bank interface, and the default debit is charged. The steps for the rule to automatically repay the loan to the client user include:
    若分析需对所述客户端用户进行贷款自动还款,则调用与所述预设关键信息中的银行名称对应的银行接口,对与所述预设关键信息中银行名称及银行卡尾号一致的还款银行卡进行自动扣款,以进行贷款自动还款;If the analysis needs to automatically repay the loan to the client user, the bank interface corresponding to the bank name in the preset key information is invoked, and the bank name and the bank card end number are consistent with the preset key information. The repayment bank card is automatically debited for automatic loan repayment;
    在进行贷款自动还款时,优先对所述还款银行卡在所述预设关键信息中余额的金额进行扣款,若所述还款银行卡在所述预设关键信息中余额的金额不足以抵扣当前贷款所需还款金额,则继续对所述还款银行卡在所述预设关键信息中的入帐金额进行扣款。When the automatic loan repayment is performed, the amount of the balance of the repayment bank card in the preset key information is preferentially deducted, if the amount of the balance of the repayment bank card in the preset key information is insufficient To deduct the repayment amount required for the current loan, the deduction of the credit amount of the repayment bank card in the preset key information is continued.
  15. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中包括贷款自动还款客户端程序,该贷款自动还款客户端程序被执行时实现如下步骤:A computer readable storage medium, characterized in that the computer readable storage medium comprises a loan automatic repayment client program, and the loan automatic repayment client program is executed as follows:
    通过预设的软件开发工具包从服务器上获取配置信息,所述配置信息为配置需要进行短信监控用户的配置信息;The configuration information is obtained from the server by using a preset software development kit, where the configuration information is configured to configure the user to configure the short message to monitor the configuration information of the user;
    根据所述配置信息分析客户端用户是否需要进行短信监控;And analyzing, according to the configuration information, whether the client user needs to perform short message monitoring;
    若分析所述客户端用户需要进行短信监控,则通过预设的软件开发工具包监控用户短信;If the client user needs to perform SMS monitoring, the user SMS is monitored by a preset software development kit;
    若监控获取到用户短信,则将获取的用户短信发送至所述服务器,以供所述服务器基于所述用户短信对所述客户端用户进行贷款自动还款。If the monitoring obtains the short message of the user, the obtained short message of the user is sent to the server, so that the server automatically repays the loan to the client user based on the short message of the user.
  16. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中包括贷款自动还款服务器程序,该贷款自动还款服务器程序被执行时实现如下步骤:A computer readable storage medium, characterized in that the computer readable storage medium comprises a loan automatic repayment server program, and when the loan automatic repayment server program is executed, the following steps are implemented:
    接收客户端发送的用户短信;Receiving a user message sent by the client;
    利用正则表达式获取所述用户短信中的预设关键信息;Using a regular expression to obtain preset key information in the user's short message;
    根据所述预设关键信息分析是否需对客户端用户进行贷款自动还款;Determining whether the client user needs to automatically repay the loan according to the preset key information;
    若分析需对所述客户端用户进行贷款自动还款,则基于所述预设关键信息并调用对应的银行接口,按预设扣款规则对所述客户端用户进行贷款自动还款。If the client needs to perform automatic loan repayment on the client user, the client user is automatically repaid according to the preset debit payment rule based on the preset key information and the corresponding bank interface.
  17. 如权利要求16所述的计算机可读存储介质,其特征在于,所述利用正则表达式获取所述用户短信中的预设关键信息的步骤包括:The computer readable storage medium according to claim 16, wherein the step of acquiring the preset key information in the user short message by using a regular expression comprises:
    利用预设第一正则表达式对所述用户短信进行匹配,根据匹配结果分析所述用户短信是否为预设入账短信;Matching the short message of the user by using a preset first regular expression, and analyzing whether the short message of the user is a preset short message according to the matching result;
    若分析所述用户短信是预设入账短信,则利用预设第二正则表达式获取所述用户短信中的预设关键信息。If the user short message is analyzed as a preset credit message, the preset second key expression is used to obtain the preset key information in the user short message.
  18. 如权利要求17所述的计算机可读存储介质,其特征在于,所述预设关键信息包括银行卡类型、银行名称、银行卡尾号、入帐金额和/或余额,所述利用预设第二正则表达式获取所述用户短信中的预设关键信息包括:The computer readable storage medium according to claim 17, wherein said preset key information comprises a bank card type, a bank name, a bank card number, a credit amount, and/or a balance, said utilizing a preset The second regular expression obtains preset key information in the short message of the user, including:
    利用预设的银行卡类型正则表达式获取所述用户短信中的银行卡类型;Obtaining a bank card type in the user short message by using a preset bank card type regular expression;
    利用预设的银行名称正则表达式获取所述用户短信中的银行名称;Obtaining a bank name in the user short message by using a preset bank name regular expression;
    利用预设的银行卡尾号正则表达式获取所述用户短信中的银行卡尾号;Obtaining the bank card end number in the user short message by using a preset bank card ending number regular expression;
    利用预设的入帐金额正则表达式获取所述用户短信中的入帐金额;Obtaining the account amount in the user short message by using a preset account amount regular expression;
    利用预设的余额正则表达式获取所述用户短信中的余额。The balance in the user's short message is obtained by using a preset balance regular expression.
  19. 如权利要求18所述的计算机可读存储介质,其特征在于,所述根据所述预设关键信息分析是否需对客户端用户进行贷款自动还款的步骤包括:The computer readable storage medium according to claim 18, wherein the step of analyzing whether the client user needs to perform automatic loan repayment according to the preset key information comprises:
    分析所述预设关键信息中的银行名称及银行卡尾号与所述客户端用户预先绑定的还款银行名称及还款银行卡尾号是否一致;Analyzing whether the bank name and the bank card end number in the preset key information are consistent with the repayment bank name and the repayment bank card tail number pre-bound by the client user;
    若一致,则分析需对所述客户端用户进行贷款自动还款;否则,分析不对所述客户端用户进行贷款自动还款。If they are consistent, the analysis needs to automatically repay the loan to the client user; otherwise, the analysis does not automatically repay the loan to the client user.
  20. 如权利要求19所述的计算机可读存储介质,其特征在于,所述若分析需对所述客户端用户进行贷款自动还款,则基于所述预设关键信息并调用 对应的银行接口,按预设扣款规则对所述客户端用户进行贷款自动还款的步骤包括:The computer readable storage medium according to claim 19, wherein if the analysis requires automatic loan repayment to the client user, based on the preset key information and calling a corresponding bank interface, pressing The steps of the automatic debit payment for the client user by the preset deduction rules include:
    若分析需对所述客户端用户进行贷款自动还款,则调用与所述预设关键信息中的银行名称对应的银行接口,对与所述预设关键信息中银行名称及银行卡尾号一致的还款银行卡进行自动扣款,以进行贷款自动还款;If the analysis needs to automatically repay the loan to the client user, the bank interface corresponding to the bank name in the preset key information is invoked, and the bank name and the bank card end number are consistent with the preset key information. The repayment bank card is automatically debited for automatic loan repayment;
    在进行贷款自动还款时,优先对所述还款银行卡在所述预设关键信息中余额的金额进行扣款,若所述还款银行卡在所述预设关键信息中余额的金额不足以抵扣当前贷款所需还款金额,则继续对所述还款银行卡在所述预设关键信息中的入帐金额进行扣款。When the automatic loan repayment is performed, the amount of the balance of the repayment bank card in the preset key information is preferentially deducted, if the amount of the balance of the repayment bank card in the preset key information is insufficient To deduct the repayment amount required for the current loan, the deduction of the credit amount of the repayment bank card in the preset key information is continued.
PCT/CN2018/088486 2018-04-26 2018-05-25 Automatic loan repayment method, system and device and storage medium WO2019205218A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810382290.9A CN108765128A (en) 2018-04-26 2018-04-26 It provides a loan automatic repayment method, system, equipment and storage medium
CN201810382290.9 2018-04-26

Publications (1)

Publication Number Publication Date
WO2019205218A1 true WO2019205218A1 (en) 2019-10-31

Family

ID=64011720

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/088486 WO2019205218A1 (en) 2018-04-26 2018-05-25 Automatic loan repayment method, system and device and storage medium

Country Status (2)

Country Link
CN (1) CN108765128A (en)
WO (1) WO2019205218A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111724249A (en) * 2020-06-29 2020-09-29 深圳壹账通智能科技有限公司 Intelligent fund collection method and device, electronic equipment and storage medium
CN113807942A (en) * 2021-08-05 2021-12-17 福建省农村信用社联合社 Method and system for real-time recovery of bank bad loan
CN114449035A (en) * 2021-12-28 2022-05-06 中国电信股份有限公司 Method and device for sending notification message for automatic payment

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110267222A (en) * 2019-05-24 2019-09-20 深圳壹账通智能科技有限公司 The methods of exhibiting and device of short message bill
CN110334351B (en) * 2019-07-03 2023-08-18 上海拍拍贷金融信息服务有限公司 Method and device for recommending network credit based on short message reading
CN110428326A (en) * 2019-08-06 2019-11-08 深圳市拜特科技股份有限公司 A kind of refund monitoring method and device
CN111709733B (en) * 2020-06-03 2022-04-29 支付宝(杭州)信息技术有限公司 Resource transfer method, device and equipment
CN112508662A (en) * 2020-09-23 2021-03-16 上海维信荟智金融科技有限公司 On-line automatic monitoring method and system based on bill deduction generation
CN112651730B (en) * 2020-12-28 2024-02-09 宁波璇玑大数据有限公司 Transfer method and system of accounting transfer platform
CN112767141A (en) * 2021-03-01 2021-05-07 中国工商银行股份有限公司 Debt charging method, system, device, medium and product based on block chain
CN113129138A (en) * 2021-05-19 2021-07-16 中国银行股份有限公司 Bank card automatic repayment method and system based on 5G message of block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070203829A1 (en) * 2005-07-13 2007-08-30 Charles Polanco System and methods for transmitting funds and instituting loans
CN102131164A (en) * 2011-01-25 2011-07-20 宁波征信金电信息技术有限公司 System for performing loan transaction service based on mobile phone short message
CN104361487A (en) * 2014-10-29 2015-02-18 中国建设银行股份有限公司 Method and device of inter-bank automatic repayment of credit card
CN107545404A (en) * 2016-06-29 2018-01-05 腾讯科技(深圳)有限公司 Bill based reminding method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163316A (en) * 2011-04-26 2011-08-24 中国工商银行股份有限公司 Repayment data processing device, system and method
CN103678382A (en) * 2012-09-17 2014-03-26 联想(北京)有限公司 Information processing method and electronic equipment
CN105405049A (en) * 2015-10-23 2016-03-16 重庆蓝岸通讯技术有限公司 Intelligent accounting method and intelligent accounting system
CN105447750B (en) * 2015-11-17 2022-06-03 小米科技有限责任公司 Information identification method and device, terminal and server
CN107862597A (en) * 2017-09-28 2018-03-30 重庆小雨点小额贷款有限公司 A kind of repayment method, device, server and computer-readable recording medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070203829A1 (en) * 2005-07-13 2007-08-30 Charles Polanco System and methods for transmitting funds and instituting loans
CN102131164A (en) * 2011-01-25 2011-07-20 宁波征信金电信息技术有限公司 System for performing loan transaction service based on mobile phone short message
CN104361487A (en) * 2014-10-29 2015-02-18 中国建设银行股份有限公司 Method and device of inter-bank automatic repayment of credit card
CN107545404A (en) * 2016-06-29 2018-01-05 腾讯科技(深圳)有限公司 Bill based reminding method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111724249A (en) * 2020-06-29 2020-09-29 深圳壹账通智能科技有限公司 Intelligent fund collection method and device, electronic equipment and storage medium
CN113807942A (en) * 2021-08-05 2021-12-17 福建省农村信用社联合社 Method and system for real-time recovery of bank bad loan
CN113807942B (en) * 2021-08-05 2024-03-01 福建省农村信用社联合社 Method and system for recovering bad loans of banks in real time
CN114449035A (en) * 2021-12-28 2022-05-06 中国电信股份有限公司 Method and device for sending notification message for automatic payment
CN114449035B (en) * 2021-12-28 2024-05-24 中国电信股份有限公司 Method and device for sending notification message for automatic payment

Also Published As

Publication number Publication date
CN108765128A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
WO2019205218A1 (en) Automatic loan repayment method, system and device and storage medium
AU2019271975B2 (en) Financial account authentication
US8249961B1 (en) Systems and methods for managing consolidated purchasing, billing and payment information
CN108573374B (en) Daily payment method and system based on fund share redemption payment
US20170178098A1 (en) Real-time global fund transfers
US20210182957A1 (en) Instant bank account verification through debit card network
CN103679490B (en) Data processing method and processing device
US20100250416A1 (en) Directing payments to satisfy periodic financial obligations
US20080195485A1 (en) Prepaid foreign currency transaction platform
US20120173422A1 (en) Instant bank fund transfers
CN107563881A (en) Bookkeeping methods and device, server
CA2818434A1 (en) Real-time payments through financial institution
US10937010B1 (en) Payment platform for online service providers
US8117100B1 (en) Systems and methods for managing consolidated purchasing, billing and payment information
US20080249926A1 (en) Collection and reserve systems and methods
KR101729162B1 (en) Apparatus, method and computer program for managing advanced payment based on financial open platform
US10902512B1 (en) Third party merchant financing
CN116670700A (en) System and method for managing electronic transactions
KR20200048134A (en) Method for registering a simple payment service through non-faced account opening
US20060178938A1 (en) Method and system for giving
JP2023033054A (en) Program, system, and method
AU2017232082A1 (en) Methods systems and computer program products for electronic bill payment
KR20150054243A (en) Method of providing loan service and server performing the same
WO2020047676A1 (en) System and method for managing resource consumption for electronic transaction data processes
TWM578433U (en) Intellengent customer data processing system and conversational setting system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18916455

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 11/03/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18916455

Country of ref document: EP

Kind code of ref document: A1