Illegal fund-raising clues identification method, device, electronic equipment and storage medium
By combining the dual screening method of the clue feature rule base and the illegal fund-raising clue classification model, illegal fund-raising clues are identified and marked, solving the problem of identifying illegal fund-raising clues in massive data, and achieving efficient and accurate identification and supervision of illegal fund-raising clues.
Patent Information
- Application Number
- CN202110078586.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-20
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-01-20
AI Technical Summary
It is difficult to efficiently and accurately identify illegal fund-raising clues from massive Internet data with existing technology, leading to increased difficulty in supervision and serious social harm.
By obtaining the target text data, the preset clue feature rule library is used for preliminary screening, combined with the trained illegal fundraising clue classification model for secondary screening, an illegal fundraising clue database is constructed, and the types and stages of illegal fundraising clue data are identified and marked.
It is possible to quickly screen out suspected illegal fund-raising clues from massive data and improve their accuracy, effectively identify clues at all stages of the illegal fund-raising cycle, and improve the efficiency and accuracy of supervision.
Smart Images

Figure CN114817485B
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of financial security technology, and in particular, to a method, device, electronic device and storage medium for identifying clues of illegal fund-raising. Background Art
[0002] Illegal fund-raising refers to the act of raising funds from the public by issuing stocks, bonds, lottery tickets, investment fund securities or other debt certificates without approval from relevant departments in accordance with legal procedures, and promising to repay the principal and interest or give returns to investors in cash, in kind or in other ways within a certain period of time. This behavior seriously interferes with the normal economic and financial order, causing participants to suffer economic losses and even put their lives in trouble. It is very likely to cause social instability and a large number of social security problems, and even cause social unrest in local areas. It is a criminal activity.
[0003] With the development of Internet technology, more and more companies or individuals are illegally raising funds by establishing financing platforms on the Internet, and the lack of corresponding regulatory measures in the Internet field has brought serious harm to society. Therefore, how to timely discover clues of illegal fundraising from massive Internet data and report them to regulatory authorities has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides a method, device, electronic device and storage medium for identifying clues of illegal fund-raising, so as to realize efficient, accurate and comprehensive discovery of clues of illegal fund-raising from massive Internet data.
[0005] In a first aspect, an embodiment of the present invention provides a method for identifying clues of illegal fund-raising, the method comprising:
[0006] Acquire multiple target text data to be used for illegal fund-raising clue identification;
[0007] Determine suspected illegal fund-raising clue data from the plurality of target text data based on a preset clue feature rule library, wherein the clue feature rule library includes a plurality of illegal fund-raising clue feature rules of different clue types, and different clue types correspond to different illegal fund-raising stages;
[0008] Inputting the suspected illegal fund-raising clue data into at least one trained illegal fund-raising clue classification model to obtain at least one prediction parameter, wherein the prediction parameter includes whether the suspected illegal fund-raising clue data is illegal fund-raising clue data, and when the suspected illegal fund-raising clue data is illegal fund-raising clue data, the clue type to which the suspected illegal fund-raising clue data belongs;
[0009] An illegal fund-raising clue database is constructed based on the suspected illegal fund-raising clue data and at least one of the prediction parameters corresponding to the suspected illegal fund-raising clue data.
[0010] In a possible implementation, the clue feature rule is a clue feature word of illegal fund-raising;
[0011] Determining suspected illegal fund-raising clue data from the plurality of target text data based on preset clue feature rules includes:
[0012] Matching the plurality of target text data with a preset clue feature rule library respectively, wherein the clue feature rule library includes a plurality of illegal fund-raising clue feature words of different clue types;
[0013] If the matching result indicates that the target text data contains at least one of the illegal fund-raising clue feature words, the target text data is determined as suspected illegal fund-raising clue data.
[0014] In a possible implementation, the clue feature rule base is obtained in the following manner:
[0015] Obtain multiple illegal fund-raising clue data samples of different clue types;
[0016] For each of the illegal fund-raising clue data samples, determining a plurality of keywords of the illegal fund-raising clue data sample;
[0017] The multiple keywords corresponding to each of the illegal fund-raising clue data samples are combined as clue feature words to obtain the clue feature rule library.
[0018] In a possible implementation, the determining of multiple keywords of the illegal fund-raising clue data sample includes:
[0019] Performing word segmentation and stop word removal on the illegal fund-raising clue data sample to obtain a plurality of words;
[0020] Determine the TF-IDF value of each word in the illegal fund-raising clue data sample;
[0021] Sort the words in the illegal fund-raising clue data sample in descending order of the TF-IDF values;
[0022] According to the sorting results, the words ranked in the top N positions are selected as the keywords.
[0023] In a possible implementation, the step of inputting the suspected illegal fund-raising clue data into at least one trained illegal fund-raising clue classification model to obtain at least one prediction parameter includes:
[0024] Inputting the suspected illegal fund-raising clue data into two or more trained illegal fund-raising clue classification models to obtain two or more prediction parameters;
[0025] The step of constructing an illegal fund-raising clue database based on the suspected illegal fund-raising clue data and at least one of the prediction parameters corresponding to the suspected illegal fund-raising clue data includes:
[0026] Determine the prediction parameter with the largest number of occurrences among at least one of the prediction parameters corresponding to the suspected illegal fund-raising clue data as a target prediction parameter;
[0027] If the target prediction parameter indicates that the suspected illegal fund-raising clue data is illegal fund-raising clue data, the suspected illegal fund-raising clue data will be recorded in the illegal fund-raising clue database, and the clue type to which the suspected illegal fund-raising clue data belongs will be marked according to the target prediction parameter.
[0028] In a possible implementation, the illegal fund-raising clue classification model is trained in the following manner:
[0029] Obtaining a training sample, the training sample comprising: a correspondence between text data and an illegal fund-raising clue label, the illegal fund-raising clue label being used to indicate whether the text data is illegal fund-raising clue data, and when the text data is illegal fund-raising clue data, the clue type to which the text data belongs;
[0030] The training samples are trained using a machine learning algorithm to obtain an illegal fund-raising clue classification model.
[0031] In a second aspect, an embodiment of the present invention provides a device for identifying clues of illegal fund-raising, the device comprising:
[0032] A data acquisition module, used to acquire multiple target text data to be used for illegal fund-raising clue identification;
[0033] A screening module, for determining suspected illegal fund-raising clue data from the plurality of target text data based on a preset clue feature rule library, wherein the clue feature rule library includes a plurality of illegal fund-raising clue feature rules of different clue types, and different clue types correspond to different illegal fund-raising stages;
[0034] A classification prediction module, used for inputting the suspected illegal fund-raising clue data into at least one trained illegal fund-raising clue classification model to obtain at least one prediction parameter, wherein the prediction parameter includes whether the suspected illegal fund-raising clue data is illegal fund-raising clue data, and when the suspected illegal fund-raising clue data is illegal fund-raising clue data, the clue type to which the suspected illegal fund-raising clue data belongs;
[0035] A clue construction module is used to construct an illegal fund-raising clue database based on the suspected illegal fund-raising clue data and at least one of the prediction parameters corresponding to the suspected illegal fund-raising clue data.
[0036] In a possible implementation, the clue feature rule is a clue feature word of illegal fund-raising;
[0037] The screening module is specifically used for:
[0038] The multiple target text data are matched respectively with a preset clue feature rule library, wherein the clue feature rule library includes multiple illegal fund-raising clue feature words of different clue types; if the matching result indicates that the target text data contains at least one of the illegal fund-raising clue feature words, the target text data is determined as suspected illegal fund-raising clue data.
[0039] In a possible implementation, it further includes:
[0040] A first sample acquisition module is used to acquire multiple illegal fund-raising clue data samples of different clue types;
[0041] A keyword determination module, for determining a plurality of keywords of the illegal fund-raising clue data sample for each of the illegal fund-raising clue data samples;
[0042] The rule base construction module is used to combine multiple keywords corresponding to each of the illegal fund-raising clue data samples as clue feature words to obtain the clue feature rule base.
[0043] In a possible implementation, the keyword determination module includes:
[0044] A word segmentation submodule, used for performing word segmentation and stop word removal processing on the illegal fund-raising clue data sample to obtain a plurality of words;
[0045] A TF-IDF value determination submodule, used to determine the TF-IDF value of each word in the illegal fund-raising clue data sample;
[0046] A sorting submodule, used to sort the words in the illegal fund-raising clue data sample in descending order of the TF-IDF value;
[0047] The selection submodule is used to select the words ranked in the top N positions as the keywords according to the sorting results.
[0048] In a possible implementation, the classification prediction module is specifically used to:
[0049] Inputting the suspected illegal fund-raising clue data into two or more trained illegal fund-raising clue classification models to obtain two or more prediction parameters;
[0050] The clue building module includes:
[0051] A target determination submodule, configured to determine the prediction parameter with the largest number of occurrences among at least one of the prediction parameters corresponding to the suspected illegal fund-raising clue data as a target prediction parameter;
[0052] A submodule is constructed to record the suspected illegal fund-raising clue data into the illegal fund-raising clue database if the target prediction parameter indicates that the suspected illegal fund-raising clue data is illegal fund-raising clue data, and to mark the clue type to which the suspected illegal fund-raising clue data belongs according to the target prediction parameter.
[0053] In a possible implementation, it further includes:
[0054] A second sample acquisition module is used to obtain training samples, wherein the training samples include: a correspondence between text data and illegal fund-raising clue labels, wherein the illegal fund-raising clue labels are used to indicate whether the text data is illegal fund-raising clue data, and when the text data is illegal fund-raising clue data, the clue type to which the text data belongs;
[0055] The model training module is used to train the training samples using a machine learning algorithm to obtain an illegal fund-raising clue classification model.
[0056] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a processor and a memory, wherein the processor is used to execute a program stored in the memory to implement the method for identifying clues of illegal fund-raising described in any one of the first aspects.
[0057] In a fourth aspect, an embodiment of the present invention provides a storage medium storing one or more programs, and the one or more programs can be executed by one or more processors to implement the method for identifying illegal fund-raising clues described in any one of the first aspects.
[0058] The technical solution provided by the embodiment of the present invention obtains multiple target text data to be identified as clues of illegal fund-raising, determines suspected illegal fund-raising clues data from the multiple target text data based on a preset clue feature rule library, inputs the suspected illegal fund-raising clues data into at least one trained illegal fund-raising clue classification model to obtain at least one prediction parameter, and constructs an illegal fund-raising clue database based on the suspected illegal fund-raising clues data and at least one prediction parameter corresponding to the suspected illegal fund-raising clues data, thereby realizing the comprehensive use of two methods to determine the illegal fund-raising clues data from the target text data. Since the preliminary screening implemented based on the preset clue feature rule library has the advantage of fast matching, the preliminary screening implemented based on the preset clue feature rule library can quickly screen out suspected illegal fund-raising clues data from massive target text data. Since the secondary screening implemented based on the trained illegal fund-raising clue classification model has the advantage of high accuracy, the secondary screening implemented based on the trained illegal fund-raising clue classification model can effectively improve the accuracy of the illegal fund-raising clues data finally screened out.
[0059] Furthermore, since the clue feature rule base includes multiple illegal fund-raising clue feature rules of different clue types, and the illegal fund-raising clue classification model can predict the clue type to which the illegal fund-raising clue data belongs, and different clue types correspond to different illegal fund-raising stages, the technical solution provided by the embodiment of the present invention can effectively identify illegal fund-raising clues at all stages of the entire cycle of illegal fund-raising. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 A flowchart of an embodiment of a method for identifying clues of illegal fund-raising provided by an embodiment of the present invention;
[0061] Figure 2 A flowchart of another method for identifying clues of illegal fund-raising provided by an embodiment of the present invention;
[0062] Figure 3 A flow chart of another embodiment of a method for identifying clues of illegal fund-raising provided by an embodiment of the present invention;
[0063] Figure 4 A flow chart of another embodiment of a method for identifying clues of illegal fund-raising provided by an embodiment of the present invention;
[0064] Figure 5 A flow chart of another embodiment of a method for identifying clues of illegal fund-raising provided by an embodiment of the present invention;
[0065] Figure 6 A block diagram of an embodiment of an illegal fund-raising clue identification device provided by an embodiment of the present invention;
[0066] Figure 7A schematic structural diagram of an electronic device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0067] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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 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 are within the scope of protection of the present invention.
[0068] See also Figure 1 , is a flow chart of an embodiment of a method for identifying clues of illegal fund-raising provided by an embodiment of the present invention. Figure 1 As shown, the method may include the following steps:
[0069] Step 101: Obtain a plurality of target text data for illegal fund-raising clue identification.
[0070] The above-mentioned target text data refers to the text data to be used for illegal fund-raising clue identification, and is referred to as the target text data for the sake of convenience of description.
[0071] As an example, in the application, technical means, such as crawler technology, can be used to extract several articles related to market entities from massive Internet data, and the extracted articles are used as the target text data. The Internet data includes but is not limited to data from various websites such as Weibo, Tieba, forums, and news. The market entities include individuals, enterprises, etc.
[0072] Step 102: Determine suspected illegal fund-raising clue data from multiple target text data based on a preset clue feature rule library.
[0073] Step 103: input the suspected illegal fund-raising clue data into at least one trained illegal fund-raising clue classification model to obtain at least one prediction parameter.
[0074] Step 104: construct an illegal fund-raising clue database based on the suspected illegal fund-raising clue data and at least one prediction parameter corresponding to the suspected illegal fund-raising clue data.
[0075] The following is a unified description of steps 102 to 104:
[0076] It can be seen from the description in the above steps 102 to 104 that in the embodiment of the present invention, two methods are used in combination to determine the illegal fund-raising clue data from the target text data. Specifically, first, as described in step 102, a plurality of target text data are preliminarily screened based on a preset clue feature rule library to determine the suspected illegal fund-raising clue data, and further, since the preliminary screening based on the preset clue feature rule library has a low accuracy rate for identifying illegal fund-raising clues, in order to further improve the accuracy rate of identifying illegal fund-raising clues, as described in step 103, the trained illegal fund-raising clue classification model is continued to be used to perform a secondary screening on the suspected illegal fund-raising clue data obtained in step 102, and finally an illegal fund-raising clue database is constructed based on the results of the secondary screening.
[0077] Specifically, in an embodiment of the present invention, a clue feature rule base can be pre-constructed, and the clue feature rule base includes multiple illegal fund-raising clue feature rules of different clue types, wherein different clue types correspond to different stages of illegal fund-raising. As an optional implementation method, the entire cycle of illegal fund-raising is divided into the following four stages (referred to as illegal fund-raising stages): early stage, development stage, late stage of fund rupture stage, and incident stage. Furthermore, corresponding to different stages of illegal fund-raising, clue types are divided into the following two types: advertising clues and whistleblower clues, wherein advertising clues correspond to the early and development stages of illegal fund-raising, and whistleblower clues correspond to the late stage of fund rupture stage and incident stage of illegal fund-raising.
[0078] Based on this, in step 102, multiple target text data can be preliminarily screened based on the above-mentioned clue feature rule library, and suspected illegal fund-raising clue data can be determined from the multiple target text data. Since the clue feature rule library includes multiple illegal fund-raising clue feature rules of different clue types, and different clue types correspond to different stages of illegal fund-raising, the suspected illegal fund-raising clue data screened from multiple target text data based on the clue feature rule library can cover different stages of illegal fund-raising, thereby increasing the amount of information on illegal fund-raising clues.
[0079] Afterwards, as described in step 103, the suspected illegal fund-raising clue data is input into at least one trained illegal fund-raising clue classification model to obtain at least one prediction parameter, which includes whether the suspected illegal fund-raising clue data is illegal fund-raising clue data, and when the suspected illegal fund-raising clue data is illegal fund-raising clue data, the clue type to which the suspected illegal fund-raising clue data belongs. Further, in step 104, the illegal fund-raising clue data can be recorded in the illegal fund-raising clue database according to at least one prediction parameter corresponding to the suspected illegal fund-raising clue data, and the clue type to which the illegal fund-raising clue data belongs is marked according to the at least one prediction parameter. Since the trained illegal fund-raising clue classification model can more accurately identify the illegal fund-raising clue data from the suspected illegal fund-raising clue data, and can more accurately identify the clue type to which the illegal fund-raising clue data belongs, the illegal fund-raising clue database constructed based on the prediction results of the suspected illegal fund-raising clue data based on the trained illegal fund-raising clue classification model has a higher accuracy, thereby improving the accuracy of the illegal fund-raising clue data.
[0080] As for how to construct the above clue feature rule base, we will explain it in the following. Figure 2 The process shown is explained and will not be described in detail here.
[0081] As for how to determine the suspected illegal fund-raising clue data from multiple target text data based on the preset clue feature rule library in step 102, the following will be described. Figure 3 The process shown is explained and will not be described in detail here.
[0082] As for how to train the above illegal fund-raising clue classification model, we will explain it in the following text. Figure 4 The process shown is explained and will not be described in detail here.
[0083] As for how to construct the illegal fund-raising clue database based on at least one trained illegal fund-raising clue classification model and suspected illegal fund-raising clue data in step 103 and step 104, the following will be described. Figure 5 The process shown is explained and will not be described in detail here.
[0084] The technical solution provided by the embodiment of the present invention obtains multiple target text data to be identified as clues of illegal fund-raising, determines suspected illegal fund-raising clues data from the multiple target text data based on a preset clue feature rule library, inputs the suspected illegal fund-raising clues data into at least one trained illegal fund-raising clue classification model to obtain at least one prediction parameter, and constructs an illegal fund-raising clue database based on the suspected illegal fund-raising clues data and at least one prediction parameter corresponding to the suspected illegal fund-raising clues data, thereby realizing the comprehensive use of two methods to determine the illegal fund-raising clues data from the target text data. Since the preliminary screening implemented based on the preset clue feature rule library has the advantage of fast matching, the preliminary screening implemented based on the preset clue feature rule library can quickly screen out suspected illegal fund-raising clues data from massive target text data. Since the secondary screening implemented based on the trained illegal fund-raising clue classification model has the advantage of high accuracy, the secondary screening implemented based on the trained illegal fund-raising clue classification model can effectively improve the accuracy of the illegal fund-raising clues data finally screened out.
[0085] Furthermore, since the clue feature rule base includes multiple illegal fund-raising clue feature rules of different clue types, and the illegal fund-raising clue classification model can predict the clue type to which the illegal fund-raising clue data belongs, and different clue types correspond to different illegal fund-raising stages, the technical solution provided by the embodiment of the present invention can effectively identify illegal fund-raising clues at all stages of the entire cycle of illegal fund-raising.
[0086] See also Figure 2 , is a flow chart of another embodiment of a method for identifying clues of illegal fund-raising provided by an embodiment of the present invention, Figure 2 The process shown in the above Figure 1 Based on the process shown in FIG. 1 , the following describes how to construct the above clue feature rule base. Figure 2 As shown, the following steps are included:
[0087] Step 201: Obtain multiple illegal fund-raising clue data samples of different clue types.
[0088] In the application, we can first use technical means, such as crawler technology, to extract several articles from massive Internet data, and then have business personnel mark the extracted articles to mark the clue type to which the articles belong. Finally, we can use the majority voting method to obtain a set number of articles of different clue types, such as 500 articles as the above-mentioned illegal fund-raising clue data samples.
[0089] The above Internet data include but are not limited to: data from various network sites such as Weibo, Tieba, forums, and news.
[0090] Step 202: for each illegal fund-raising clue data sample, determine a plurality of keywords of the illegal fund-raising clue data sample.
[0091] As an embodiment, the TF-IDF (Term Frequency-Inverse Document Frequency) algorithm may be used to extract N keywords from each illegal fund-raising clue data sample, where N is a natural number greater than 1, such as 10.
[0092] Specifically, for each illegal fund-raising clue data sample, the illegal fund-raising clue data sample is first preprocessed, such as deleting special symbols, HTML tags, etc., and then the preprocessed illegal fund-raising clue data sample is segmented and stop words are removed to obtain multiple words, and then the TF-IDF algorithm is used to determine the TF-IDF value of each word in the illegal fund-raising clue data sample. It can be understood that the larger the TF-IDF value, the greater the topic relevance of the word to the illegal fund-raising clue data sample. Based on this, the words in the illegal fund-raising clue data sample can be sorted in descending order of TF-IDF values, and according to the sorting results, the words ranked in the top N positions are selected as keywords.
[0093] Step 203: Combine multiple keywords corresponding to each illegal fund-raising clue data sample as clue feature words to obtain the clue feature rule library.
[0094] In this step 203, multiple keywords corresponding to each illegal fund-raising clue data sample are combined as clue feature words and duplicates are removed to form a clue feature rule library.
[0095] It is understandable that, in the application, a clue feature rule base can be constructed according to the illegal fund-raising clue data samples of different clue types, or the clue feature rule bases constructed according to the illegal fund-raising clue data samples of different clue types can be integrated into one clue feature rule base, and the present invention does not limit this. It should be noted that when a clue feature rule base is constructed according to the illegal fund-raising clue data samples of different clue types, the clue feature rule base described in the above step 102 generally refers to all clue feature rule bases.
[0096] pass Figure 2 The process shown realizes the construction of a clue feature rule library that includes feature rules of illegal fund-raising clues of different clue types. This realizes the preliminary screening of target text data for illegal fund-raising clue identification according to the clue feature rule library in the application to obtain suspected illegal fund-raising clue data.
[0097] See also Figure 3, is a flow chart of another embodiment of a method for identifying clues of illegal fund-raising provided by an embodiment of the present invention, Figure 3 The process shown in the above Figure 1 and Figure 2 Based on the process shown in the figure, it is described how to determine suspected illegal fund-raising clue data from multiple target text data based on a preset clue feature rule library. Figure 3 As shown, the following steps are included:
[0098] Step 301: Match multiple target text data with a preset clue feature rule library respectively.
[0099] As an embodiment, a DAT (double-array trie) dictionary can be constructed using a clue feature rule library, and each node in the DAT dictionary corresponds to a clue feature rule. Based on this, in this step 301, multiple target text data are matched with the DAT dictionary respectively.
[0100] It will be understood by those skilled in the art that, since the DAT dictionary is an efficient implementation of the Trie tree, it takes into account both query efficiency and spatial storage, and overcomes the deficiency of the Trie tree in wasting storage space. Therefore, based on the DAT dictionary, it is possible to quickly screen out suspected illegal fundraising clues data from massive target text data.
[0101] Step 302: If the matching result indicates that the target text data contains at least one illegal fund-raising clue feature word, the target text data is determined as suspected illegal fund-raising clue data.
[0102] If the matching result indicates that the target text data contains at least one illegal fund-raising clue feature word, it means that the target text data matches at least one clue feature rule in the clue feature rule library, so that the target text data can be determined as suspected illegal fund-raising clue data.
[0103] In addition, it can be understood that the more illegal fund-raising clue feature words contained in the target text data, the greater the probability that the target text data is suspected illegal fund-raising clue data. Therefore, in the application, in order to improve the accuracy of the suspected illegal fund-raising clue data initially screened out, the number of illegal fund-raising clue feature words contained in the target text data involved in the above-mentioned determination of whether the target text data is suspected illegal fund-raising clue data can be set according to actual business needs.
[0104] pass Figure 3 The process shown realizes the preliminary screening of target text data to be identified as clues of illegal fund-raising according to the clue feature rule library in the application, and obtains suspected clues data of illegal fund-raising.
[0105] See also Figure 4, is a flow chart of another embodiment of a method for identifying clues of illegal fund-raising provided by an embodiment of the present invention, Figure 4 The process shown in the above Figure 1 Based on the process shown in the figure, the following describes how to train the above illegal fund-raising clue classification model. Figure 4 As shown, the following steps are included:
[0106] Step 401: Obtain training samples.
[0107] The training samples include: the correspondence between text data and illegal fund-raising clue labels, wherein the illegal fund-raising clue labels are used to indicate whether the text data is illegal fund-raising clue data, and when the text data is illegal fund-raising clue data, the clue type to which the text data belongs. For example, assuming that the clue types include advertising clues and whistleblower clues, the values of the illegal fund-raising clue labels may include the following three types: advertising clue data, whistleblower clue data, and non-clue data.
[0108] It can be understood that in the application, the training samples may include text data of each illegal fund-raising clue label. Furthermore, the amount of text data of each illegal fund-raising clue label is relatively balanced, which can avoid the performance of the trained illegal fund-raising clue classification model being affected by data imbalance.
[0109] Step 402: Use a machine learning algorithm to train the training samples to obtain an illegal fund-raising clue classification model.
[0110] In this step 402, the text data in the training samples can be preprocessed first, such as deleting special symbols, word segmentation, and stop words, and then the training samples can be feature represented using a vector space model to obtain the training sample features. The training samples are then trained using a machine learning algorithm to obtain an illegal fund-raising clue classification model.
[0111] In an example, since the values of the above-mentioned illegal fund-raising clue labels may include the following three types: advertising clue data, whistleblower clue data, and non-clue data, the trained illegal fund-raising clue classification model can be used to label the input data in the above three illegal fund-raising clue labels to predict whether the input data is illegal fund-raising clue data, and when the input data is illegal fund-raising clue data, predict the clue type to which the illegal fund-raising clue data belongs. Specifically, if the prediction parameter output by the illegal fund-raising clue classification model is non-clue data, it means that the prediction result of the illegal fund-raising clue classification model for the input data is: the input data is not illegal fund-raising clue data; if the prediction parameter output by the illegal fund-raising clue classification model is advertising clue data, it means that the prediction result of the illegal fund-raising clue classification model for the input data is: the input data is illegal fund-raising clue data, and the clue type to which the input data belongs is advertising clue data; if the prediction parameter output by the illegal fund-raising clue classification model is whistleblower clue data, it means that the prediction result of the illegal fund-raising clue classification model for the input data is: the input data is illegal fund-raising clue data, and the clue type to which the input data belongs is whistleblower clue data.
[0112] The above-mentioned machine learning algorithms include but are not limited to: Bayesian algorithm, support vector machine algorithm, logistic regression algorithm, etc.
[0113] As an embodiment, in step 402, multiple machine learning algorithms can be used to train the above training sample features to obtain multiple different illegal fund-raising clue classification models. Since different machine learning algorithms have different training logics, different illegal fund-raising clue classification models have different model performances.
[0114] pass Figure 4 The process shown realizes the training of the illegal fund-raising clue classification model, which realizes the secondary screening of suspected illegal fund-raising clue data according to the trained illegal fund-raising clue classification model in the application to obtain the illegal fund-raising clue database.
[0115] See also Figure 5 , is a flow chart of another embodiment of a method for identifying clues of illegal fund-raising provided by an embodiment of the present invention, Figure 5 The process shown in the above Figure 1 and Figure 4 Based on the process shown in the figure, it is described how to construct an illegal fund-raising clue database based on at least one trained illegal fund-raising clue classification model and suspected illegal fund-raising clue data. Figure 5 As shown, the following steps are included:
[0116] Step 501: input suspected illegal fund-raising clue data into two or more trained illegal fund-raising clue classification models to obtain two or more prediction parameters.
[0117] In an embodiment of the present invention, as a preferred implementation method, in order to improve the accuracy of identifying illegal fund-raising clue data, the suspected illegal fund-raising clue data is input into more than two trained illegal fund-raising clue classification models to obtain more than two prediction parameters.
[0118] Step 502: Determine the prediction parameter with the highest number of occurrences among at least one prediction parameter corresponding to the suspected illegal fund-raising clue data as the target prediction parameter.
[0119] It is understandable that, due to different illegal fund-raising clue classification models having different performances, different illegal fund-raising clue classification models may output different prediction parameters for the same suspected illegal fund-raising clue data. Therefore, in step 502, the prediction parameter with the most occurrences among at least one of the prediction parameters corresponding to the suspected illegal fund-raising clue data is determined as the target prediction parameter. It is understandable that the more occurrences, the higher the credibility of the prediction parameter.
[0120] Step 503: If the target prediction parameter indicates that the suspected illegal fund-raising clue data is illegal fund-raising clue data, the suspected illegal fund-raising clue data is recorded in the illegal fund-raising clue database, and the clue type to which the suspected illegal fund-raising clue data belongs is marked according to the target prediction parameter.
[0121] As can be seen from the description in step 503, in the embodiment of the present invention, an illegal fund-raising clue database is constructed based on the suspected illegal fund-raising clue data and the target prediction parameters corresponding to the suspected illegal fund-raising clue data. Since the target prediction parameters have the highest credibility among all the prediction parameters, the accuracy of the illegal fund-raising clue database constructed based on the target prediction parameters can be improved.
[0122] pass Figure 5 The process shown realizes the secondary screening of suspected illegal fund-raising clues data based on the trained illegal fund-raising clue classification model to obtain an illegal fund-raising clue database.
[0123] See also Figure 6 , is a block diagram of an embodiment of an illegal fund-raising clue identification device provided by an embodiment of the present invention. Figure 6 As shown, the device may include: a data acquisition module 61, a screening module 62, a classification prediction module 63, and a clue construction module 64.
[0124] The data acquisition module 61 is used to acquire a plurality of target text data to be used for illegal fund-raising clue identification;
[0125] A screening module 62, for determining suspected illegal fund-raising clue data from the plurality of target text data based on a preset clue feature rule library, wherein the clue feature rule library includes a plurality of illegal fund-raising clue feature rules of different clue types, and different clue types correspond to different illegal fund-raising stages;
[0126] The classification prediction module 63 is used to input the suspected illegal fund-raising clue data into at least one trained illegal fund-raising clue classification model to obtain at least one prediction parameter, wherein the prediction parameter includes whether the suspected illegal fund-raising clue data is illegal fund-raising clue data, and when the suspected illegal fund-raising clue data is illegal fund-raising clue data, the clue type to which the suspected illegal fund-raising clue data belongs;
[0127] The clue construction module 64 is used to construct an illegal fund-raising clue database based on the suspected illegal fund-raising clue data and at least one of the prediction parameters corresponding to the suspected illegal fund-raising clue data.
[0128] In a possible implementation, the clue feature rule is a clue feature word of illegal fund-raising;
[0129] The screening module 62 is specifically used for:
[0130] The multiple target text data are matched respectively with a preset clue feature rule library, wherein the clue feature rule library includes multiple illegal fund-raising clue feature words of different clue types; if the matching result indicates that the target text data contains at least one of the illegal fund-raising clue feature words, the target text data is determined as suspected illegal fund-raising clue data.
[0131] In a possible implementation, it also includes ( Figure 6 not shown):
[0132] A first sample acquisition module is used to acquire multiple illegal fund-raising clue data samples of different clue types;
[0133] A keyword determination module, for determining a plurality of keywords of the illegal fund-raising clue data sample for each of the illegal fund-raising clue data samples;
[0134] The rule base construction module is used to combine multiple keywords corresponding to each of the illegal fund-raising clue data samples as clue feature words to obtain the clue feature rule base.
[0135] In a possible implementation, the keyword determination module includes: Figure 6 not shown):
[0136] A word segmentation submodule, used for performing word segmentation and stop word removal processing on the illegal fund-raising clue data sample to obtain a plurality of words;
[0137] A TF-IDF value determination submodule, used to determine the TF-IDF value of each word in the illegal fund-raising clue data sample;
[0138] A sorting submodule, used to sort the words in the illegal fund-raising clue data sample in descending order of the TF-IDF value;
[0139] The selection submodule is used to select the words ranked in the top N positions as the keywords according to the sorting results.
[0140] In a possible implementation, the classification prediction module 63 is specifically used to:
[0141] Inputting the suspected illegal fund-raising clue data into two or more trained illegal fund-raising clue classification models to obtain two or more prediction parameters;
[0142] The clue construction module 64 includes: Figure 6 not shown):
[0143] A target determination submodule, configured to determine the prediction parameter with the largest number of occurrences among at least one of the prediction parameters corresponding to the suspected illegal fund-raising clue data as a target prediction parameter;
[0144] A submodule is constructed to record the suspected illegal fund-raising clue data into the illegal fund-raising clue database if the target prediction parameter indicates that the suspected illegal fund-raising clue data is illegal fund-raising clue data, and to mark the clue type to which the suspected illegal fund-raising clue data belongs according to the target prediction parameter.
[0145] In a possible implementation, it also includes ( Figure 6 not shown):
[0146] A second sample acquisition module is used to obtain training samples, wherein the training samples include: a correspondence between text data and illegal fund-raising clue labels, wherein the illegal fund-raising clue labels are used to indicate whether the text data is illegal fund-raising clue data, and when the text data is illegal fund-raising clue data, the clue type to which the text data belongs;
[0147] The model training module is used to train the training samples using a machine learning algorithm to obtain an illegal fund-raising clue classification model.
[0148] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, Figure 7The electronic device 700 shown includes: at least one processor 701, a memory 702, at least one network interface 704 and other user interfaces 703. The various components in the electronic device 700 are coupled together via a bus system 705. It is understood that the bus system 705 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 705 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 705 is not described in detail. Figure 7 Various buses are labeled as bus system 705.
[0149] The user interface 703 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).
[0150] It can be understood that the memory 702 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DRRAM). The memory 702 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0151] In some implementations, the memory 702 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 7021 and an application 7022 .
[0152] The operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 7022 includes various application programs, such as a media player (MediaPlayer), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present invention can be included in the application 7022.
[0153] In the embodiment of the present invention, by calling the program or instruction stored in the memory 702, specifically, the program or instruction stored in the application 7022, the processor 701 is used to execute the method steps provided by each method embodiment, for example, including:
[0154] Acquire multiple target text data to be used for illegal fund-raising clue identification;
[0155] Determine suspected illegal fund-raising clue data from the plurality of target text data based on a preset clue feature rule library, wherein the clue feature rule library includes a plurality of illegal fund-raising clue feature rules of different clue types, and different clue types correspond to different illegal fund-raising stages;
[0156] Inputting the suspected illegal fund-raising clue data into at least one trained illegal fund-raising clue classification model to obtain at least one prediction parameter, wherein the prediction parameter includes whether the suspected illegal fund-raising clue data is illegal fund-raising clue data, and when the suspected illegal fund-raising clue data is illegal fund-raising clue data, the clue type to which the suspected illegal fund-raising clue data belongs;
[0157] An illegal fund-raising clue database is constructed based on the suspected illegal fund-raising clue data and at least one of the prediction parameters corresponding to the suspected illegal fund-raising clue data.
[0158] The method disclosed in the above embodiment of the present invention can be applied to the processor 701, or implemented by the processor 701. The processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 701 or the instruction in the form of software. The above processor 701 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702 and completes the steps of the above method in combination with its hardware.
[0159] It is understood that the embodiments described herein can be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application or a combination thereof.
[0160] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0161] The electronic device provided in this embodiment may be Figure 7The electronic device shown in FIG. 1 may perform the following steps: Figure 1-5 All steps of the illegal fund-raising clues identification method in order to achieve Figure 1-5 For details, please refer to the technical effect of the illegal fund-raising clue identification method shown in Figure 1-5 For the sake of brevity, the relevant description is not repeated here.
[0162] The embodiment of the present invention also provides a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.
[0163] When one or more programs in the storage medium can be executed by one or more processors, the illegal fund-raising clue identification method executed on the electronic device side can be implemented.
[0164] The processor is used to execute the illegal fund-raising clue identification program stored in the memory to implement the following steps of the illegal fund-raising clue identification method executed on the electronic device side:
[0165] Acquire multiple target text data to be used for illegal fund-raising clue identification;
[0166] Determine suspected illegal fund-raising clue data from the plurality of target text data based on a preset clue feature rule library, wherein the clue feature rule library includes a plurality of illegal fund-raising clue feature rules of different clue types, and different clue types correspond to different illegal fund-raising stages;
[0167] Inputting the suspected illegal fund-raising clue data into at least one trained illegal fund-raising clue classification model to obtain at least one prediction parameter, wherein the prediction parameter includes whether the suspected illegal fund-raising clue data is illegal fund-raising clue data, and when the suspected illegal fund-raising clue data is illegal fund-raising clue data, the clue type to which the suspected illegal fund-raising clue data belongs;
[0168] An illegal fund-raising clue database is constructed based on the suspected illegal fund-raising clue data and at least one of the prediction parameters corresponding to the suspected illegal fund-raising clue data.
[0169] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0170] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0171] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for identifying clues of illegal fund-raising, characterized in that: The method comprises: Acquire multiple target text data to be used for illegal fund-raising clue identification; Determine suspected illegal fund-raising clue data from the plurality of target text data based on a preset clue feature rule library, wherein the clue feature rule library includes a plurality of illegal fund-raising clue feature rules of different clue types, and different clue types correspond to different illegal fund-raising stages; Inputting the suspected illegal fund-raising clue data into at least one trained illegal fund-raising clue classification model to obtain at least one prediction parameter, wherein the prediction parameter includes whether the suspected illegal fund-raising clue data is illegal fund-raising clue data, and when the suspected illegal fund-raising clue data is illegal fund-raising clue data, the clue type to which the suspected illegal fund-raising clue data belongs; An illegal fund-raising clue database is constructed based on the suspected illegal fund-raising clue data and at least one of the prediction parameters corresponding to the suspected illegal fund-raising clue data.
2. The method according to claim 1, characterized in that The clue feature rule is the illegal fund-raising clue feature word; Determining suspected illegal fund-raising clue data from the plurality of target text data based on preset clue feature rules includes: Matching the plurality of target text data with a preset clue feature rule library respectively, wherein the clue feature rule library includes a plurality of illegal fund-raising clue feature words of different clue types; If the matching result indicates that the target text data contains at least one of the illegal fund-raising clue feature words, the target text data is determined as suspected illegal fund-raising clue data.
3. The method according to claim 2, characterized in that The clue feature rule base is obtained in the following way: Obtain multiple illegal fund-raising clue data samples of different clue types; For each of the illegal fund-raising clue data samples, determining a plurality of keywords of the illegal fund-raising clue data sample; The multiple keywords corresponding to each of the illegal fund-raising clue data samples are combined as clue feature words to obtain the clue feature rule library.
4. The method according to claim 3, characterized in that: The multiple keywords for determining the illegal fund-raising clue data sample include: Performing word segmentation and stop word removal on the illegal fund-raising clue data sample to obtain a plurality of words; Determine the word frequency-inverse text frequency index TF-IDF value of each word in the illegal fund-raising clue data sample; Sort the words in the illegal fund-raising clue data sample in descending order of the TF-IDF values; According to the sorting results, the words ranked in the top N positions are selected as the keywords.
5. The method according to claim 1, characterized in that The step of inputting the suspected illegal fund-raising clue data into at least one trained illegal fund-raising clue classification model to obtain at least one prediction parameter includes: Inputting the suspected illegal fund-raising clue data into two or more trained illegal fund-raising clue classification models to obtain two or more prediction parameters; The step of constructing an illegal fund-raising clue database based on the suspected illegal fund-raising clue data and at least one of the prediction parameters corresponding to the suspected illegal fund-raising clue data includes: Determine the prediction parameter with the largest number of occurrences among at least one of the prediction parameters corresponding to the suspected illegal fund-raising clue data as a target prediction parameter; If the target prediction parameter indicates that the suspected illegal fund-raising clue data is illegal fund-raising clue data, the suspected illegal fund-raising clue data will be recorded in the illegal fund-raising clue database, and the clue type to which the suspected illegal fund-raising clue data belongs will be marked according to the target prediction parameter.
6. The method according to claim 1 or 5, characterized in that: The illegal fund-raising clue classification model is trained in the following way: Obtaining a training sample, the training sample comprising: a correspondence between text data and an illegal fund-raising clue label, the illegal fund-raising clue label being used to indicate whether the text data is illegal fund-raising clue data, and when the text data is illegal fund-raising clue data, the clue type to which the text data belongs; The training samples are trained using a machine learning algorithm to obtain an illegal fund-raising clue classification model.
7. An illegal fund-raising clue identification device, characterized in that: The device comprises: A data acquisition module, used to acquire multiple target text data to be used for illegal fund-raising clue identification; A screening module, for determining suspected illegal fund-raising clue data from the plurality of target text data based on a preset clue feature rule library, wherein the clue feature rule library includes a plurality of illegal fund-raising clue feature rules of different clue types, and different clue types correspond to different illegal fund-raising stages; A classification prediction module, used for inputting the suspected illegal fund-raising clue data into at least one trained illegal fund-raising clue classification model to obtain at least one prediction parameter, wherein the prediction parameter includes whether the suspected illegal fund-raising clue data is illegal fund-raising clue data, and when the suspected illegal fund-raising clue data is illegal fund-raising clue data, the clue type to which the suspected illegal fund-raising clue data belongs; A clue construction module is used to construct an illegal fund-raising clue database based on the suspected illegal fund-raising clue data and at least one of the prediction parameters corresponding to the suspected illegal fund-raising clue data.
8. The device according to claim 7, characterized in that The classification prediction module is specifically used for: Inputting the suspected illegal fund-raising clue data into two or more trained illegal fund-raising clue classification models to obtain two or more prediction parameters; The clue building module includes: A target determination submodule, configured to determine the prediction parameter with the largest number of occurrences among at least one of the prediction parameters corresponding to the suspected illegal fund-raising clue data as a target prediction parameter; A submodule is constructed to record the suspected illegal fund-raising clue data into the illegal fund-raising clue database if the target prediction parameter indicates that the suspected illegal fund-raising clue data is illegal fund-raising clue data, and to mark the clue type to which the suspected illegal fund-raising clue data belongs according to the target prediction parameter.
9. An electronic device, characterized in that: include: A processor and a memory, wherein the processor is used to execute an illegal fund-raising clue identification program stored in the memory to implement the illegal fund-raising clue identification method according to any one of claims 1 to 6.
10. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the illegal fund-raising clue identification method according to any one of claims 1 to 6.
