User behavior mining method and system based on artificial intelligence

Through the user behavior mining method based on artificial intelligence, the problem that the existing technology cannot accurately locate the mobile user network environment and global information is solved, and the user behavior preference analysis and data mining accuracy are achieved.

CN115062200BActive Publication Date: 2024-11-01SHENZHEN DOCKING PLATFORM TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210680079.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-15
Publication Date
2024-11-01
Estimated Expiration
2042-06-15

AI Technical Summary

Technical Problem

The prior art is unable to accurately locate the network environment of mobile users and understand their global information, resulting in limited accuracy of user behavior analysis.

Method used

Using an artificial intelligence-based user behavior mining method, the user's browsing records are detected and deduplicated, the data ontology is identified, the confidence is calculated, and the clustering and data association graphs are constructed to identify the user's preference behavior.

Benefits of technology

It improves the accuracy of user behavior data mining, clarifies the user's web environment and global information, and ensures the accuracy and efficiency of behavior analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115062200B_ABST
    Figure CN115062200B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of intelligent decision-making, and discloses a user behavior mining method and system based on artificial intelligence, the method comprising: detecting the browsing history of a user on a web page, extracting the browsing data of the browsing history, deduplicating the browsing data, and obtaining target data; identifying the data ontology of the target data, calculating the confidence of the data ontology in the browsing history, selecting the data ontology with a confidence greater than a preset threshold as the target ontology, clustering the data of the target data, obtaining a plurality of initial clustering data, detecting the data category of each initial clustering data, re-clustering the data of the plurality of initial clustering data, and obtaining the target clustering data; analyzing the data attributes of each data in the target clustering data, and constructing a data association graph of the target clustering data according to the data attributes, so as to identify the user's preferred behavior. The present invention can realize accurate analysis of the preference of user behavior and improve the accuracy of data mining of user behavior.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent decision-making, and in particular to a user behavior mining method and system based on artificial intelligence. Background Art

[0002] With the rapid development of Internet technology, the number of online users has increased dramatically, and the online behavior of online users has also brought about an explosive growth of network data. In this explosively growing network data, there is a large amount of extremely valuable information. Therefore, how to mine valuable information data from network data is particularly important.

[0003] At present, network data mining is usually based on data statistical tools to model and analyze the behavior of mobile users. However, data statistical tools cannot accurately locate the network environment of mobile users and cannot accurately understand the global information of mobile users, resulting in the loss of some mobile user information when modeling the mobile user's behavior, which will affect the accuracy of mobile user behavior analysis. Summary of the invention

[0004] In order to solve the above problems, the present invention provides a user behavior mining method and system based on artificial intelligence, which can realize accurate analysis of user behavior preferences and improve the accuracy of user behavior data mining.

[0005] In a first aspect, the present invention provides a user behavior mining method based on artificial intelligence, comprising:

[0006] Detecting the browsing history of the user on the web page, extracting the browsing data of each record in the browsing history, and performing deduplication processing on the browsing data to obtain target data;

[0007] Identify the data ontology of the target data, and calculate the original support of the data ontology in the browsing record, calculate the confidence of the data ontology in the browsing record based on the original support, and select the data ontology whose confidence is greater than a preset threshold as the target ontology;

[0008] According to the target ontology, clustering the data in the target data to obtain a plurality of initial clustering data, and using a pre-trained data classification model to detect the data category of each of the initial clustering data, and according to the data category, re-clustering the data in the plurality of initial clustering data to obtain target clustering data;

[0009] Analyze the data attributes of each data in the target cluster data, construct a data association graph of the target cluster data according to the data attributes, and identify the user's preference behavior in the web page according to the data association graph.

[0010] In a possible implementation of the first aspect, detecting a browsing history of a user on a web page includes:

[0011] In response to a browsing event of the user on the webpage, triggering a tracking tool pre-configured in the webpage;

[0012] The browsing log of the user on the web page is recorded by the embedding tool, and the browsing record is generated according to the browsing log.

[0013] In a possible implementation manner of the first aspect, performing deduplication processing on the browsing data to obtain the target data includes:

[0014] Performing vector conversion on each data in the browsing data to obtain a data vector, and calculating the similarity between any two vectors in the data vectors;

[0015] When the similarity is greater than a preset similarity, deleting data corresponding to one of the two arbitrary vectors to obtain the target data;

[0016] The similarity between any two vectors in the data vector is calculated using the following formula:

[0017]

[0018] Among them, d represents the similarity between any two vectors in the data vector, P 1i and P 2i Represents any two data in the original data, n represents the number of vectors in the data vector, and d represents the distance function.

[0019] In a possible implementation manner of the first aspect, identifying the data ontology of the target data includes:

[0020] Querying a data field of each data in the target data, and identifying a data type of each data in the target data according to the data field;

[0021] According to the data type, data features of each data in the target data are extracted, and according to the data features, the data ontology of the target data is identified.

[0022] In a possible implementation manner of the first aspect, calculating the confidence of the data entity in the browsing record according to the original support includes:

[0023] The data ontology corresponding to the original support is used as the first ontology, and an ontology is randomly selected from the remaining ontologies of the data ontology to obtain a second ontology;

[0024] Counting the number of simultaneous occurrences of the first ontology and the second ontology in each record of the browsing history, and calculating the support of the first ontology and the second ontology according to the simultaneous number and the number of records in the browsing history to obtain a target support;

[0025] Calculating the confidence of the data entity in the browsing record according to the original support and the target support;

[0026] The confidence of the data entity in the browsing history is calculated using the following formula:

[0027]

[0028] Among them, S(A) represents the confidence of data ontology A, P(A|B) represents the target support of data ontology A and data ontology B, and P(A) represents the original support of data ontology A.

[0029] In a possible implementation manner of the first aspect, clustering the data in the target data according to the target ontology to obtain a plurality of initial clustering data includes:

[0030] According to the target ontology, dividing the cluster center points of the data in the target data;

[0031] Calculate the distance between each data in the target data and the cluster center point;

[0032] When the distance value is less than a preset distance value, the data corresponding to the distance value is classified into the cluster center point to obtain the multiple initial cluster data.

[0033] In a possible implementation manner of the first aspect, before using the pre-trained data classification model to detect the data category of each of the initial clustering data, the method further includes:

[0034] Obtain training samples and their corresponding true labels, and initialize the model parameters of the classification model for the data to be trained;

[0035] Input the training sample into the input layer of the data classification model to be trained; calculate the predicted classification probability of the training sample through the hidden layer in the data classification model to be trained, and output the predicted category of the training sample using the output layer in the data classification model to be trained according to the predicted classification probability, and calculate the loss value between the predicted category and the true label;

[0036] When the loss value is greater than the preset loss value, after adjusting the model parameters of the data classification model to be trained, returning to the step of inputting the training sample into the input layer of the data classification model to be trained;

[0037] When the loss value is not greater than the preset loss, a pre-trained data classification model is obtained;

[0038] The following formula is used to output the predicted category of the training sample:

[0039]

[0040] Among them, y1 represents the predicted category, f represents the activation function of the output layer, and p i represents the node connection weight between the hidden layer and the output layer, g represents the activation function of the hidden layer, ω ij represents the node connection weight between the input layer and the hidden layer, ζ i represents the threshold of the hidden layer, η represents the threshold of the output layer, n represents the number of training samples, and m represents the number of neurons.

[0041] In a second aspect, the present invention provides a user behavior mining system based on artificial intelligence, the system comprising:

[0042] A browsing data deduplication module is used to detect the browsing history of the user on the web page, extract the browsing data of each record in the browsing history, and perform deduplication processing on the browsing data to obtain the target data;

[0043] A data ontology selection module, used to identify the data ontology of the target data, calculate the original support of the data ontology in the browsing record, calculate the confidence of the data ontology in the browsing record based on the original support, and select the data ontology with the confidence greater than a preset threshold as the target ontology;

[0044] A target data clustering module is used to cluster the data in the target data according to the target ontology to obtain a plurality of initial clustering data, and use a pre-trained data classification model to detect the data category of each of the initial clustering data, and re-cluster the data in the plurality of initial clustering data according to the data category to obtain target clustering data;

[0045] The preference behavior analysis module is used to analyze the data attributes of each data in the target cluster data, construct a data association graph of the target cluster data based on the data attributes, and identify the user's preference behavior in the web page based on the data association graph.

[0046] Compared with the prior art, the technical principle and beneficial effects of this solution are:

[0047] The embodiment of the present invention firstly detects the browsing history of the user on the web page, extracts the browsing data in the browsing history, deduplicates the browsing data, and obtains the target data. The duplicate data in the browsing data can be screened out to ensure the processing efficiency of the subsequent data, and the data ontology of the target data is identified, the confidence of the data ontology in the browsing history is calculated, and the data ontology with a confidence greater than a preset threshold is selected as the target ontology. The browsing object of the user on the web page can be clarified, the web page environment in which the user is located can be understood, and the data of the network environment will not be lost when the user behavior is analyzed later, and the preference of the subsequent data can be accurately analyzed. Secondly, the embodiment of the present invention obtains a plurality of initial clustering data by clustering the data in the target data, so as to initially classify the data in the target data according to the target ontology, and understand the user. The global information of the target clustering data can be obtained to ensure the accurate and efficient analysis of subsequent data, and the pre-trained data classification model can be used to detect the data category of each initial clustering data, so as to re-cluster the data in multiple initial clustering data to obtain the target clustering data. The clustering category of each of the initial clustering data can be intelligently detected to further clarify the global information contained in the user, so as to further ensure the accuracy of subsequent data analysis; further, the embodiment of the present invention analyzes the data attributes of each data in the target clustering data, and constructs a data association graph of the target clustering data according to the data attributes to identify the user's preferred behavior in the web page. The descriptive information of each data in the target clustering data can be determined, and the user's behavior in the web page can be visualized and analyzed to ensure the accuracy of the user's behavior mining. Therefore, the user behavior mining method, system, device and medium based on artificial intelligence proposed in the embodiment of the present invention can realize accurate analysis of user behavior preferences and improve the accuracy of data mining of user behavior. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0050] Figure 1 A flowchart of a user behavior mining method based on artificial intelligence provided by an embodiment of the present invention;

[0051] Figure 2 In one embodiment of the present invention Figure 1A flowchart of one of the steps of a user behavior mining method based on artificial intelligence is provided;

[0052] Figure 3 In one embodiment of the present invention Figure 1 A flowchart of another step of a user behavior mining method based on artificial intelligence is provided;

[0053] Figure 4 A schematic diagram of a module of a user behavior mining system based on artificial intelligence provided by an embodiment of the present invention;

[0054] Figure 5 A schematic diagram of the internal structure of an electronic device for implementing an artificial intelligence-based user behavior mining method provided by one embodiment of the present invention. DETAILED DESCRIPTION

[0055] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0056] The embodiment of the present invention provides a user behavior mining method based on artificial intelligence, and the execution subject of the user behavior mining method based on artificial intelligence includes but is not limited to at least one of the electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiment of the present invention. In other words, the user behavior mining method based on artificial intelligence can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.

[0057] See also Figure 1 FIG. 1 is a flow chart of a method for mining user behavior based on artificial intelligence provided by an embodiment of the present invention. Figure 1 An artificial intelligence-based user behavior mining method described in includes:

[0058] S1. Detect the browsing history of the user on the web page, extract the browsing data of each record in the browsing history, and perform deduplication processing on the browsing data to obtain target data.

[0059] In an embodiment of the present invention, the web page refers to a front-end page that is loaded into a browser and provided to users for performing data operations, such as a search page, a display page, etc. The user can be understood as an individual who needs to obtain his or her own needs through the web page, and the browsing record refers to the data record generated when the user performs data operations on the web page, such as common data records such as browsing time, browsing targets, user information, etc.

[0060] As an embodiment of the present invention, the detection of a user's browsing history in a web page includes: in response to a browsing event of the user in the web page, triggering a tracking tool pre-configured in the web page, recording the browsing log of the user in the web page through the tracking tool, and generating the browsing history based on the browsing log.

[0061] Among them, the browsing event refers to the description of the user's behavioral events on the web page, such as search events, query events, etc., and in detail such as query order logistics events, search product parameter events, etc. The tracking tool is a log tool used to collect the logs generated by the user on the web page, which can be constructed through tracking technology, such as semi-tracking, no tracking and other technologies.

[0062] Furthermore, the embodiment of the present invention obtains the specific user data generated by the user in the webpage by extracting the browsing data of each record in the browsing history, wherein the browsing data includes basic user data and user behavior data, wherein the basic user data includes data such as name, gender, and age, and the behavior data includes data such as behavior object, behavior domain name, and behavior IP. Optionally, the browsing data can be extracted by compiling an automated script tool to improve the extraction efficiency of the browsing data, and the automated script tool can be compiled by the JS script language.

[0063] Furthermore, the embodiment of the present invention performs deduplication processing on the browsing data to filter out duplicate data in the browsing data, thereby ensuring the processing efficiency of subsequent data.

[0064] As an embodiment of the present invention, the deduplication processing of the browsing data to obtain the target data includes: performing vector conversion on each data in the browsing data to obtain a data vector, calculating the similarity between any two vectors in the data vectors, and when the similarity is greater than a preset similarity, deleting the data corresponding to one of the any two vectors to obtain the target data.

[0065] The data vector refers to the numerical form of each data in the browsing data, which is used to ensure the premise for calculating the similarity of data in the subsequent browsing data.

[0066] Furthermore, in an optional embodiment of the present invention, the vector conversion of each data in the browsing data can be implemented by a vector conversion algorithm, such as a word2vec algorithm.

[0067] Furthermore, in an optional embodiment of the present invention, the similarity between any two vectors in the data vectors is calculated using the following formula:

[0068]

[0069] Among them, d represents the similarity between any two vectors in the data vector, P 1i and P 2i represents any two data in the original data, n represents the number of vectors in the data vector, and d represents the distance function. Further optionally, the preset similarity can be set to 0.88, or can be set according to the actual business scenario.

[0070] S2. Identify the data ontology of the target data, and calculate the original support of the data ontology in the browsing history. According to the original support, calculate the confidence of the data ontology in the browsing history, and select the data ontology with the confidence greater than a preset threshold as the target ontology.

[0071] The embodiment of the present invention identifies the data local of the target data to clarify the browsing object of the user in the web page, understand the web page environment in which the user is located, ensure that the data of the network environment will not be lost when analyzing the user behavior later, and ensure accurate analysis of the preferences of the subsequent data. The data local can be understood as the subject object browsed by the user in the web page. Optionally, the identification of the data ontology of the target data includes: querying the data field of each data in the target data, identifying the data type of each data in the target data according to the data field, extracting the data feature of each data in the target data according to the data type, and identifying the data ontology of the target data according to the data feature.

[0072] Among them, the data field is used to describe the data structure of each data in the target data, the data type is used to characterize the data identity dimension of each data in the target data, and the data feature is used to describe the data semantic information of each data in the target data.

[0073] Furthermore, in an optional embodiment of the present invention, the data field can be queried in a pre-constructed data field mapping table through a query statement, the query statement includes an SQL statement, the data field mapping table refers to a field data table constructed through historical data, the data type can be identified by an ID identifier, the data features can be extracted by an information entropy algorithm, and the data ontology can be identified by analyzing the data subject objects in the target data through the data features.

[0074] Furthermore, the embodiment of the present invention calculates the original support of the data entity in the browsing history to ensure the premise of subsequent confidence calculation of the data entity. The original support can be understood as the frequency of occurrence of the data entity in the browsing history.

[0075] As an embodiment of the present invention, the calculation of the original support of the data entity in the browsing record includes: obtaining the number of records in the browsing record, and counting the number of entities of each record of the data entity in the browsing record, and calculating the original support of the data entity in the browsing record based on the number of records and the entity data.

[0076] The number of records refers to the total number of browsing records generated by users on a web page, and the amount of entity data refers to the number of occurrences of the data entity in each record.

[0077] Furthermore, in an optional embodiment of the present invention, the original support of the data entity in the browsing record is calculated using the following formula:

[0078]

[0079] Among them, P(A) represents the original support of data ontology A, n represents the number of ontologies of data ontology A, and m represents the total number of ontologies and records.

[0080] Furthermore, the embodiment of the present invention calculates the confidence of the data ontology in the browsing history based on the original support, so as to select the data ontology with the confidence greater than the preset threshold as the target ontology, thereby ensuring the reliability of the determination of the data ontology in the browsing history, thereby ensuring the accuracy of the subsequent data analysis of the user in the web page. Optionally, the preset threshold can be set to 0.5, or it can be set according to the actual business scenario.

[0081] As an embodiment of the present invention, see Figure 2 As shown, the calculation of the confidence of the data entity in the browsing record according to the original support includes:

[0082] S201, taking the data ontology corresponding to the original support as the first ontology, and randomly selecting an ontology from the remaining ontologies of the data ontology to obtain a second ontology;

[0083] S202, counting the number of simultaneous occurrences of the first ontology and the second ontology in each record of the browsing history, and calculating the support of the first ontology and the second ontology according to the simultaneous number and the number of records in the browsing history to obtain a target support;

[0084] S203: Calculate the confidence of the data entity in the browsing record according to the original support and the target support.

[0085] It should be noted that the target support is calculated in the same principle as the original support, which will not be further described here. Optionally, the confidence of the data entity in the browsing history is calculated using the following formula:

[0086]

[0087] Among them, S(A) represents the confidence of data ontology A, P(A|B) represents the target support of data ontology A and data ontology B, and P(A) represents the original support of data ontology A.

[0088] S3. Cluster the data in the target data according to the target ontology to obtain a plurality of initial cluster data, and use a pre-trained data classification model to detect the data category of each of the initial cluster data, and re-cluster the data in the plurality of initial cluster data according to the data category to obtain target cluster data.

[0089] The embodiment of the present invention clusters the data in the target data according to the target ontology to initially classify the data in the target data according to the target ontology, understand the user's global information, and ensure accurate and efficient analysis of subsequent data.

[0090] As an embodiment of the present invention, see Figure 3 As shown, according to the target ontology, the data in the target data is clustered to obtain a plurality of initial clustering data, including:

[0091] S301, dividing the cluster center points of the data in the target data according to the target ontology;

[0092] S302, calculating the distance value between each data in the target data and the cluster center point;

[0093] S303: When the distance value is less than a preset distance value, classify the data corresponding to the distance value into the cluster center point to obtain the multiple initial cluster data.

[0094] The cluster center point can be understood as the cluster area position of each data in the target data. Optionally, the cluster center point of the data in the target data is divided using the following formula:

[0095]

[0096] Among them, F represents the cluster center, K represents the number of data entities, c represents the number of target data, and x j represents the jth user in the target data, y i represents the cluster center quality of the ith data entity. Further optionally, the preset distance value can be set to 0.75.

[0097] Furthermore, the embodiment of the present invention uses a pre-trained data classification model to detect the data category of each of the initial clustering data, so as to intelligently detect the clustering category of each of the initial clustering data and ensure the premise of subsequent re-clustering of the initial clustering data. The pre-trained data classification model is constructed by a BP neural network, which includes an input layer, a hidden layer and an output layer, wherein the input layer is used to receive data to be classified, the hidden layer is used to calculate and process the data to be classified, and the output layer is used to output the data category.

[0098] As an embodiment of the present invention, the use of a pre-trained data classification model to detect the data category of each of the initial clustering data includes: obtaining training samples and their corresponding true labels, and initializing the model parameters of the data classification model to be trained, inputting the training samples into the input layer of the data classification model to be trained, so as to calculate the predicted classification probability of the training samples through the hidden layer in the data classification model to be trained, and according to the predicted classification probability, using the output layer in the data classification model to be trained to output the predicted category of the training samples, and calculating the loss value between the predicted category and the true label, when the loss value is greater than the preset loss value, adjusting the model parameters of the data classification model to be trained, and returning to execute the step of inputting the training samples into the input layer of the data classification model to be trained, and when the loss value is not greater than the preset loss, obtaining the pre-trained data classification model.

[0099] In which, the training samples can be obtained through historical data, the real labels are used to characterize the real data categories of the training samples, and the model parameters include weights and deviations, which are used to describe the training effect of the data classification model to be trained. Furthermore, in order to accelerate the training convergence speed of the data classification model to be trained and improve the training speed of the data classification model to be trained, an embodiment of the present invention initializes the model parameters of the data classification model to be trained by adopting genetic algorithm + particle swarm algorithm.

[0100] Furthermore, in an optional embodiment of the present invention, the predicted classification probability of the training sample is calculated through neurons in the hidden layer, and the neurons include but are not limited to convolution neurons, pooling neurons and fully connected neurons, etc. It should be noted that the number of neurons in the hidden layer is set according to actual business needs and is not limited here.

[0101] Furthermore, in an optional embodiment of the present invention, the predicted category of the training sample is output using the following formula:

[0102]

[0103] Among them, y1 represents the predicted category, f represents the activation function of the output layer, and p i represents the node connection weight between the hidden layer and the output layer, g represents the activation function of the hidden layer, ω ij represents the node connection weight between the input layer and the hidden layer, ζ i represents the threshold of the hidden layer, η represents the threshold of the output layer, n represents the number of training samples, and m represents the number of neurons.

[0104] Furthermore, in an optional embodiment of the present invention, the loss value of the predicted category and the true label is calculated using the following formula:

[0105]

[0106] Wherein, Loss represents the loss value, n represents the number of training samples, i represents the position sequence of the predicted category, y1 represents the predicted category, and y2 represents the true label. Further, the preset loss value can be set to 0.1.

[0107] Furthermore, an embodiment of the present invention re-clusters the data in the multiple initial clustering data according to the data category, so as to update the cluster center of the initial clustering data according to the data category, further clarify the global information contained in the user, ensure the accuracy of the clustering division of each data in the initial clustering data, and further ensure the accuracy of subsequent data analysis.

[0108] Optionally, the data in the multiple initial clustering data are re-clustered according to the data category to obtain target clustering data, including: obtaining a target entity of each of the initial clustering data, combining the target entity and the data category as a re-clustering center point, calculating a re-distance value between the data in each of the initial clustering data and the re-clustering center point, and when the re-distance value is less than a preset re-distance value, classifying the data corresponding to the re-distance value into the re-clustering center point to obtain the target clustering data.

[0109] It should be noted that the calculation principle of the re-distance value is the same as that of the above-mentioned distance value calculation, which will not be further elaborated here. The preset re-distance value is set the same as the above-mentioned preset distance value.

[0110] S4. Analyze the data attributes of each data in the target clustering data, construct a data association graph of the target clustering data based on the data attributes, and calculate the probability of the user's preference behavior in the web page based on the data association graph to analyze the user's preference behavior events in the web page.

[0111] The embodiment of the present invention determines the descriptive information of each data in the target clustering data by analyzing the data attributes of each data in the target clustering data, thereby ensuring the premise for constructing a subsequent data association graph, wherein the data attributes can be understood as the information dimensions used to describe each data in the target clustering data. For example, if the data is an order, the data attributes of the order include attributes such as name, time, and region.

[0112] Furthermore, an embodiment of the present invention constructs a data association graph of the target clustering data according to the data attributes, and displays the relationship between the data in the target clustering data from a visual perspective, so as to facilitate the efficiency of subsequent data analysis and improve the accuracy of subsequent data analysis. Optionally, the data association graph can be constructed in the form of an ER diagram.

[0113] Furthermore, the embodiment of the present invention identifies the user's preferred behavior on the web page according to the data association graph to analyze the user's preferred events on the web page, thereby realizing a visualized analysis of the user's behavior on the web page, further ensuring the accuracy of the user's behavior mining. The preferred behavior can be understood as the user's interested behavior on the web page.

[0114] As an embodiment of the present invention, identifying the user's preferred behavior on the web page according to the data association graph includes: calculating the user's preferred behavior probability on the web page according to the data association graph, and analyzing the user's preferred events on the web page according to the preferred behavior probability to generate the user's preferred behavior on the web page. Optionally, the preferred behavior probability is calculated by a decision algorithm, such as an XGboost algorithm.

[0115] It can be seen that the embodiment of the present invention first detects the browsing history of the user on the web page, extracts the browsing data in the browsing history, deduplicates the browsing data, and obtains the target data. It can screen out duplicate data in the browsing data to ensure the processing efficiency of subsequent data, and identify the data ontology of the target data, calculate the confidence of the data ontology in the browsing history, and select the data ontology with a confidence greater than a preset threshold as the target ontology. It can clarify the browsing object of the user on the web page, understand the web page environment of the user, and ensure that the data of the network environment will not be lost when analyzing the user behavior later, and ensure the accurate analysis of the preferences of subsequent data; secondly, the embodiment of the present invention obtains multiple initial clustering data by clustering the data in the target data, so as to initially classify the data in the target data according to the target ontology. Understand the user's global information to ensure accurate and efficient analysis of subsequent data, and use a pre-trained data classification model to detect the data category of each initial clustering data, so as to re-cluster the data in multiple initial clustering data to obtain target clustering data, and intelligently detect the clustering category of each of the initial clustering data, and further clarify the global information contained in the user, so as to further ensure the accuracy of subsequent data analysis; further, the embodiment of the present invention analyzes the data attributes of each data in the target clustering data, and constructs a data association graph of the target clustering data according to the data attributes to identify the user's preferred behavior in the web page, and can determine the descriptive information of each data in the target clustering data, realize the visualization analysis of the user's behavior in the web page, and ensure the accuracy of the user's behavior mining. Therefore, the user behavior mining method based on artificial intelligence proposed in the embodiment of the present invention can realize accurate analysis of user behavior preferences and improve the accuracy of data mining of user behavior.

[0116] like Figure 4 The figure shows a functional module diagram of a user behavior mining system based on artificial intelligence according to the present invention.

[0117] The user behavior mining system 400 based on artificial intelligence described in the present invention can be installed in an electronic device. According to the functions implemented, the user behavior mining system based on artificial intelligence can include a browsing data deduplication module 401, a data ontology selection module 402, a target data clustering module 403 and a preference behavior analysis module 404. The module described in the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.

[0118] In the embodiment of the present invention, the functions of each module / unit are as follows:

[0119] The browsing data deduplication module 401 is used to detect the browsing history of the user on the web page, extract the browsing data of each record in the browsing history, and perform deduplication processing on the browsing data to obtain target data;

[0120] The data ontology selection module 402 is used to identify the data ontology of the target data, calculate the original support of the data ontology in the browsing history, calculate the confidence of the data ontology in the browsing history based on the original support, and select the data ontology with the confidence greater than a preset threshold as the target ontology;

[0121] The target data clustering module 403 is used to cluster the data in the target data according to the target ontology to obtain a plurality of initial clustering data, and use a pre-trained data classification model to detect the data category of each of the initial clustering data, and re-cluster the data in the plurality of initial clustering data according to the data category to obtain target clustering data;

[0122] The preference behavior analysis module 404 is used to analyze the data attributes of each data in the target cluster data, construct a data association graph of the target cluster data according to the data attributes, and identify the user's preference behavior in the web page according to the data association graph.

[0123] In detail, each module in the user behavior mining system 400 based on artificial intelligence described in the embodiment of the present invention is used in the same manner as described above. Figures 1 to 3 The same technical means as described in the user behavior mining based on artificial intelligence can produce the same technical effects, which will not be repeated here.

[0124] like Figure 5 , which is a schematic diagram of the structure of a device for implementing user behavior mining based on artificial intelligence according to the present invention.

[0125] The device may include a processor 50, a memory 51, a communication bus 52 and a communication interface 53, and may also include a computer program stored in the memory 51 and executable on the processor 50, such as an artificial intelligence-based user behavior mining program.

[0126] In some embodiments, the processor 50 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 50 is the control core (ControlUnit) of the electronic device, and uses various interfaces and lines to connect the various components of the entire electronic device, and executes or executes the programs or modules stored in the memory 51 (for example, executing user behavior mining based on artificial intelligence, etc.), and calls the data stored in the memory 51 to execute various functions of the electronic device and process data.

[0127] The memory 51 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. The memory 51 may be an internal storage unit of an electronic device in some embodiments, such as a mobile hard disk of the electronic device. The memory 51 may also be an external storage device of an electronic device in other embodiments, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 51 may also include both an internal storage unit of the electronic device and an external storage device. The memory 51 may not only be used to store application software and various types of data installed in the electronic device, such as the code of the database configuration connection program, but also be used to temporarily store data that has been output or is to be output.

[0128] The communication bus 52 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 51 and at least one processor 50, etc.

[0129] The communication interface 53 is used for communication between the above-mentioned electronic device 5 and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.

[0130] Figure 5 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 5 The structure shown does not constitute a limitation on the electronic device, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0131] For example, although not shown, the electronic device may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 50 through a power management system, so that the power management system can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators. The electronic device may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0132] It should be understood that the embodiment is for illustrative purposes only and the scope of the patent invention is not limited to this structure.

[0133] The database configuration connection program stored in the memory 51 in the electronic device is a combination of multiple computer programs. When running in the processor 50, it can achieve:

[0134] Detecting the browsing history of the user on the web page, extracting the browsing data of each record in the browsing history, and performing deduplication processing on the browsing data to obtain target data;

[0135] Identify the data ontology of the target data, and calculate the original support of the data ontology in the browsing record, calculate the confidence of the data ontology in the browsing record based on the original support, and select the data ontology whose confidence is greater than a preset threshold as the target ontology;

[0136] According to the target ontology, clustering the data in the target data to obtain a plurality of initial clustering data, and using a pre-trained data classification model to detect the data category of each of the initial clustering data, and according to the data category, re-clustering the data in the plurality of initial clustering data to obtain target clustering data;

[0137] Analyze the data attributes of each data in the target cluster data, construct a data association graph of the target cluster data according to the data attributes, and identify the user's preference behavior in the web page according to the data association graph.

[0138] Specifically, the specific implementation method of the processor 50 for the above computer program can refer to Figure 1 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0139] Furthermore, if the module / unit integrated in the device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium. The medium can be volatile or non-volatile. For example, the computer-readable medium may include: any entity or system capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).

[0140] The present invention further provides a medium, wherein the medium stores a computer program, and when the computer program is executed by a processor of a device, the computer program can implement:

[0141] Detecting the browsing history of the user on the web page, extracting the browsing data of each record in the browsing history, and performing deduplication processing on the browsing data to obtain target data;

[0142] Identify the data ontology of the target data, and calculate the original support of the data ontology in the browsing record, calculate the confidence of the data ontology in the browsing record based on the original support, and select the data ontology whose confidence is greater than a preset threshold as the target ontology;

[0143] According to the target ontology, clustering the data in the target data to obtain a plurality of initial clustering data, and using a pre-trained data classification model to detect the data category of each of the initial clustering data, and according to the data category, re-clustering the data in the plurality of initial clustering data to obtain target clustering data;

[0144] Analyze the data attributes of each data in the target cluster data, construct a data association graph of the target cluster data according to the data attributes, and identify the user's preference behavior in the web page according to the data association graph.

[0145] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

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

[0147] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, 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 hardware plus software functional modules.

[0148] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0149] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0150] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0151] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. A user behavior mining method based on artificial intelligence, characterized in that: The method comprises: Detecting the browsing history of the user on the web page, extracting the browsing data of each record in the browsing history, and performing deduplication processing on the browsing data to obtain target data; Identify the data ontology of the target data, and calculate the original support of the data ontology in the browsing record, calculate the confidence of the data ontology in the browsing record based on the original support, and select the data ontology whose confidence is greater than a preset threshold as the target ontology; According to the target ontology, clustering the data in the target data to obtain a plurality of initial clustering data, and using a pre-trained data classification model to detect the data category of each of the initial clustering data, and according to the data category, re-clustering the data in the plurality of initial clustering data to obtain target clustering data; Analyze the data attributes of each data in the target cluster data, construct a data association graph of the target cluster data according to the data attributes, and identify the user's preference behavior in the web page according to the data association graph.

2. The method according to claim 1, characterized in that The detecting of the browsing history of the user on the web page includes: In response to a browsing event of the user on the webpage, triggering a tracking tool pre-configured in the webpage; The browsing log of the user on the web page is recorded by the embedding tool, and the browsing record is generated according to the browsing log.

3. The method according to claim 1, characterized in that The deduplication processing of the browsing data to obtain the target data includes: Performing vector conversion on each data in the browsing data to obtain a data vector, and calculating the similarity between any two vectors in the data vectors; When the similarity is greater than a preset similarity, deleting data corresponding to one of the two arbitrary vectors to obtain the target data; The similarity between any two vectors in the data vector is calculated using the following formula: Among them, d represents the similarity between any two vectors in the data vector, P 1i and P 2i Represents any two data in the original data, n represents the number of vectors in the data vector, and d represents the distance function.

4. The method according to claim 1, characterized in that: The data ontology of identifying the target data includes: Querying a data field of each data in the target data, and identifying a data type of each data in the target data according to the data field; According to the data type, data features of each data in the target data are extracted, and according to the data features, the data ontology of the target data is identified.

5. The method according to claim 1, characterized in that The calculating the confidence of the data entity in the browsing record according to the original support includes: The data ontology corresponding to the original support is used as the first ontology, and an ontology is randomly selected from the remaining ontologies of the data ontology to obtain a second ontology; Counting the number of simultaneous occurrences of the first ontology and the second ontology in each record of the browsing history, and calculating the support of the first ontology and the second ontology according to the simultaneous number and the number of records in the browsing history to obtain a target support; Calculating the confidence of the data entity in the browsing record according to the original support and the target support; The confidence of the data entity in the browsing history is calculated using the following formula: Among them, S(A) represents the confidence of data ontology A, P(A|B) represents the target support of data ontology A and data ontology B, and P(A) represents the original support of data ontology A.

6. The method according to claim 1, characterized in that The step of clustering the data in the target data according to the target ontology to obtain a plurality of initial clustering data includes: According to the target ontology, dividing the cluster center points of the data in the target data; Calculate the distance between each data in the target data and the cluster center point; When the distance value is less than a preset distance value, the data corresponding to the distance value is classified into the cluster center point to obtain the multiple initial cluster data.

7. The method according to any one of claims 1 to 6, characterized in that: Before using the pre-trained data classification model to detect the data category of each of the initial clustering data, the method further includes: Obtain training samples and their corresponding true labels, and initialize the model parameters of the classification model for the data to be trained; Input the training sample into the input layer of the data classification model to be trained; calculate the predicted classification probability of the training sample through the hidden layer in the data classification model to be trained, and output the predicted category of the training sample using the output layer in the data classification model to be trained according to the predicted classification probability, and calculate the loss value between the predicted category and the true label; When the loss value is greater than the preset loss value, after adjusting the model parameters of the data classification model to be trained, returning to the step of inputting the training sample into the input layer of the data classification model to be trained; When the loss value is not greater than the preset loss, a pre-trained data classification model is obtained; The following formula is used to output the predicted category of the training sample: Among them, y1 represents the predicted category, f represents the activation function of the output layer, and p i represents the node connection weight between the hidden layer and the output layer, g represents the activation function of the hidden layer, ω ij represents the node connection weight between the input layer and the hidden layer, ζ i represents the threshold of the hidden layer, η represents the threshold of the output layer, n represents the number of training samples, and m represents the number of neurons.

8. A user behavior mining system based on artificial intelligence, characterized in that: The system comprises: A browsing data deduplication module is used to detect the browsing history of the user on the web page, extract the browsing data of each record in the browsing history, and perform deduplication processing on the browsing data to obtain the target data; A data ontology selection module, used to identify the data ontology of the target data, calculate the original support of the data ontology in the browsing record, calculate the confidence of the data ontology in the browsing record based on the original support, and select the data ontology with the confidence greater than a preset threshold as the target ontology; A target data clustering module is used to cluster the data in the target data according to the target ontology to obtain a plurality of initial clustering data, and use a pre-trained data classification model to detect the data category of each of the initial clustering data, and re-cluster the data in the plurality of initial clustering data according to the data category to obtain target clustering data; The preference behavior analysis module is used to analyze the data attributes of each data in the target cluster data, construct a data association graph of the target cluster data based on the data attributes, and identify the user's preference behavior in the web page based on the data association graph.