# Case Investigation Technology Based on Artificial Intelligence Data Processing

Authors: Jianwei Ding
Journal: Journal of Sensors
 (2021)

---

## Abstract

Through data mining technology, the hidden information behind a large amount of data is discovered, which can help various management services and provide scientific basis for leadership decision-making. It is an important subject of current police information research. This paper conducts in-depth research on the investigation analysis and decision-making of public security cases and proposes a case-based reasoning model based on two case databases. Moreover, this paper discusses in detail the use of data mining technology to automatically establish a case database, which is a useful exploration and practice for the public security department to establish a new and efficient case investigation auxiliary decision-making system. In addition, this paper studies the method of using data mining technology to assist in the establishment of a case database, analyzes the characteristics of traditional case storage methods, and constructs a case investigation model based on artificial intelligence data processing. The research results show that the model constructed in this paper has certain practical effects.


---

## Body

## 1. Introduction

Information construction has been initially applied to police work. However, because it is in its infancy, information business processing can only play its most basic functions, such as simple search, add files, delete files, storage, and statistic, but lack real substantive analysis and prediction functions. With the continuous development of work, the information system has realized the transformation of the database from small to large. Therefore, fully integrating the functions of analysis, judgment, and decision-making into data construction can make a reasonable transformation of data between micro and macro data as required.At present, the informatization of police work in our country has not been popularized. Even if information technology is used in the work, the technical level is generally low. Therefore, scientific and technological means cannot be effectively used to collect and manage information resources. In order to severely crack down on crimes such as high-tech and high-IQ crimes, it is also necessary to combine police work with information construction [1]. By using advanced technology and the high efficiency of information resources, the level of scientific and technological knowledge of police officers can be improved. The full application of modern information technology to police work can improve the detection capabilities of police officers and effectively combat various forms of crime. Moreover, it is also the best way to improve the efficiency of detection and can fundamentally control the crime rate and achieve social stability and harmony [2]. At the same time, information technology is used to fully reflect the substantive potential problems behind things and find out the rules, so as to meet the detection and investigation needs of police officers. The current development of our country is facing diversification, globalization, popularization of information, and deepening of technology. However, with the rapid development of society, the unstable factors in the social environment are increasingly exposed [3]. How to better maintain social stability and harmony has become the biggest challenge facing police officers in public security organs. Police officers must adhere to the strategic strategy of driving science and technology and fully integrate information technology into practical work to improve the scientific and technological content of our country’s police work. Building the modernization of police work in an all-round way and making police work more efficient and dynamic are the focus of the current work of our police officers [4].This paper conducts in-depth research on the investigation analysis and decision-making of public security cases and proposes a case-based reasoning model based on two case databases. Moreover, this paper discusses in detail the use of data mining technology to automatically establish a case database, which is a useful exploration and practice for the public security department to establish a new and efficient case investigation auxiliary decision-making system.


## 2. Related Work

As an important content in database information technology, Knowledge Discovery in Database (KDD) was first used when database technology was in the development stage [5]. Later, it was used as an academic research topic, and the academic community would regularly hold seminars on KDD technology. At the meeting, someone vividly combined data with mineral deposits, and the term “data mining” came from this. After that, the United States continued to hold seminars on data mining content, and the research content became more and more professional, and the number of people and experts participating in data mining research increased, even reaching several thousand. Moreover, academic papers on KDD are increasing, and data mining has become a new topic in the field of information technology [6]. With the deepening of research, data research has developed from the initial basic research to comprehensive research and development. It not only incorporates a variety of research strategies but also applies scientific knowledge in various fields. Data mining has become a hot topic in various seminars, and it has been continuously discussed and studied in depth by scholars from various countries [7]. This paper takes the Chicago Police Department (Chicago Police Department, hereinafter referred to as CPD) 2013 prevention work large-scale data as an example. CPD is working to create a social graph similar to Facebook. In order to combat gang violent crimes, it uses network analysis to track active gang members and issue warnings to them to prevent possible violent crimes [8]. In 2012, there were more than 500 murders in Chicago. So far this year, the city’s murder rate has dropped by 22%, many of which are related to violent criminal gang activities [9]. Data mining is a network tool that can analyze the conversations, hobbies, and social activities of its members and provide accurate search results. On this basis, CPD constructed a model. The model includes data variables such as the number of times each gang member has been shot and the number of criminal records, so as to identify the “most active” residents of Chicago, that is, those who are most likely to be involved in violent activities [10]. At the beginning of 2013, CPD announced the list of the top 20 “most active” members of the 22 police districts under the jurisdiction of the city of Chicago. After the list was confirmed, the Chicago Police Department and the “Violent Crime Reduction Strategy” organization cooperated to continuously send warning messages to those included in the gang. Some members of these gangs were surprised to receive such news [11]. A piece of Rigel software written in [12] is a criminal tracking software based on “geographic analysis technology.” Through the analysis of the distribution of crime scenes, it unearthed the distribution of criminals’ (especially criminals in serial cases) residences and other criminal hiding places. The practice of police application has proved that data mining technology can help police analyze past cases, discover crime patterns and characteristics, and find commonalities and similarities. Moreover, data mining can assist leaders in decision-making and serve the various fields of public security work such as combating, preventing, managing, and controlling. In the past, the analysis of police situation and series and parallel cases required manual force to complete, which wasted huge manpower and material resources, and the analysis results were incomplete and unreliable. At present, by using the latest data mining technology, the above problems can be completed in a few hours, which greatly improves the work efficiency of the public security organs [13]. In the long run, big data and data mining technology can optimize the allocation of police resources and enhance the ability of public security organs to fight crime, thereby enhancing the level of social and economic development and the people’s sense of security and satisfaction [14].


## 3. Search Criminal Cases

This article combines machine learning data processing methods to process case investigation data and then calculates and exercises the algorithm.The purpose of case retrieval is to retrieve one or more cases that are most similar to the target case from the case database, so case retrieval can be attributed to the comparison of similarities between the two cases. In case reasoning systems, there are three commonly used retrieval methods: nearest neighbor method, inductive index method, and knowledge guidance method. We can use only one, or we can use multiple methods to share.When searching for similar cases, this paper adopts the nearest neighbor method. The meaning of nearest neighbor is as follows: if caseZ is the nearest neighbor of case X, that is, Z and X are the most similar, then for any case Y, there must be the following [15]:
(1)simX,Y≤simX,Z,Among them,sim is the similarity calculation function, and the larger the value, the more similar the objects. Similarity is not only the core content of the nearest neighbor retrieval method, but also the key to case retrieval.In the case described in a DBML document,xn is an element or attribute value of the document, and it may also be a complex data type element (such as victim object information). If it is a complex data type element, we must first calculate the weighted sum of the local similarity of the corresponding nested element (attribute) (the calculation method is the same) and use the calculated weighted sum value as the similarity of the complex data type element to participate in the similarity calculation of the entire case [9].We set the source case (cases in the typical case database) asXx1,x2,⋯,xn and the target case as Yy1,y2,⋯,yn. xn,yn is the nth attribute of the case. According to the nearest neighbor method, the similarity between the source case and the target case is defined as follows:
(2)simX,Y=∑i=1nωisimxi,yi.In the formula,ωi represents the weight of each attribute.
(3)1≥simxi,yi≥0,∑i=1nωi=1.For criminal cases, after data preprocessing operations, the types of attributes can be summarized into four types: numeric types, binary variables, enumeration types, and string types. Different attribute types have different similarity calculation methods, here are divided into four cases:(1)
Numerical typeIt uses the minimum method to calculate the similarity [16]:
(4)simXi,Yi=minxi,yimaxxi,yi.In the formula, whenxi=yi, there is simxi,yi=1. Among them, minxi,yi represents the smaller value in xi,yi, and maxxi,yi represents the larger value in xi,yi.For example, the age of a person can be calculated as a continuous numeric type.(2)
Binary variablesIt determines similarity based on whether it is equal or not [17]:
(5)simXi,Yi=0similarorsimXi,Yi=1notsimilar.For example, smoking can take two values, 1 means smoking, and 0 means not smoking. If both smoke or neither smoke, it is represented assimXi,Yi=1, and if one smokes and the other does not, it is represented as simXi,Yi=0.
(3)
Enumeration typeThis type is divided into two situations, when the enumeration value is a numeric type [6]:
(6)simXi,Yi=1−Xi−YimaxR−minR.In the formula,R represents the set of enumerated values, maxR represents the largest one in the set R, and minR represents the smallest one in the set R. At the same time, maxR−minR is the interval distance of the set R.When the enumeration value is a string type,(7)simXi,Yi=0similarorsimXi,Yi=1notsimilar.For example, the case type is an enumerated string.(4)
String typeIt determines similarity based on whether it is equal or not [17]:
(8)simXi,Yi=0notsimilarorsimXi,Yi=1similar.It can use the “keyword fuzzy matching” method to calculate the similarity value of two strings, instead of simply using 0 and 1 to indicate similarity. This calculation method is more suitable for calculating the similarity of large sections of text.Tree construction steps. This phase breaks the two phases of the traditional FP-growth (Frequent Pattern Tree) algorithm, that is, the insertion phase and the remanagement phase. In the insertion phase, the item sets of a transaction are inserted into the tree in descending order of frequency. Moreover, the biggest feature of this method is that if In is now responsible for inserting, In−1‘s affairs must be considered. To put it another way, the frequency of items in transactions before In−1 needs to be considered. The proportion of this tree in the project edit distance exceeds a certain threshold.In the frequent item mining stage, the tree mining stage follows the FP-growth mining technology. The FP-growth algorithm is used to mine frequent items, and the frequency must be within the threshold specified by the user to mine the constructed ISPO-tree (reedispO tree). The mining technology of the FP-growth algorithm is also used in CP-tree (compressible-prefix tree) and Cantree methods.The source of this unstable dataset is that these data may be slightly modified, as shown in Figure1. First, we introduce an example of the ISPO-tree method without a small amount of data change, that is, flag is in the inserted state, and there is flag=0.Figure 1
Distance comparison table.It can be expressed by a formula [18].
(9)∑inmaxi−1,m−1=ii−12+floori24.Then, after the algorithm adjusts the tree, the distanceD value is cleared. The transaction that has been inserted is shown in Figure 2, and flag is replaced with 1.Figure 2
The diagram of result of adding fromI1 to I5.This is mainly to be closely related to the characteristics of electronic evidence analysis. For electronic evidence, it is not only necessary to ensure its durability, but also to maintain its validity. Then, some evidences must be copied from the source data before and cannot be modified. However, in the electronic evidence analysis system, in order to analyze the validity of the evidence, it can correct the existing copied data according to the correct modification. For example, when a suspect forges identity, time, location, etc., we need to modify the data to better find evidence in the future. However, this kind of modification is definitely a small amount. If all the analysis is rerun, a lot of time and resources will be wasted. Therefore, in this case, a small amount of modified algorithm is proposed to improve efficiency [19].In Figure3, the ISPO-tree generated after modifying I5 is shown. After the remodification of item I5 is completed, flag bit flag is preset to 1 by us. Then, we recalculate the D value to determine whether the threshold is greater than or equal to the minimum character and determine whether the tree needs to be reconstructed [21].Figure 3
The modified result ofI5.D_Trans represents the affairs to be changed. If D_Trans is not empty, it proves that there is a task to modify the transaction, and then, the flag bit is changed to 0. The method of calculating the distance is the same as in the previous section. In the method adopted, the “-” sign represents deleting an element, and the “+” sign represents adding an element. For example, in the following table, a transaction is added, the flag bit is set to 1, and I5 is to be changed. Then, the meaning in the table is to change a to f [20].Since the item header table in FP-tree will be linked to the item’s position in the tree, the algorithm finds the position of the element from the first changed transaction to modify the frequency and recalculate the threshold. After that, according to the threshold, the algorithm decides whether to reconstruct the tree. Therefore, the branch tree constructed by the ISPO-tree algorithm is less than the branch tree constructed by the previous two algorithms, and it supports the modification of a small number of elements.


## 4. DC-STree Improved Algorithm

The algorithm definesΩo1,o2,⋯,on as a dataset. Each object is described by some characteristics. The algorithm defines Rr1,r2,⋯,rn as a tuple v1,v2,⋯,vm, vi∈Di (Di is the domain of ri, 1≤i≤m). The feature subset S∈R of an object is defined as ISO, that is, the feature attribute set in S. Or represents the value of the feature. For each feature subset, S∈R,S≠ΦS has a Boolean similarity function fs to describe the relationship between objects. For example, the algorithm gives two definitions, ISO,ISO′ and O,O′∈Ω,fsO,O′=1, which means S is similar to O′. On the contrary, fsO,O′=0 is not similar. The following two formulas are examples of Boolean similar functions [22].
(10)fsO,O′=1,∀r∈SCrOr,O′r=1,0,otherwise,(11)fsO,O′=1,r∈SCrOr,O′r=1S≥α,0,otherwise.In the formula,Cr:Dr×Dr⟶0,1 is the comparison function of r characteristic attribute value. The following two example formulas are as follows:
(12)Crx,y=1,x=y,0,otherwise,(13)Crx,y=1,x−y≤ε,0,otherwise.We need to pay attention to the use of similar functions. Equation (10) uses a comparison function like Equation (12), and Equation (12) creates an equivalent function. However, the use of similar functions in formula (10) or formula (11) combines the comparison function formula (12) and also the comparison function formula (13), ε≠0. Equation (13) creates a similar function, but different from equality.We define inISO, there is O∈Ω,S∈R,S≠Φ, the Boolean similarity function is not fs, and then, the frequent number of ISO (that is, the degree of support) is defined as follows:
(14)fs−freqO=o′∈ΩfsO,O′=1Ω.Iffs−freqO (support) is not less than threshold minfreq, ISO is called frequent similarity pattern. If you want to find all the frequent similar patterns contained in the Ω object set, a useful property will be introduced below, which can reduce the number of mining and improve efficiency. The structure of STree is shown in Figure 4.Figure 4
The structure of STree.For anys1,s2, there is s1∈s2∈R,s1≠Φ,o∈Ω. Then, the following conclusions will be obtained [2]:
(15)fs1−freqO>minFreq⟶fs2−freqO<minFreq.


## 5. Model Building

The data in this article comes from the Internet. The data in this article is processed by machine learning methods and combined with mathematical statistics tools to process statistical charts.The model system in this paper uses the association rule algorithm in data mining technology to mine the database source data in the existing electronic evidence management system, find frequent item sets, generate association rules, and present results. Moreover, it is used to analyze the relationship between cases and the relationship between criminal suspects and predict possible cases and the motives of criminal suspects. This prototype system is mainly an electronic evidence analysis system. The data source of this analysis system can come from the existing computer forensic system and electronic evidence management analysis system and can be obtained from the hard disk, such as text files, video and audio files, email clients, browser records, QQ client and Fetion client chat records. Mobile devices include mobile hard disks, mobile phones, and U disks, as well as mobile phone address books, short messages, and chat records of smart phone clients. The data obtained by these forensic tools will be stored in the database or data warehouse in the electronic evidence analysis system. The focus of this paper is to use association rule algorithms to mine tacit knowledge from these databases or data warehouses that store electronic evidence and finally present it and store it in the knowledge base. The entire system architecture diagram is shown in Figure5.Figure 5
Structure diagram of electronic evidence analysis system based on data mining.After analysis and certification, the system first preprocesses the evidence data in the original database, extracts useful evidence data from the database, and removes some irrelevant evidence data. After that, the system hierarchizes and transforms these evidence data concepts and selects some related attributes to transform into the form required by data mining technology. After the preprocessing of the evidence data is completed, the analysts use the data in the improved FP-growth algorithm proposed in this paper to use association rules for data mining. System business flow chart is shown in Figure6.Figure 6
System business flow chart.The electronic evidence similarity frequent mining algorithm first proposed in this paper has two advantages. The first point is that the time in the data preprocessing part is saved. By formulating similar rules, the work of frequently modifying data items compared to the data preprocessing stage is saved. Moreover, the time spent in the execution of the entire algorithm is much smaller than that of data preprocessing, as shown in Table1 and Figures 7 and 8.Table 1
Comparison of mining time between similar frequent patterns and frequent patterns.
Similar frequent pattern miningFrequent pattern miningData preprocessing timeMining timeData preprocessing time1 K70 s56 s1 K70 s10 K125 s73 s10 K125 s100 K672 s132 s100 K672 sFigure 7
Statistical diagram of mining time of similar frequent patterns.Figure 8
Statistical diagram of the mining time of frequent patterns.


## 6. Model Performance Analysis

This paper analyzes the data processing performance of the model. First, this paper studies the classification effect of the model on criminal cases. In the classification profile, the specific distribution interval of the 10 classifications and the number of cases contained in each classification are reflected. In order to make the boundaries of the 10 classifications clearer, an accurate classification boundary interval is obtained by drilling. The specific money value distribution of 10 classifications is shown in Table2 and Figure 9.Table 2
Number of cases and loss interval from category 1 to category 10.
ClassificationNumber of casesMinimumMax11764011942163412111919311201949262648272656365651007366650506886507073237747734612070870512080236349529236996911210207696902532070Figure 9
Statistical diagram of the number of cases and loss interval from category 1 to category 10.Next, this paper analyzes the accuracy of case investigation by the model constructed in this paper. This paper collects the case data that has been solved in the past 3 years, inputs the case data into the model for data processing, and compares the obtained results with the real results to calculate the correct rate of case detection. The results are shown in Table3 and Figure 10.Table 3
Statistical table of the case detection rate of the model.
No.Case detection rate (%)No.Case detection rate (%)No.Case detection rate (%)No.Case detection rate (%)164.42162.54147.86148.5255.32254.44260.16245.6359.22346.44360.96349.4459.92451.84453.16445.9564.92558.24551.46557.2649.52651.74656.86655.1752.72761.34752.26763.8864.92861.84846.66859.9948.92956.74949.56949.01058.73050.55053.27054.31148.13150.75157.57155.51255.23261.65257.67258.61357.13360.65364.47354.71457.93446.55453.67446.91552.73564.05555.17554.71658.23648.35648.77651.01748.83745.15764.47756.41863.53852.45845.47851.41949.73947.85954.57953.72049.64058.66062.58047.2Figure 10
Statistical diagram of the case detection rate of the model.As shown in Figure10 and Table 3, after inputting real data from the investigation scene of the case, this paper found that the detection rate after the investigation of the case was distributed between 45% and 65%. It can be seen that the practical effect of the model constructed in this paper is very good and can be applied to practice in the later stage.


## 7. Conclusion

This paper conducts in-depth research on the investigation analysis and decision-making of public security cases and proposes a case-based reasoning model based on two case databases. Moreover, this paper discusses in detail the use of data mining technology to automatically establish a case database, which is a useful exploration and practice for the public security department to establish a new and efficient case investigation auxiliary decision-making system. In addition, this paper studies the method of using data mining technology to assist in the establishment of a case database, analyzes the characteristics of traditional case storage methods, and designs and implements a CBML criminal case modeling language that conforms to the XML standard. In order to mine traditional case data to extract effective case information, this paper discusses how to perform data preprocessing, including operations such as data cleaning, data integration, data transformation, and data reduction. Then, this paper applies outlier data analysis and cluster analysis techniques to case mining and designs an electronic evidence analysis system model based on data mining. The model proposed in this question mainly includes three parts: electronic evidence preprocessing, electronic evidence frequent pattern mining, and electronic evidence similar frequent pattern mining. The experimental results show that the model constructed in this paper has good performance.This paper mostly uses simulation research combined with a small amount of data for analysis. The model studied in this paper needs further practical research in the follow-up.



---

*Source: 4942657-2021-10-26.xml*