Collection data processing method and device, storage medium and electronic equipment

By using the target page in the collection system to obtain and convert collection strategy data, compile it into a script and use a streaming processing strategy to filter out users to collect collection, the problem of high error rate of collection strategy configuration in the existing technology is solved, and higher filtering is achieved Accuracy and efficiency.

CN119271713APending Publication Date: 2025-01-07CHINA TELECOM BESTPAY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411363525.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

In the existing collection system, business personnel need to master the SQL language, and errors are prone to when configuring collection strategies, resulting in poor screening of customers to be collected.

Method used

Obtain collection policy data through the target page, convert it into structured data and compile it into scripts, and use streaming processing strategies to filter out collection users to avoid manual SQL configuration errors.

Benefits of technology

It improves the configuration accuracy and screening accuracy of the collection strategy, reduces the screening error rate of the customers to be collected, and improves the efficiency of the collection system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119271713A_ABST
    Figure CN119271713A_ABST
Patent Text Reader

Abstract

The invention discloses a collection data processing method and device, a storage medium and electronic equipment. Relates to the technical field of data analysis. The method comprises the steps that collection strategy data is acquired from a target page, the target page is used for configuring the collection strategy data, the collection strategy data comprises a screening rule for screening user information of a to-be-collected user, a plurality of preset fields and a plurality of condition fields are arranged in the target page, and the condition fields are used for setting screening conditions of the screening rule; converting the collection strategy data into structured data to obtain target strategy data; the target strategy data are converted into scripts to obtain initial scripts, the initial scripts are compiled to obtain target scripts, and the target scripts are used for screening user information of the to-be-collected users. According to the invention, the technical problem of poor screening effect of the to-be-collected customer group caused by high error rate of configuration of the collection strategy for screening the to-be-collected user in the related technology is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data analysis technology, and in particular to a method, device, storage medium and electronic device for processing debt collection data. Background Art

[0002] Currently, in the collection system, it is necessary to screen out specific customer groups and use specific collection methods to collect debts in order to improve the collection rate.

[0003] In the related technologies, most systems require business personnel to have certain knowledge of SQL (Structured Query Language), write some SQL in the interface, and use SQL to batch screen out specific customer groups for collection. However, this method has high requirements for business personnel, and manual configuration is prone to errors, resulting in incorrect collection.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] Embodiments of the present invention provide a method, device, storage medium and electronic device for processing collection data, so as to at least solve the technical problem in the related art that the collection strategy configured for screening users to be collected has a high error rate, resulting in poor screening effect of the customer group to be collected.

[0006] According to one aspect of an embodiment of the present invention, a method for processing collection data is provided, comprising: obtaining collection strategy data from a target page, wherein the target page is used to configure the collection strategy data, the collection strategy data comprising: screening rules for screening user information of users to be collected, the target page being provided with: a plurality of preset fields, a plurality of condition fields, the condition fields being used to set screening conditions of the screening rules; converting the collection strategy data into structured data to obtain target strategy data; converting the target strategy data into a script to obtain an initial script, and compiling the initial script to obtain a target script, wherein the target script is used to screen the user information of the users to be collected.

[0007] Furthermore, the target policy data is converted into a script to obtain an initial script, including: obtaining a preset mapping rule, wherein the preset mapping rule includes: a mapping relationship between structured data and an expression in a script format; based on the preset mapping rule, mapping the target policy data into a script to obtain the initial script.

[0008] Furthermore, before converting the target policy data into a script to obtain an initial script, it also includes: verifying the format of the target policy data to obtain a verification result; when the verification result indicates that the format verification of the target policy data has passed, responding to a policy online request, executing the step of converting the target policy data into a script to obtain an initial script, wherein the policy online request is used to request screening of user information of users to be collected.

[0009] Furthermore, after converting the collection strategy data into structured data to obtain target strategy data, it also includes: storing the target strategy data in a target database; after responding to a strategy online request, it also includes: reading the target strategy data in the target database.

[0010] Furthermore, after compiling the initial script to obtain the target script, it also includes: obtaining identification information of the collection strategy data, and storing the identification information and the target script in a designated memory space; reading the target script from the designated memory space based on the identification information, and based on the target script, using a streaming processing strategy to filter user information of users to be collected, and obtain a filtering result.

[0011] Furthermore, based on the target script, a streaming processing strategy is adopted to filter the user information of the users to be collected, and after obtaining the filtering results, it also includes: determining a collection method, wherein the collection method includes at least one of the following: text messages, emails; based on the filtering results, using the collection method to send collection information to the users to be collected, wherein the collection information is used to remind all users to be collected to repay.

[0012] Furthermore, the multiple preset fields include at least one of the following: overdue amount, number of overdue periods, user type, and the multiple condition fields include at least: an operator, and the operator includes at least one of the following: a greater than sign, a less than sign, an equal sign, and an unequal sign.

[0013] According to another aspect of an embodiment of the present invention, a device for processing collection data is also provided, including: an acquisition unit, used to acquire collection strategy data from a target page, wherein the target page is used to configure the collection strategy data, and the collection strategy data includes: screening rules for screening user information of users to be collected, and the target page is provided with: multiple preset fields, multiple condition fields, and the condition fields are used to set the screening conditions of the screening rules; a conversion unit, used to convert the collection strategy data into structured data to obtain target strategy data; a first processing unit, used to convert the target strategy data into a script to obtain an initial script, and compile the initial script to obtain a target script, wherein the target script is used to filter the user information of the users to be collected.

[0014] Furthermore, the first processing unit includes: an acquisition subunit, used to acquire preset mapping rules, wherein the preset mapping rules include: a mapping relationship between structured data and expressions in script format; a mapping subunit, used to map the target policy data into a script based on the preset mapping rules to obtain the initial script.

[0015] Furthermore, the collection data processing device also includes: a verification unit, which is used to verify the format of the target policy data before converting the target policy data into a script to obtain an initial script, and obtain a verification result; an execution unit, which is used to respond to a policy online request, if the verification result indicates that the format verification of the target policy data has passed, and execute the step of converting the target policy data into a script to obtain an initial script, wherein the policy online request is used to request screening of user information of users to be collected.

[0016] Furthermore, the collection data processing device also includes: a storage unit, which is used to convert the collection strategy data into structured data to obtain the target strategy data, and then store the target strategy data in the target database; and a reading unit, which is used to read the target strategy data in the target database after responding to the strategy online request.

[0017] Furthermore, the collection data processing device also includes: a second processing unit, which is used to obtain the identification information of the collection strategy data after compiling the initial script to obtain the target script, and store the identification information and the target script in a designated memory space; a third processing unit, which is used to read the target script from the designated memory space based on the identification information, and based on the target script, adopt a streaming processing strategy to filter the user information of the users to be collected and obtain a filtering result.

[0018] Furthermore, the processing device for collection data also includes: a determination unit, which is used to screen user information of users to be collected based on the target script using a streaming processing strategy, and after obtaining the screening results, determine a collection method, wherein the collection method includes at least one of the following: text messages, emails; a sending unit, which is used to send collection information to the users to be collected based on the screening results using the collection method, wherein the collection information is used to remind all users to be collected to repay.

[0019] Furthermore, the multiple preset fields include at least one of the following: overdue amount, number of overdue periods, user type, and the multiple condition fields include at least: an operator, and the operator includes at least one of the following: a greater than sign, a less than sign, an equal sign, and an unequal sign.

[0020] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned methods for processing collection data by executing the executable instructions.

[0021] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, which stores a computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned methods for processing collection data.

[0022] In the present invention, the collection strategy data is obtained from the target page, wherein the target page is used to configure the collection strategy data, and the collection strategy data includes: screening rules for screening user information of users to be collected, and the target page is provided with: multiple preset fields and multiple condition fields, and the condition fields are used to set the screening conditions of the screening rules; the collection strategy data is converted into structured data to obtain the target strategy data; the target strategy data is converted into a script to obtain an initial script, and the initial script is compiled to obtain a target script, wherein the target script is used to screen the user information of users to be collected. Thus, the technical problem that the error rate of the collection strategy configured for screening users to be collected in the related art is high, resulting in poor screening effect of the customer group to be collected is solved. In the present invention, the collection strategy data is received through multiple preset fields and multiple condition fields in the target page, and then the collection strategy data is converted into a target script, avoiding the error rate of manually writing SQL to configure the collection strategy in the related art, resulting in a high error rate for screening users to be collected, thereby achieving the technical effect of improving the accuracy of configuring the collection strategy and the accuracy of screening the users to be collected. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0024] Figure 1 is a flow chart of an optional method for processing collection data according to an embodiment of the present invention;

[0025] Figure 2 is a schematic diagram of an optional target page according to an embodiment of the present invention;

[0026] Figure 3 is a flowchart of another optional processing of collection data according to an embodiment of the present invention;

[0027] Figure 4is a schematic diagram of an optional device for processing collection data according to an embodiment of the present invention;

[0028] Figure 5 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

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

[0032] Embodiment 1

[0033] According to an embodiment of the present invention, a method embodiment of an optional method for processing collection data is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0034] Figure 1 is a flowchart of an optional method for processing collection data according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0035] Step S101, obtaining collection strategy data from a target page, wherein the target page is used to configure the collection strategy data, the collection strategy data including: filtering rules for filtering user information of users to be collected, the target page is provided with: multiple preset fields, multiple condition fields, the condition fields are used to set the filtering conditions of the filtering rules.

[0036] The above-mentioned target page can be a page for configuring collection strategy data at the front end of the collection system. The target page can be provided with multiple preset fields and multiple condition fields. The multiple preset fields can be used to set preset attributes of the screening rules, such as the number of overdue periods, the overdue amount, the customer type, and the credit grantor. The condition field can be used to set the screening conditions of the screening rules, such as the threshold or value range of the number of overdue periods, the threshold or value range of the overdue amount, etc.

[0037] Figure 2 is a flowchart of an optional method for processing collection data according to an embodiment of the present invention. Figure 2 As shown, it includes: fields (corresponding to multiple preset fields), operators and expected values ​​(corresponding to multiple condition fields). The fields include: overdue amount, number of overdue periods, user type, creditor, operators may include: greater than sign, less than sign, not equal sign, etc., and the expected value can be set by the user.

[0038] Step S102, converting the collection strategy data into structured data to obtain target strategy data.

[0039] The collection system can use code to convert the collection strategy data strategy configured on the front-end page (corresponding to the target page) into structured data, obtain target strategy data, and transmit it to the back-end through an interface (for example, https (Hypertext Transfer Protocol Secure) interface).

[0040] Taking the collection strategy data as an example, the number of overdue periods is greater than or equal to 2, the overdue amount is 500, the customer type is non-VIP, and the creditor is a certain company, the collection strategy data can be converted into structured data as follows:

[0041]

[0042] Step S103, converting the target policy data into a script to obtain an initial script, and compiling the initial script to obtain a target script, wherein the target script is used to screen user information of users to be collected.

[0043] In this embodiment, the target policy data can also be converted into a script according to preset rules to obtain an initial script, and then the initial script can be compiled to obtain a target script. By executing the target script, the user information of the users to be collected (for example, user identification (for example, user name, user number)) can be screened.

[0044] Through the above steps, in this embodiment, the collection strategy data is received through multiple preset fields and multiple condition fields in the target page, and then the collection strategy data is converted into a target script, which avoids the high error rate of manually writing SQL to configure the collection strategy in the related art, resulting in a high error rate in screening the users to be collected, thereby achieving the technical effect of improving the accuracy of configuring the collection strategy and the accuracy of screening the users to be collected. In addition, the technical problem that the error rate of configuring the collection strategy for screening the users to be collected in the related art is high, resulting in poor screening effect of the customer group to be collected.

[0045] Optionally, converting the target policy data into a script to obtain an initial script includes: obtaining a preset mapping rule, wherein the preset mapping rule includes: a mapping relationship between structured data and an expression in a script format; based on the preset mapping rule, mapping the target policy data into a script to obtain an initial script.

[0046] The preset mapping rules include: the mapping relationship between structured data and expressions in script format, for example, "all" in the result data can be mapped to "&&", "any" can be mapped to "||", "ge" can be mapped to ">=", "gt" can be mapped to ">", "eq" can be mapped to "==", "ne" can be mapped to "!=", "le" can be mapped to "<=", and "lt" can be mapped to "<".

[0047] The target strategy data can be mapped to a script according to the mapping rules to obtain an initial script. Taking the collection strategy data as the overdue period is greater than or equal to 2, the overdue amount is 500, the customer type is non-VIP, and the creditor is a certain company as an example, the target strategy data of the collection strategy data is mapped to a script, and the expression of the obtained initial script can be: (((overdue period>=2)&&(overdue amount==500)||(customer type!=VIP)||(creditor==certain company)).

[0048] In an optional example, a numerical viewer may be used to display the expression of the initial script through a designated page of the collection system.

[0049] Optionally, before converting the target policy data into a script to obtain an initial script, it also includes: verifying the format of the target policy data to obtain a verification result; when the verification result indicates that the format verification of the target policy data has passed, responding to a policy online request, executing the step of converting the target policy data into a script to obtain an initial script, wherein the policy online request is used to request screening of user information of users to be collected.

[0050] After the target policy data is configured, the policy needs to be put online. Before going online, the target policy data needs to be compiled and verified (verify whether the syntax and format of the target policy data are correct). If the compilation and verification pass, the target policy data can be put online.

[0051] When the launch button is clicked, the backend can retrieve the target policy data from the database storing the target policy data, map it according to the specified rules, convert the structured target policy data into a policy script (corresponding to the initial script), and then parse the policy script into a GroovyScript (executable script, corresponding to the target script) through GroovyShell (interactive interpreter, which can be used to execute Groovy (a programming language) scripts and expressions), and save the target script in memory for subsequent fast calculations to screen the customer groups to be collected. The technical effect of improving the screening efficiency of the collection system for screening the customer groups to be collected is achieved.

[0052] Optionally, after converting the collection strategy data into structured data to obtain the target strategy data, it also includes: storing the target strategy data in a target database; after responding to the strategy online request, it also includes: reading the target strategy data in the target database.

[0053] In this embodiment, after the collection strategy data is converted into structured data to obtain the target strategy data, the target strategy data can also be stored in the target database. After initiating a strategy online request, the target strategy data can be read in the target database to facilitate converting the target strategy data into a script for automatic screening of the customer groups to be collected.

[0054] Optionally, after compiling the initial script to obtain the target script, it also includes: obtaining identification information of the collection strategy data, and storing the identification information and the target script in a designated memory space; reading the target script from the designated memory space based on the identification information, and based on the target script, using a streaming processing strategy to filter user information of users to be collected, and obtain a filtering result.

[0055] The above-mentioned streaming processing strategy can represent a screening strategy for real-time screening of user information of users to be collected. For example, an open source distributed real-time computing system or an open source streaming processing framework can be used to implement the above-mentioned streaming processing strategy to avoid batch screening of customers to be collected and low screening efficiency in related technologies.

[0056] For example, when the rule is executed (that is, when the customer groups to be collected are screened according to the configured collection strategy), the GroovyScript (corresponding to the target script) can be taken out from the memory (corresponding to the specified memory control) through the rule name (corresponding to the identification information), and the function provided by the Script (a code file used to automate the execution of specific tasks) can be used to input parameters and execute the rules, determine whether the user information meets the conditions, and screen out the users to be collected to obtain the screening results. The streaming strategy calculation is used to improve the technical effect of screening the users to be collected.

[0057] Optionally, based on the target script, a streaming processing strategy is adopted to filter the user information of the users to be collected, and after obtaining the filtering results, it also includes: determining a collection method, wherein the collection method includes at least one of the following: text messages, emails; based on the filtering results, using the collection method to send collection information to the users to be collected, wherein the collection information is used to remind all users to be collected to repay.

[0058] The above-mentioned collection methods may include, but are not limited to, using text messages, emails, or phone calls to remind the user to be collected to repay. The above-mentioned screening results may include user information of the user to be collected, such as identification information and contact information of the user to be collected. In this embodiment, based on the screening results, the above-mentioned collection methods may be used to send collection information to the user to be collected to improve the collection rate.

[0059] Optionally, the multiple preset fields include at least one of the following: overdue amount, number of overdue periods, user type, and the multiple condition fields include at least: an operator, and the operator includes at least one of the following: a greater than sign, a less than sign, an equal sign, and an unequal sign.

[0060] like Figure 2 As shown, it includes: fields (corresponding to multiple preset fields), operators and expected values ​​(corresponding to multiple conditional fields). The fields may include: overdue amount, overdue period number, user type, creditor and other fields. Operators may include: greater than, less than, not equal and equal, etc. The expected value can be set by the user and is not limited here. Through the multiple preset fields and multiple conditional fields on the target page, the user can make a selection directly without writing SQL, which simplifies the complexity of the collection strategy configuration and improves the configuration efficiency of the collection strategy.

[0061] Figure 3 is a flowchart of another optional processing of collection data according to an embodiment of the present invention, such as Figure 3 As shown, including:

[0062] 1. Front-end strategy configuration: The front-end of the collection system can convert the strategy configured on the front-end page (corresponding to the collection strategy data) into structured data through code, and then transmit it to the back-end of the collection system through the https interface.

[0063] 2. The backend structure obtains the structured strategy. The backend obtains the configuration data of the strategy through the interface and saves it in the database.

[0064] 3. Strategy compilation and verification After the visual strategy configuration is completed, business personnel need to put the strategy online. Before going online, they can compile and verify the strategy (verify whether the syntax of the structured strategy is correct). Only strategies that pass the compilation and verification can be put online.

[0065] 4. When clicking on the launch button, the back-end developer needs to retrieve the structured strategy from the database, compile it according to the specified rules (i.e., strategy conversion), convert the structured strategy (corresponding to the target strategy data) into a strategy script (corresponding to the initial script), and then parse the rule script into GroovyScript (corresponding to the target script) through GroovyShell, and save the target script in memory (corresponding to the specified memory space) for subsequent fast calculations.

[0066] 5. Strategy memory loading and strategy based on memory execution. When the rule is executed, the GroovyScript is taken out from the memory by the rule name, and the function provided by the Script is used to input parameters and execute the rules to determine whether the conditions are met, so as to filter out the user information of the users to be collected and obtain the screening results.

[0067] 6. Result output, output the screening results.

[0068] In this embodiment, visual rule configuration can be performed, that is, multiple preset fields and multiple condition fields in the target page are configured. The user only needs to select the rule field and the judgment condition on the target page. After the rule is saved, the structured data is saved in the database. After the user goes online, the rule will be parsed into a groovy executable statement, which reduces the difficulty of using the collection system for users and reduces the user's learning cost. It avoids the situation in the related technology that when the system configures rules, the user needs to configure the conditions based on the mastery of the SQL language. The manual SQL configuration of the collection strategy has a high error rate, resulting in a high error rate for screening users to be collected, and only the configured conditions can be executed in batches, which cannot support streaming computing. In this embodiment, the target script can be used to adopt a streaming processing method to screen the customer groups to be collected, thereby improving the screening efficiency of the customer groups to be collected.

[0069] Embodiment 2

[0070] The second embodiment of the present invention provides an optional device for processing collection data, and each implementation unit in the device for processing collection data corresponds to each implementation step in the first embodiment.

[0071] Figure 4 is a schematic diagram of an optional collection data processing device according to an embodiment of the present invention, such as Figure 4 As shown, the device for processing collection data further includes: an acquisition unit 41 , a conversion unit 42 and a first processing unit 43 .

[0072] The acquisition unit 41 is used to acquire the collection strategy data from the target page, wherein the target page is used to configure the collection strategy data, and the collection strategy data includes: a screening rule for screening the user information of the user to be collected, and the target page is provided with: a plurality of preset fields and a plurality of condition fields, and the condition fields are used to set the screening conditions of the screening rules;

[0073] A conversion unit 42, used to convert the collection strategy data into structured data to obtain target strategy data;

[0074] The first processing unit 43 is used to convert the target policy data into a script to obtain an initial script, and compile the initial script to obtain a target script, wherein the target script is used to screen user information of users to be collected.

[0075] In the collection data processing device provided in the second embodiment of the present invention, the collection strategy data can be obtained from the target page through the acquisition unit 41, wherein the target page is used to configure the collection strategy data, and the collection strategy data includes: screening rules for screening user information of users to be collected, and the target page is provided with: multiple preset fields and multiple condition fields, and the condition fields are used to set the screening conditions of the screening rules, and the collection strategy data is converted into structured data by the conversion unit 42 to obtain the target strategy data, and the target strategy data is converted into a script by the first processing unit 43 to obtain an initial script, and the initial script is compiled to obtain a target script, wherein the target script is used to screen the user information of users to be collected. This solves the technical problem that the error rate of the collection strategy configured for screening users to be collected in the related art is high, resulting in poor screening effect of the customer group to be collected. In the present invention, collection strategy data is received through multiple preset fields and multiple condition fields in the target page, and then the collection strategy data is converted into a target script, thereby avoiding the error rate of manually writing SQL to configure the collection strategy in the related technology, which leads to a high error rate in screening the users to be collected, thereby achieving the technical effect of improving the accuracy of configuring the collection strategy and the screening accuracy of the users to be collected.

[0076] Optionally, in the collection data processing device provided in Example 2 of the present invention, the first processing unit includes: an acquisition sub-unit, used to obtain preset mapping rules, wherein the preset mapping rules include: a mapping relationship between structured data and expressions in script format; a mapping sub-unit, used to map the target policy data into a script based on the preset mapping rules to obtain an initial script.

[0077] Optionally, in the collection data processing device provided in Example 2 of the present invention, the collection data processing device also includes: a verification unit, used to verify the format of the target policy data before converting the target policy data into a script to obtain an initial script, and obtain a verification result; an execution unit, used to respond to a policy online request when the verification result indicates that the format verification of the target policy data has passed, and execute the step of converting the target policy data into a script to obtain an initial script, wherein the policy online request is used to request screening of user information of users to be collected.

[0078] Optionally, in the collection data processing device provided in Example 2 of the present invention, the collection data processing device also includes: a storage unit, which is used to convert the collection strategy data into structured data to obtain the target strategy data, and then store the target strategy data in the target database; and a reading unit, which is used to read the target strategy data in the target database after responding to the policy online request.

[0079] Optionally, in the collection data processing device provided in Example 2 of the present invention, the collection data processing device also includes: a second processing unit, used to obtain identification information of the collection strategy data after compiling the initial script to obtain the target script, and store the identification information and the target script in a designated memory space; a third processing unit, used to read the target script from the designated memory space based on the identification information, and based on the target script, adopt a streaming processing strategy to filter user information of users to be collected and obtain a filtering result.

[0080] Optionally, in the collection data processing device provided in Example 2 of the present invention, the collection data processing device also includes: a determination unit, used to screen user information of users to be collected based on a target script and using a streaming processing strategy, and after obtaining the screening results, determine a collection method, wherein the collection method includes at least one of the following: text messages, emails; a sending unit, used to send collection information to users to be collected based on the screening results and using a collection method, wherein the collection information is used to remind all users to be collected to repay.

[0081] Optionally, in the collection data processing device provided in Example 2 of the present invention, the multiple preset fields include at least one of the following: overdue amount, number of overdue periods, user type, and the multiple condition fields include at least: an operator, and the operator includes at least one of the following: a greater than sign, a less than sign, an equal sign, and an unequal sign.

[0082] The above-mentioned collection data processing device may also include a processor and a memory. The above-mentioned acquisition unit 41, conversion unit 42 and first processing unit 43 are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0083] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters are adjusted to receive the collection strategy data through multiple preset fields and multiple condition fields in the target page, and then the collection strategy data is converted into a target script, thereby avoiding the error rate of manually writing SQL to configure the collection strategy in the related technology, resulting in a high error rate in screening the users to be collected, thereby achieving the technical effect of improving the accuracy of configuring the collection strategy and the accuracy of screening the users to be collected.

[0084] The above-mentioned memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.

[0085] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned methods for processing collection data by executing the executable instructions.

[0086] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, which stores a computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned methods for processing collection data.

[0087] Figure 5 is a schematic diagram of an electronic device according to an embodiment of the present invention, such as Figure 5 As shown, an embodiment of the present invention provides an electronic device 50, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, any one of the above-mentioned methods for processing collection data is implemented.

[0088] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0089] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0090] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0091] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0092] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

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

[0094] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for processing collection data, characterized in that: include: Acquire collection strategy data from a target page, wherein the target page is used to configure the collection strategy data, the collection strategy data includes: screening rules for screening user information of users to be collected, the target page is provided with: a plurality of preset fields and a plurality of condition fields, the condition fields are used to set the screening conditions of the screening rules; Converting the collection strategy data into structured data to obtain target strategy data; The target policy data is converted into a script to obtain an initial script, and the initial script is compiled to obtain a target script, wherein the target script is used to screen the user information of the user to be collected.

2. The processing method according to claim 1, characterized in that: The target policy data is converted into a script to obtain an initial script, including: Obtaining a preset mapping rule, wherein the preset mapping rule includes: a mapping relationship between structured data and an expression in a script format; Based on the preset mapping rule, the target policy data is mapped into a script to obtain the initial script.

3. The processing method according to claim 1, characterized in that: Before converting the target policy data into a script to obtain an initial script, the process further includes: Verifying the format of the target policy data to obtain a verification result; When the verification result indicates that the format verification of the target policy data has passed, in response to a policy online request, a step of converting the target policy data into a script to obtain an initial script is executed, wherein the policy online request is used to request screening of user information of users to be collected.

4. The processing method according to claim 3, characterized in that: After converting the collection strategy data into structured data to obtain target strategy data, the method further includes: storing the target strategy data in a target database; After responding to the policy online request, the method further includes: reading the target policy data in the target database.

5. The processing method according to claim 1, characterized in that: After the initial script is compiled to obtain the target script, the following steps are further included: Obtaining identification information of the collection strategy data, and storing the identification information and the target script in a designated memory space; The target script is read from the designated memory space based on the identification information, and based on the target script, a streaming processing strategy is adopted to filter the user information of the users to be collected, and a filtering result is obtained.

6. The processing method according to claim 5, characterized in that: Based on the target script, the streaming processing strategy is adopted to filter the user information of the users to be collected, and after the filtering result is obtained, the following is also included: Determine a collection method, wherein the collection method includes at least one of the following: SMS, email; Based on the screening result, the collection method is used to send collection information to the users to be collected, wherein the collection information is used to remind all users to be collected to repay.

7. The processing method according to claim 1, characterized in that: The multiple preset fields include at least one of the following: overdue amount, number of overdue periods, and user type; the multiple condition fields include at least: an operator, and the operator includes at least one of the following: a greater than sign, a less than sign, an equal sign, and an unequal sign.

8. A collection data processing device, characterized in that: include: An acquisition unit is used to acquire collection strategy data from a target page, wherein the target page is used to configure the collection strategy data, and the collection strategy data includes: screening rules for screening user information of users to be collected, and the target page is provided with: a plurality of preset fields and a plurality of condition fields, and the condition fields are used to set the screening conditions of the screening rules; A conversion unit, used to convert the collection strategy data into structured data to obtain target strategy data; The first processing unit is used to convert the target policy data into a script to obtain an initial script, and compile the initial script to obtain a target script, wherein the target script is used to screen the user information of the user to be collected.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for processing collection data according to any one of claims 1 to 7.

10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the collection data processing method described in any one of claims 1 to 7.