Data analysis method and system based on neural network model
Through web crawler program and time window analysis, K-Means clustering model and pupil image data processing, the problems of low efficiency and inaccurate results in traditional data analysis methods are solved, efficient risk identification and personalized recommendations are achieved, and users are enhanced Experience and platform security.
Patent Information
- Application Number
- CN202311768273.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-21
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2043-12-21
AI Technical Summary
Traditional data analysis methods based on neural network models are inefficient and inaccurate in user interaction data analysis. They fail to effectively identify abnormal behaviors and user interests, affecting security and the effectiveness of personalized recommendations.
Collect user information data through a web crawler program, analyze interaction frequency fluctuations based on time windows, use K-Means clustering model to cluster user browsing data, and use terminal monitoring equipment to obtain pupil image data, calculate interest scores, and optimize push content .
It improves the accuracy and efficiency of data analysis, identifies potential risks, enhances platform security, provides personalized recommendations, and improves user experience and satisfaction.
Smart Images

Figure CN117763230B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a data analysis method and system based on a neural network model. Background Art
[0002] Neural networks can effectively capture complex nonlinear data relationships and automatically extract useful features from data without manual intervention. They have significant advantages in processing high-dimensional and large-scale data. Neural networks can process multimodal data and integrate different data types. They are applicable to many fields such as natural language processing, computer vision, and speech recognition. They can cope with variable data and are highly efficient in large-scale data processing. Data analysis based on neural network models can extract valuable information, discover patterns, make predictions, help make evidence-based decisions, and help solve problems and optimize processes. However, traditional data analysis methods based on neural network models do not analyze data anomalies through interactive data from users and programs, resulting in poor analysis efficiency. They also do not analyze task events by analyzing user behavior data, resulting in inaccurate data analysis results. Summary of the invention
[0003] Based on this, the present invention provides a data analysis method and system based on a neural network model to solve at least one of the above technical problems.
[0004] To achieve the above purpose, a data analysis method based on a neural network model includes the following steps:
[0005] Step S1: using a preset web crawler program to collect user information data from a network information platform to generate user information data; collecting user interaction frequency data based on the user information data to generate user interaction frequency data; performing abnormal interaction frequency data analysis on the user interaction frequency data to generate abnormal interaction frequency data;
[0006] Step S2: According to a preset time window, the abnormal interaction frequency data is subjected to an interaction frequency volatility analysis of the time window to generate window volatility data; according to the window volatility data, the abnormal interaction frequency data with window fluctuation deviation is extracted from the abnormal interaction frequency data to generate dangerous interaction frequency data; according to the dangerous interaction frequency data, the abnormal user information data is eliminated from the user information data to generate safe user information data;
[0007] Step S3: collecting user browsing data according to the security user information data to generate user browsing data; clustering the user browsing data based on the pre-trained K-Means clustering model to generate user browsing word frequency clustering data; designing clustering labels according to the user browsing word frequency clustering data to generate clustering label data;
[0008] Step S4: Analyze the user browsing interest type of the user browsing data according to the clustering label data to generate user browsing interest type data; collect user push data based on the user browsing interest type data to generate user push data, and feed the user push data back to the terminal;
[0009] Step S5: when the user browses the user pushed data through the terminal, the user pupil image data is collected by using the terminal's built-in monitoring device to generate the user pupil image data; the pupil zoom degree of the user pupil image data is calculated in real time to generate real-time pupil zoom data; the real-time pupil zoom data and the real-time user pushed data are integrated with the corresponding sequence data to generate real-time pupil-pushed data;
[0010] Step S6: Calculate pupil interest score for real-time pupil image data to generate real-time pupil interest score data; perform browsing type interest score optimization analysis based on real-time pupil score data and real-time pupil-push data to generate optimized browsing type interest score data.
[0011] The present invention uses user information data collected by a web crawler program to conduct an in-depth analysis of the user's behavior on the network platform, including the user's interests, hobbies, click patterns, etc., which helps to understand the user's behavior pattern. According to the user information data, the user interaction frequency data can be collected to deeply understand the user's behavior on the network information platform, including their interests, hobbies and interaction patterns, which helps to better understand user needs and behavior characteristics. Abnormal interaction frequency data analysis of user interaction frequency data can identify abnormal behaviors, such as abnormally high-frequency interactions or interactions with abnormal patterns, and early detection of potential fraud, malicious behavior or abnormal activities, thereby enhancing the security of the platform. The abnormal interaction frequency data is analyzed through a preset time window to identify the time correlation of user behavior and find abnormal activities within a specific time period, thereby more accurately locating potential risks. The window volatility data generated by the interaction frequency volatility analysis of the time window provides information about the trend of user behavior changes, better understands the dynamic characteristics of user behavior, and provides a basis for subsequent risk assessment and prediction. Through the analysis of the window volatility data, the abnormal interaction frequency data of the window fluctuation deviation, that is, the dangerous interaction frequency data, can be extracted, and possible security risks can be quickly identified, and the sensitivity of the system to potential threats can be improved. According to the frequency data of dangerous interactions, the abnormal information corresponding to the user information data can be eliminated to remove abnormal user information, thereby generating safer and more reliable user information data, which helps to ensure the overall security of the platform. By collecting user browsing data based on safe user information data, the specific browsing behavior of users on the platform can be obtained. A more comprehensive understanding of user interests and preferences can be obtained to provide basic data for personalized recommendations. The pre-trained K-Means clustering model is used to cluster the word frequency data of user browsing data, which can classify similar user browsing behaviors into the same cluster, which helps to discover the commonalities within the user group and provide guidance for subsequent personalized recommendations and content optimization. Cluster labels are designed based on user browsing word frequency clustering data, that is, each cluster is assigned a representative label. This helps to simplify the understanding of user behavior and makes user groups easier to distinguish and understand. By analyzing user browsing data based on cluster label data, the user's browsing interest type can be identified and understood, and the user's interest area can be deeply understood, providing more accurate guidance for personalized recommendations. User push data is collected based on user browsing interest type data to provide content that meets user interests. This helps improve the user experience and makes users more likely to be interested in the pushed content, thereby increasing user engagement and retention. Feeding the generated user push data back to the terminal means that users can receive personalized push content directly on their terminal devices, improving user satisfaction because users receive customized information instead of generic push.Using the built-in monitoring device of the terminal to collect the pupil image data of the user can provide a physiological signal that reflects the physiological state of the user when browsing the pushed content, so as to more comprehensively understand the user's attention and excitement. The real-time calculation of the pupil zoom degree of the user's pupil image data can reflect the user's attention level to different pushed content. A larger pupil zoom may indicate that the user is interested in a specific content, while a smaller pupil zoom may indicate a lower attention. The real-time pupil zoom data is integrated with the real-time user push data to generate real-time pupil-push data, and the association between the user's pupil zoom and the pushed content is established, so as to better understand the user's reaction when browsing the pushed content. The pupil interest score calculation of the real-time pupil image data can quantify the user's interest in different pushed content. This provides an objective indicator that reflects the user's actual attention to specific content. Based on the real-time pupil score data and the real-time pupil-push data, the optimization analysis of the browsing interest type can be performed. By analyzing the user's real-time reaction, the user's preferences and interest type can be better understood, so as to adjust the pushed content and improve the accuracy of personalized recommendations. Therefore, the data analysis method based on the neural network model of the present invention can analyze data anomalies through interactive data of users and programs, thereby improving analysis efficiency, and can analyze task events based on analyzing user behavior data, thereby making the data analysis results accurate.
[0012] This specification provides a data analysis system based on a neural network model, which is used to execute the data analysis method based on a neural network model as described above. The data analysis system based on a neural network model includes:
[0013] The user information collection module collects user information data from the network information platform using a preset web crawler program to generate user information data; collects user interaction frequency data based on the user information data to generate user interaction frequency data; performs abnormal interaction frequency data analysis on the user interaction frequency data to generate abnormal interaction frequency data;
[0014] The dangerous user information analysis module is used to perform interaction frequency volatility analysis on abnormal interaction frequency data in a time window according to a preset time window to generate window volatility data; extract abnormal interaction frequency data with window volatility deviation from abnormal interaction frequency data according to the window volatility data to generate dangerous interaction frequency data; remove abnormal user information data from user information data according to the dangerous interaction frequency data to generate safe user information data;
[0015] The user browsing information clustering module is used to collect user browsing data based on the security user information data and generate user browsing data; perform word frequency data clustering processing on the user browsing data based on the pre-trained K-Means clustering model to generate user browsing word frequency clustering data; perform clustering label design based on the user browsing word frequency clustering data to generate clustering label data;
[0016] The user browsing data push module is used to analyze the user browsing interest type of the user browsing data according to the clustering label data, generate the user browsing interest type data; collect the user push data based on the user browsing interest type data, generate the user push data, and feed the user push data back to the terminal;
[0017] The user pupil image acquisition module is used to collect user pupil image data using the terminal's built-in monitoring device when the user browses the user push data through the terminal, and generate user pupil image data; perform real-time calculation of the pupil zoom degree of the user pupil image data, and generate real-time pupil zoom data; integrate the real-time pupil zoom data with the real-time user push data in corresponding sequences, and generate real-time pupil-push data;
[0018] The user browsing interest type analysis module is used to calculate the pupil interest score of the real-time pupil image data to generate real-time pupil interest score data; based on the real-time pupil score data and real-time pupil-push data, the browsing type interest score optimization analysis is performed to generate optimized browsing type interest score data.
[0019] The beneficial effect of the present application is that the present invention uses a web crawler program to collect user information data on a network information platform, forms a comprehensive user information database, collects user interaction data, and obtains detailed interactive behavior records of users. Through interactive frequency calculation, the interaction intensity between users and the platform is effectively quantified. The abnormal analysis of user interaction frequency generates accurate abnormal interaction frequency data, which can keenly capture potential risks and abnormal behaviors. It not only establishes a comprehensive user information archive, but also achieves in-depth insight into user behavior, providing a solid foundation for subsequent analysis and optimization. Through the precise division of time windows and the in-depth analysis of abnormal interaction frequency data, detailed monitoring of user behavior is achieved. By dividing the abnormal interaction frequency data into time windows, the abnormal interaction frequency data is generated, and the window volatility analysis is performed to form window volatility data. By designing a conventional window volatility interval, a comparison benchmark with conventional behavior is established, further improving the accuracy of the analysis. When the window volatility data deviates from the regular window volatility range, the corresponding abnormal interaction frequency data will be marked as dangerous interaction frequency data, which can timely capture potential risk behaviors. The user information data is screened through the dangerous interaction frequency data to generate safe user information data, which provides a reliable data basis for subsequent analysis and recommendations, strengthens the monitoring and processing capabilities of abnormal behaviors, and improves the platform's level of protection for user safety. By using the secure user information data to collect user browsing data, detailed user browsing data is formed, which provides a rich information basis for subsequent analysis. The user browsing data is converted into word frequency data through natural language technology, and the text information is converted into a machine-processable form, which can better understand the user's browsing content. The user browsing word frequency data is clustered through the pre-trained K-Means clustering model to form user browsing word frequency clustering data, which effectively classifies similar browsing behaviors together, and the principal component analysis method is used to extract features from the cluster data to generate cluster feature data, which helps to reduce the dimension and extract key information. Cluster label design is performed based on the cluster feature data, which gives meaningful labels to user browsing behavior and improves the interpretability and explainability of user interests. By deeply mining user browsing behavior, a detailed analysis of user interests is achieved, providing more accurate and in-depth guidance for personalized recommendations. By classifying the user browsing data according to the cluster label data, the user behavior is more finely divided, and by analyzing the user browsing interest type of the classified user browsing data, the user browsing interest type data is formed, which deeply reveals the user's interest preferences.Through the design of push type interest scoring, different types of push content are given user interest scores, which improves the personalization of push content. Based on the push type interest scoring data, user push data is collected to generate user push data and feedback it to the terminal to provide users with more interesting recommended content. Through in-depth analysis of user interests, the push strategy is optimized, the relevance of push content and user satisfaction are improved, and the interactive experience between users and the platform is further enhanced. Through personalized pupil zoom boundary analysis based on user pupil image data, personalized pupil zoom boundary data is established for different users, taking into account the physiological differences of users and improving the accuracy of analysis. While collecting user pupil image data in real time, the pupil zoom degree of real-time pupil image data is calculated through personalized pupil zoom boundary data, and real-time pupil zoom data is generated, providing physiological objective indicators for real-time user feedback. The real-time pupil zoom data and real-time user push data are integrated into corresponding sequences to generate real-time pupil-push data, which provides useful information for a more comprehensive understanding of user interests and concerns. Through the comprehensive analysis of pupil image data, the perception of user real-time interests is realized, providing a scientific basis for the personalization of push content and the improvement of user experience. By calculating the pupil interest score of real-time pupil image data through the pupil interest score algorithm, the system can accurately quantify the user's interest in the current content, providing a physiologically objective basis for personalized push. By using the real-time pupil score data to weight the real-time pupil-push data with real-time browsing type interest scores, it is possible to weigh the interest levels of different pushed content according to the user's actual physiological reactions, thereby improving the personalization of push. By comprehensively considering the real-time browsing type interest score data and the push type interest score data, real-time optimization of browsing interest types is achieved, and optimized browsing interest type data is generated, thereby improving the real-time adjustment of pushed content and user experience. Through the comprehensive analysis of physiological reaction data, the perception of users' real-time interests and real-time optimization of push strategies are achieved, thereby improving the personalization of pushed content and user satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic diagram of the steps of a data analysis method based on a neural network model of the present invention;
[0021] Figure 2 for Figure 1 Detailed implementation steps of step S2 in the flowchart;
[0022] Figure 3 for Figure 1 Detailed implementation steps of step S3 in FIG.
[0023] Figure 4 for Figure 1Detailed implementation steps of step S4 in FIG.
[0024] Figure 5 for Figure 1 Detailed implementation steps of step S5;
[0025] Figure 6 for Figure 1 Detailed implementation steps of step S6 in the flowchart;
[0026] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0027] The following is a clear and complete description of the technical method of the present invention in conjunction with the accompanying drawings. 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 technicians in this field without creative work are within the scope of protection of the present invention.
[0028] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.
[0029] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.
[0030] To achieve this, please refer to Figures 1 to 4 The present invention provides a data analysis method based on a neural network model, comprising the following steps:
[0031] Step S1: using a preset web crawler program to collect user information data from a network information platform to generate user information data; collecting user interaction frequency data based on the user information data to generate user interaction frequency data; performing abnormal interaction frequency data analysis on the user interaction frequency data to generate abnormal interaction frequency data;
[0032] Step S2: According to a preset time window, the abnormal interaction frequency data is subjected to an interaction frequency volatility analysis of the time window to generate window volatility data; according to the window volatility data, the abnormal interaction frequency data with window fluctuation deviation is extracted from the abnormal interaction frequency data to generate dangerous interaction frequency data; according to the dangerous interaction frequency data, the abnormal user information data is eliminated from the user information data to generate safe user information data;
[0033] Step S3: collecting user browsing data according to the security user information data to generate user browsing data; clustering the user browsing data based on the pre-trained K-Means clustering model to generate user browsing word frequency clustering data; designing clustering labels according to the user browsing word frequency clustering data to generate clustering label data;
[0034] Step S4: Analyze the user browsing interest type of the user browsing data according to the clustering label data to generate user browsing interest type data; collect user push data based on the user browsing interest type data to generate user push data, and feed the user push data back to the terminal;
[0035] Step S5: when the user browses the user pushed data through the terminal, the user pupil image data is collected by using the terminal's built-in monitoring device to generate the user pupil image data; the pupil zoom degree of the user pupil image data is calculated in real time to generate real-time pupil zoom data; the real-time pupil zoom data and the real-time user pushed data are integrated with the corresponding sequence data to generate real-time pupil-pushed data;
[0036] Step S6: Calculate the pupil interest score of the real-time pupil image data to generate real-time pupil interest score data; perform browsing type interest score optimization analysis based on the real-time pupil score data and the real-time pupil-push data to generate optimized browsing type interest score data.
[0037] The present invention uses user information data collected by a web crawler program to conduct an in-depth analysis of the user's behavior on the network platform, including the user's interests, hobbies, click patterns, etc., which helps to understand the user's behavior pattern. According to the user information data, the user interaction frequency data can be collected to deeply understand the user's behavior on the network information platform, including their interests, hobbies and interaction patterns, which helps to better understand user needs and behavior characteristics. Abnormal interaction frequency data analysis of user interaction frequency data can identify abnormal behaviors, such as abnormally high-frequency interactions or interactions with abnormal patterns, and early detection of potential fraud, malicious behavior or abnormal activities, thereby enhancing the security of the platform. The abnormal interaction frequency data is analyzed through a preset time window to identify the time correlation of user behavior and find abnormal activities within a specific time period, thereby more accurately locating potential risks. The window volatility data generated by the interaction frequency volatility analysis of the time window provides information about the trend of user behavior changes, better understands the dynamic characteristics of user behavior, and provides a basis for subsequent risk assessment and prediction. Through the analysis of the window volatility data, the abnormal interaction frequency data of the window fluctuation deviation, that is, the dangerous interaction frequency data, can be extracted, and possible security risks can be quickly identified, and the sensitivity of the system to potential threats can be improved. According to the frequency data of dangerous interactions, the abnormal information corresponding to the user information data can be eliminated to remove abnormal user information, thereby generating safer and more reliable user information data, which helps to ensure the overall security of the platform. By collecting user browsing data based on safe user information data, the specific browsing behavior of users on the platform can be obtained. A more comprehensive understanding of user interests and preferences can be obtained to provide basic data for personalized recommendations. The pre-trained K-Means clustering model is used to cluster the word frequency data of user browsing data, which can classify similar user browsing behaviors into the same cluster, which helps to discover the commonalities within the user group and provide guidance for subsequent personalized recommendations and content optimization. Cluster labels are designed based on user browsing word frequency clustering data, that is, each cluster is assigned a representative label. This helps to simplify the understanding of user behavior and makes user groups easier to distinguish and understand. By analyzing user browsing data based on cluster label data, the user's browsing interest type can be identified and understood, and the user's interest area can be deeply understood, providing more accurate guidance for personalized recommendations. User push data is collected based on user browsing interest type data to provide content that meets user interests. This helps improve the user experience and makes users more likely to be interested in the pushed content, thereby increasing user engagement and retention. Feeding the generated user push data back to the terminal means that users can receive personalized push content directly on their terminal devices, improving user satisfaction because users receive customized information instead of generic push.Using the built-in monitoring device of the terminal to collect the pupil image data of the user can provide a physiological signal that reflects the physiological state of the user when browsing the pushed content, so as to more comprehensively understand the user's attention and excitement. The real-time calculation of the pupil zoom degree of the user's pupil image data can reflect the user's attention level to different pushed content. A larger pupil zoom may indicate that the user is interested in a specific content, while a smaller pupil zoom may indicate a lower attention. The real-time pupil zoom data is integrated with the real-time user push data to generate real-time pupil-push data, and the association between the user's pupil zoom and the pushed content is established, so as to better understand the user's reaction when browsing the pushed content. The pupil interest score calculation of the real-time pupil image data can quantify the user's interest in different pushed content. This provides an objective indicator that reflects the user's actual attention to specific content. Based on the real-time pupil score data and the real-time pupil-push data, the optimization analysis of the browsing interest type can be performed. By analyzing the user's real-time reaction, the user's preferences and interest type can be better understood, so as to adjust the pushed content and improve the accuracy of personalized recommendations. Therefore, the data analysis method based on the neural network model of the present invention can analyze data anomalies through interactive data of users and programs, thereby improving analysis efficiency, and can analyze task events based on analyzing user behavior data, thereby making the data analysis results accurate.
[0038] In the embodiment of the present invention, reference Figure 1 The above is a schematic diagram of the steps of a data analysis method based on a neural network model of the present invention. In this embodiment, the data analysis method based on a neural network model includes the following steps:
[0039] Step S1: using a preset web crawler program to collect user information data from a network information platform to generate user information data; collecting user interaction frequency data based on the user information data to generate user interaction frequency data; performing abnormal interaction frequency data analysis on the user interaction frequency data to generate abnormal interaction frequency data;
[0040] In an embodiment of the present invention, a web crawler program, such as the Beautiful Soup library in Python, is used to collect user information data on the network information platform, including obtaining the user's basic information, published content, and interaction with other users. Through this process, a user information data containing rich data is obtained. Based on the collected user information data, data collection of user interaction frequency is performed. By monitoring the user's interactive behaviors such as likes, comments, and sharing on the platform, we have established user interaction frequency data, and recorded in detail the interaction between the user and the platform and other users. After obtaining the user interaction frequency data, abnormal interaction frequency data analysis is performed. This analysis stage involves statistical processing of user interaction frequency, such as calculating the mean value, standard deviation, etc., to identify abnormal frequencies that deviate from the normal range. By setting a threshold, we can determine which user interaction frequencies belong to abnormal situations, and generate abnormal interaction frequency data. The Z-score method is used to convert the interaction frequency of each user into a standardized score, and then by setting a threshold (for example, the Z score is greater than 2 or less than -2), the abnormal interaction frequency data is screened out. This in-depth and detailed embodiment ensures our sensitivity to user behavior, can accurately capture abnormal situations, and provide reliable basic data for subsequent analysis.
[0041] Step S2: According to a preset time window, the abnormal interaction frequency data is subjected to an interaction frequency volatility analysis of the time window to generate window volatility data; according to the window volatility data, the abnormal interaction frequency data with window fluctuation deviation is extracted from the abnormal interaction frequency data to generate dangerous interaction frequency data; according to the dangerous interaction frequency data, the abnormal user information data is eliminated from the user information data to generate safe user information data;
[0042] In an embodiment of the present invention, the abnormal interaction frequency data is analyzed for interaction frequency volatility in a time window according to a preset time window. Taking daily as an example, the abnormal interaction frequency data is grouped according to daily intervals, and the frequency volatility in each time window is calculated. This is achieved by using technologies such as moving average and sliding window to ensure that we capture the temporal trend of changes. The abnormal interaction frequency data with window fluctuation deviation is extracted from the abnormal interaction frequency data according to the window volatility data. By setting a threshold for the window volatility, it is determined which abnormal interaction frequency data deviates from the normal fluctuation range in a specific time window, thereby generating dangerous interaction frequency data. After obtaining the dangerous interaction frequency data, we turn to the processing of user information data. By correlating the dangerous interaction frequency data, the user information related to these abnormal frequency data is eliminated, and safe user information data is generated, ensuring that our data set is healthier and more reliable, and further improving the accuracy of subsequent analysis.
[0043] Step S3: collecting user browsing data according to the security user information data to generate user browsing data; clustering the user browsing data based on the pre-trained K-Means clustering model to generate user browsing word frequency clustering data; designing clustering labels according to the user browsing word frequency clustering data to generate clustering label data;
[0044] In an embodiment of the present invention, user browsing data is collected based on secure user information data. By monitoring the browsing behavior of users on the platform, including clicking on links, viewing content, etc., user browsing data is established, and the user's interests and activities on different content on the platform are recorded in detail. The user browsing data is clustered by word frequency data using a pre-trained K-Means clustering model, and the user browsing data is converted into text data, and then clustered by the K-Means algorithm. The K value here can be determined by methods such as cross-validation to achieve the best clustering effect. After obtaining the word frequency clustering of the user browsing data, we designed clustering labels. By analyzing the keywords in each cluster cluster, we designed representative labels for each cluster, reflecting the user browsing interest represented by the cluster. This step ensures that the understanding of user interests in subsequent analysis is more intuitive and specific. For example, we used the scikit-learn library in Python for K-Means clustering, converted user browsing data into a TF-IDF (Term Frequency-Inverse Document Frequency) matrix, and then applied the K-Means algorithm for clustering. By analyzing the keywords of each cluster, we designed cluster labels and gained a detailed understanding of the categories of users’ browsing interests, laying the foundation for subsequent personalized recommendations and analysis.
[0045] Step S4: Analyze the user browsing interest type of the user browsing data according to the clustering label data to generate user browsing interest type data; collect user push data based on the user browsing interest type data to generate user push data, and feed the user push data back to the terminal;
[0046] In an embodiment of the present invention, the user browsing data is analyzed for the user browsing interest type according to the clustering label data. By associating the user browsing data and the clustering label data, for example, if the clustering label is an astronomical literature content clustering label, the corresponding astronomical literature content is classified as astronomical browsing data, and the browsing interest type of each user is determined. This analysis is based on the user's browsing behavior and can more accurately understand the user's interests and preferences. The user push data is collected based on the user browsing interest type data. By associating the user browsing interest type with the relevant push content, the user push data is generated, which includes various types of information pushed to the user according to the user interest type. These user push data are fed back to the user terminal to provide personalized content that meets the user's interests. For example, by using tools such as SQL or Pandas, the user browsing data is associated with the clustering label data to obtain the browsing interest type corresponding to each user. Through the push system or API of the monitoring platform, the push content related to the user browsing interest type is collected to form the user push data.
[0047] Step S5: when the user browses the user pushed data through the terminal, the user pupil image data is collected by using the terminal's built-in monitoring device to generate the user pupil image data; the pupil zoom degree of the user pupil image data is calculated in real time to generate real-time pupil zoom data; the real-time pupil zoom data and the real-time user pushed data are integrated with the corresponding sequence data to generate real-time pupil-pushed data;
[0048] In an embodiment of the present invention, when a user browses user push data through a terminal, pupil image data of the user is collected by using a built-in monitoring device of the terminal, which involves the application of a terminal camera, and pupil data is collected by obtaining an image of the user's eyes. The pupil zoom degree of the user's pupil image data is calculated in real time. By using computer vision technology, the diameter of the pupil can be measured, and the zoom degree of the pupil can be calculated accordingly. The real-time calculation ensures that we can capture the specific state of the user's pupil at different time points. The real-time pupil zoom data and the real-time user push data are integrated with the corresponding sequence data to generate real-time pupil-push data. The pupil data is matched with the push content browsed by the user through a timestamp or other identifier to form a comprehensive real-time data set, which reflects the dynamic changes of the user's pupil when browsing the push content. For example, an image processing library such as OpenCV can be used to obtain the user's eye image through the terminal camera, and the zoom degree of the pupil is calculated using image processing technology. The pupil zoom data and the user push data are integrated according to the timestamp to form real-time pupil-push data.
[0049] Step S6: Calculate pupil interest score for real-time pupil image data to generate real-time pupil interest score data; perform browsing type interest score optimization analysis based on real-time pupil score data and real-time pupil-push data to generate optimized browsing type interest score data.
[0050] In the embodiment of the present invention, pupil interest score calculation is performed on real-time pupil image data to generate real-time pupil interest score data, which reflects the intensity and frequency of pupil changes when users browse pushed content, and is a key indicator for measuring the user's interest level. For example, the user's pupil zoom level will change significantly for content that the user is interested in, and vice versa for content that the user is not interested in. Computer vision algorithms are used to process real-time pupil image data, such as indicators such as changes in pupil area, and by quantifying these indicators, real-time pupil interest score data can be obtained to measure the user's interest level in the current content. Based on the real-time pupil score data and real-time pupil-push data, the browsing interest type optimization analysis is performed to generate optimized browsing interest type data. By analyzing the user's pupil interest scores under different interest types, the classification of pushed content can be optimized to ensure that the push is more in line with the user's real-time interests. For example, the image processing library in Python, such as OpenCV, can be used to calculate the pupil interest score by analyzing the changes in the pupil. By associating it with the real-time pupil-push data, the user's pupil interest score under different interest types is analyzed, ensuring that the user's real-time interest changes in the pushed content can be accurately captured, and the interest analysis of the user's personalized browsing content is continuously optimized to generate optimized browsing interest type data.
[0051] Preferably, step S1 comprises the following steps:
[0052] Step S11: using a preset web crawler program to collect user information data from the network information platform to generate user information data;
[0053] Step S12: collecting user interaction data from the user information data to generate user interaction data;
[0054] Step S13: Calculate the interaction frequency according to the user interaction data to generate user interaction frequency data;
[0055] Step S14: Perform abnormal interaction frequency data analysis on the user interaction frequency data to generate abnormal interaction frequency data.
[0056] The present invention collects user information data on the network information platform through a web crawler program, and can obtain a large amount of user-related information, including personal information, hobbies, and interaction frequency of using the network information platform. This helps to establish user portraits and improve the overall understanding of the user group. Interaction data collection on user information data can capture the actual operation behavior of users on the platform, such as clicks, browsing, etc., which helps to analyze whether the user is a real person interacting with the network platform, providing a basis for subsequent analysis. The interaction frequency is calculated based on the user interaction data to generate user interaction frequency data, which provides a quantitative assessment of user activity and interest in specific content, providing an important basis for personalized recommendations. Abnormal interaction frequency data analysis is performed on user interaction frequency data to generate abnormal interaction frequency data. By detecting and analyzing abnormal interaction behaviors, the perception of potential risks can be improved and the security of the platform can be enhanced.
[0057] In an embodiment of the present invention, a preset web crawler program, such as the Beautiful Soup library in Python, is used to collect user information data from a network information platform. By accessing the user page, personal information, browsing data, interaction data, etc. of the platform, we obtain rich user information including user ID, geographic location, age, gender, etc., and form a detailed user information data set. The collected user information data is used to collect user interaction data. This includes monitoring various interactive behaviors of users on the platform, such as posting content, liking, commenting, etc., to form comprehensive user interaction data. The interaction frequency is calculated based on the obtained user interaction data, and the user interaction frequency data is generated by counting the number of interactions of users within a certain period of time. The user interaction frequency data is analyzed for abnormal interaction frequency. By using statistical methods, such as Z-score, it is identified which users' interaction frequencies deviate from the normal range. Excessively high interaction frequencies will be identified as robot operations, and abnormal interaction frequency data will be generated.
[0058] Preferably, step S14 comprises the following steps:
[0059] The user interaction frequency data is compared using the preset safe interaction frequency threshold. When the user interaction frequency data is greater than the safe interaction frequency threshold, the user interaction frequency data is marked as abnormal interaction frequency data. When the user interaction frequency data is not greater than the safe interaction frequency threshold, the user interaction frequency data is marked as normal interaction frequency data.
[0060] By using a preset safety interaction frequency threshold, the present invention can set a standard to divide user interaction frequency data into two categories: abnormal and normal. Such a comparison helps to clarify what kind of interaction frequency is considered abnormal and improves sensitivity to potential risks. When the user interaction frequency data is greater than the safety interaction frequency threshold, it is marked as abnormal interaction frequency data, which can quickly identify user behaviors that may be risky and improve the accuracy of detecting abnormal interactions. When the user interaction frequency data is not greater than the safety interaction frequency threshold, it is marked as normal interaction frequency data, which helps to keep records of normal user behaviors, reduce the possibility of false alarms, and ensure that the system's judgment of user behavior is more accurate.
[0061] In an embodiment of the present invention, a preset safety interaction frequency threshold is set, and the threshold can be adjusted according to historical data, business requirements and the characteristics of a specific platform. For example, the safety interaction frequency threshold may be set to one standard deviation compared to the average number of interactions per hour. The user interaction frequency data is compared, and in each time window, the interaction frequency of each user is calculated to be greater than the set safety interaction frequency threshold. This calculation can be achieved by using statistical methods such as Z-score, that is, the interaction frequency of each user is standardized and compared with the set threshold. When the user interaction frequency data is greater than the safety interaction frequency threshold, the user's interaction frequency data is marked as abnormal interaction frequency data, and the abnormal interaction frequency data corresponds to a robot operation that may be non-human. On the contrary, when the user interaction frequency data is not greater than the safety interaction frequency threshold, the data is marked as regular interaction frequency data, and the regular interaction frequency data corresponds to the user's regular operation. For example, the pandas and numpy libraries in Python are used for data processing and calculation, and the Z score of each user is calculated, and then compared with the set safety interaction frequency threshold to determine whether it is marked as abnormal interaction frequency data.
[0062] Preferably, step S2 comprises the following steps:
[0063] Step S21: performing time window division processing on the abnormal interaction frequency data according to a preset time window to generate divided abnormal interaction frequency data, and performing interaction frequency volatility analysis of the divided abnormal interaction frequency data in the time window to generate window volatility data;
[0064] Step S22: Design a regular window fluctuation interval according to the regular interaction frequency data to generate a regular window fluctuation interval;
[0065] Step S23: performing a window fluctuation interval comparison on the window volatility data according to the regular window fluctuation interval, and when the window volatility data deviates from the regular window fluctuation interval, marking the abnormal interaction frequency data corresponding to the window volatility data as dangerous interaction frequency data;
[0066] Step S24: Abnormal user information data is removed from the user information data according to the dangerous interaction frequency data to generate safe user information data.
[0067] The present invention can understand the time dynamics of abnormal interaction behavior in more detail by performing time window division processing and volatility analysis on abnormal interaction frequency data. This helps to capture the instantaneous fluctuations of abnormal behavior and improve the perception of potential risks. Designing a conventional window fluctuation interval based on conventional interaction frequency data enables it to adapt to the fluctuation range of normal user behavior more flexibly, helps to reduce the false alarm rate, and ensures that normal user behavior is not misjudged as abnormal. Comparing the window volatility data with the conventional window fluctuation interval, when the data deviates from the conventional interval, marking the corresponding abnormal interaction frequency data as dangerous interaction frequency data, helps the system to quickly identify and mark user behaviors that may be risky, such as unconventional interaction behaviors such as a large number of automatic clicks in a short period of time through robots, and improves the system's sensitivity to potential threats. Abnormal user information is eliminated from user information data based on dangerous interaction frequency data to generate safe user information data, which helps to ensure the overall security of the platform and reduce the impact of potential threats on users and systems.
[0068] As an example of the present invention, refer to Figure 2 As shown, Figure 1 Detailed implementation steps of step S2 in the embodiment are shown in the flowchart. In this embodiment, step S2 includes:
[0069] Step S21: performing time window division processing on the abnormal interaction frequency data according to a preset time window to generate divided abnormal interaction frequency data, and performing interaction frequency volatility analysis of the divided abnormal interaction frequency data in the time window to generate window volatility data;
[0070] In an embodiment of the present invention, the abnormal interaction frequency data is divided and processed according to a preset time window. Taking each hour as an example, the abnormal interaction frequency data is divided into each hour as a time window, and the abnormal interaction frequency in each time window is counted, and the interaction frequency volatility analysis of the time window is performed. By calculating the volatility index, for example, the user's interaction frequency in each hour is a data point, and the volatility index is calculated based on the interaction frequency data point to generate window volatility data.
[0071] Step S22: Design a regular window fluctuation interval according to the regular interaction frequency data to generate a regular window fluctuation interval;
[0072] In an embodiment of the present invention, a regular window fluctuation range is designed based on regular interaction frequency data. For example, the interaction frequency within each hour of the regular interaction frequency data is a data point, and there are interaction frequencies of different users within each hour. A regular window fluctuation range is constructed by expanding this range by a conventional multiple.
[0073] Step S23: performing a window fluctuation interval comparison on the window volatility data according to the regular window fluctuation interval, and when the window volatility data deviates from the regular window fluctuation interval, marking the abnormal interaction frequency data corresponding to the window volatility data as dangerous interaction frequency data;
[0074] In the embodiment of the present invention, the window volatility data is compared with the regular window volatility interval. When the window volatility data deviates from the regular window volatility interval, the abnormal interaction frequency data corresponding to the window volatility data is marked as dangerous interaction frequency data. By considering the relative deviation of the volatility within the window, for example, if the interaction frequency of one window of the window volatility data exceeds the limit range of the regular window volatility interval, the behavior may be a non-human operation, and the operation is marked as a robot operation, and the corresponding abnormal interaction frequency data is marked as dangerous interaction frequency data.
[0075] Step S24: Abnormal user information data is removed from the user information data according to the dangerous interaction frequency data to generate safe user information data.
[0076] In an embodiment of the present invention, abnormal user information data is eliminated from user information data based on dangerous interaction frequency data to generate safe user information data. By associating the dangerous interaction frequency data with the user information data, the user information data may be performed by non-human operations, and the corresponding user information data performed by these non-human operations are extracted, thereby improving the system's filtering accuracy for potential risks and generating safe user information data.
[0077] Preferably, step S3 comprises the following steps:
[0078] Step S31: collecting user browsing data according to the secure user information data to generate user browsing data;
[0079] Step S32: using natural language technology to convert user browsing data into word frequency data to generate user browsing word frequency data;
[0080] Step S33: performing word frequency data clustering processing on the user browsing word frequency data based on the pre-trained K-Means clustering model to generate user browsing word frequency clustering data;
[0081] Step S34: extracting features from user browsing word frequency clustering data using principal component analysis to generate clustering feature data;
[0082] Step S35: Design cluster labels based on the cluster feature data to generate cluster label data.
[0083] The present invention collects user browsing data based on secure user information data, and can obtain the actual browsing behavior of users on the platform, which is helpful to analyze more accurate user interest directions and improve the accuracy of recommendations. The user browsing data is converted into word frequency data using natural language technology, and text information can be converted into a machine-processable form, providing more structured data for subsequent clustering processing, which helps to improve the accuracy of clustering. Based on the pre-trained K-Means clustering model, the user browsing word frequency data is clustered, and similar user browsing behaviors are divided into the same cluster, which helps to discover user interest groups and provide more targeted information for personalized recommendations. The user browsing word frequency clustering data is feature extracted using the principal component analysis method, which improves the dimensional efficiency of the data, retains key information, reduces data dimensions, accelerates model training and improves clustering effects. Clustering label design is performed based on clustering feature data, and each cluster is given a representative label. The understanding of user behavior is simplified through clustering feature data and label design, providing more intuitive information for subsequent recommendation systems.
[0084] As an example of the present invention, refer to Figure 3 As shown, Figure 1 Detailed implementation steps of step S3 in the flowchart, in this example, step S3 includes:
[0085] Step S31: collecting user browsing data according to the secure user information data to generate user browsing data;
[0086] In the embodiment of the present invention, user browsing data is collected based on the secure user information data. By monitoring the user's browsing behavior on the platform, including clicking on links, viewing content, etc., we have established user browsing data, which records in detail the user's interest and activities on different content on the platform.
[0087] Step S32: using natural language technology to convert user browsing data into word frequency data to generate user browsing word frequency data;
[0088] In an embodiment of the present invention, natural language technology is used to convert user browsing data into word frequency data. By converting user browsing data into text data and using natural language processing technology, such as NLTK or Spacy, word frequency statistics are performed to generate user browsing word frequency data and capture keyword information of user browsing content.
[0089] Step S33: performing word frequency data clustering processing on the user browsing word frequency data based on the pre-trained K-Means clustering model to generate user browsing word frequency clustering data;
[0090] In the embodiment of the present invention, the Elbow method, Silhouette score or other suitable clustering evaluation methods are used to select an appropriate number of clusters K, which is a key decision in K-Means clustering and affects the quality of the final clustering result. The number of clusters K is obtained by training the K-Means clustering model with training samples corresponding to the user browsing word frequency data. The training samples are obtained by analyzing the user's historical data. The user browsing word frequency data is clustered and analyzed by the trained K-Means clustering model. The clustering results are analyzed to divide the content browsed by the user into different clusters to form user browsing word frequency clustering data, which helps to better understand the focus of user interests and check the keywords or topics in each cluster so as to assign appropriate labels to each cluster. This can be achieved by viewing the center point (cluster center) of each cluster or other statistical information of clustering results.
[0091] Step S34: extracting features from user browsing word frequency clustering data using principal component analysis to generate clustering feature data;
[0092] In the embodiment of the present invention, the principal component analysis method is used to extract features from the user browsing word frequency clustering data. The principal component analysis helps us discover the key features in the user browsing word frequency data, reduce the dimension of the data, and improve the abstract representation of the user's browsing interests, thereby obtaining the text with key features of each clustering cluster result and generating clustering feature data.
[0093] Step S35: Design cluster labels based on the cluster feature data to generate cluster label data.
[0094] In an embodiment of the present invention, cluster labels are designed based on cluster feature data. By analyzing the key features in each cluster, a representative label is designed for each cluster. For example, if the cluster feature of one cluster is related to astronomy, the cluster is labeled with an astronomy label, which reflects the user browsing interest represented by the cluster, thereby ensuring that the subsequent analysis of user interests is more intuitive and specific.
[0095] Preferably, step S4 comprises the following steps:
[0096] Step S41: classifying the user browsing data according to the clustering label data to generate classified user browsing data;
[0097] Step S42: Analyze the user browsing interest type according to the classified user browsing data to generate user browsing interest type data;
[0098] Step S43: Design a push type interest score according to the user browsing interest type data to generate push type interest score data;
[0099] Step S44: collect user push data based on the push type interest score data, generate user push data, and feed back the user push data to the terminal.
[0100] The present invention classifies and processes user browsing data according to cluster label data to generate classified user browsing data, which helps to more accurately classify user browsing behavior into specific interest types and improves the detailed understanding of user interests. Performing user browsing interest type analysis based on classified user browsing data and generating user browsing interest type data helps to gain an in-depth understanding of the user's interest areas and provide more personalized guidance for subsequent recommendations. Designing a push type interest score based on the user browsing interest type data, assigning user interest scores to different types of push content, and more accurately evaluating the user's interest in different push types. User push data collection based on push type interest score data generates user push data and feeds it back to the terminal, which can provide personalized push content that is more in line with user interests and improve user participation and satisfaction.
[0101] As an example of the present invention, refer to Figure 4 As shown, Figure 1 Detailed implementation steps of step S4 in the embodiment are shown in the flowchart. In this embodiment, step S4 includes:
[0102] Step S41: classifying the user browsing data according to the clustering label data to generate classified user browsing data;
[0103] In an embodiment of the present invention, the user browsing data is classified according to the clustering label data. The user browsing data is divided into different browsing categories by associating the user browsing data with the previously generated clustering label data. The browsing categories are browsing categories pre-set by the network platform. The browsing categories corresponding to the clustering label data are divided so that each category can represent a type of browsing interest of the user on the platform.
[0104] Step S42: Analyze the user browsing interest type according to the classified user browsing data to generate user browsing interest type data;
[0105] In an embodiment of the present invention, user browsing interest type analysis is performed based on classified user browsing data, and statistics and analysis are performed on the data of each browsing category to generate user browsing interest type data. For example, the number of access types corresponding to the user browsing data is used to describe the user's browsing preferences under different interest categories.
[0106] Step S43: Design a push type interest score according to the user browsing interest type data to generate push type interest score data;
[0107] In an embodiment of the present invention, a push type interest scoring design is performed based on user browsing interest type data. By designing a scoring mechanism, a quantitative evaluation is performed on the push interest of each user under different browsing interest types, and push type interest scoring data is generated, which reflects the user's interest level in different push types.
[0108] Step S44: collect user push data based on the push type interest score data, generate user push data, and feed back the user push data to the terminal.
[0109] In the embodiment of the present invention, user push data collection is performed based on push type interest scoring data. The designed scoring mechanism selects push content that meets user interests from the platform, generates user push data, and feeds this data back to the user terminal, ensuring that the push content is personalized and meets user interests, and improving user experience.
[0110] Preferably, step S5 comprises the following steps:
[0111] Step S51: when the user browses the user pushed data through the terminal, the user pupil image data is collected by using the terminal's built-in monitoring device to generate the user pupil image data;
[0112] Step S52: performing personalized pupil zoom limit analysis according to the user's pupil image data to generate personalized pupil zoom limit data;
[0113] Step S53: collecting user pupil image data in real time to generate real-time pupil image data;
[0114] Step S54: calculating the pupil zoom degree of the real-time pupil image data according to the personalized pupil zoom limit data to generate real-time pupil zoom data;
[0115] Step S55: Integrate the real-time pupil zoom data and the real-time user push data in corresponding sequences to generate real-time pupil-push data.
[0116] The present invention collects pupil image data of users through the built-in monitoring device of the terminal, and can obtain the physiological response of users in real time, which helps to more comprehensively understand the attention and interest level of users when browsing pushed content. According to the user's pupil image data, personalized pupil zoom boundary analysis can be performed, and the judgment criteria of pupil zoom can be adjusted according to individual differences, which helps to more accurately capture the user's attention changes and improve the adaptability to individual differences of users. The user's pupil image data is collected in real time, and the user's pupil changes at different time points can be captured, and the user's attention level can be monitored in real time to provide more timely feedback. According to the personalized pupil zoom boundary data, the pupil zoom degree of the real-time pupil image data is calculated, and the user's attention level to the pushed content can be quantified, and the user's interest level in different content can be more accurately evaluated. The real-time pupil zoom data and the real-time user push data are integrated with the corresponding sequence data to generate real-time pupil-push data, establish the association between the user's pupil zoom and the pushed content, and provide more comprehensive user feedback.
[0117] As an example of the present invention, refer to Figure 5 As shown, Figure 1 Detailed implementation steps of step S5 in the flowchart, in this example, step S5 includes:
[0118] Step S51: when the user browses the user pushed data through the terminal, the user pupil image data is collected by using the terminal's built-in monitoring device to generate the user pupil image data;
[0119] In an embodiment of the present invention, when a user browses user pushed data through a terminal, we use the terminal's built-in monitoring device to collect the user's pupil image data, and obtain the user's pupil image data through a camera or other related sensors, providing a basis for subsequent personalized analysis.
[0120] Step S52: performing personalized pupil zoom limit analysis according to the user's pupil image data to generate personalized pupil zoom limit data;
[0121] In the embodiment of the present invention, personalized pupil zoom limit analysis is performed based on user pupil image data, and personalized pupil zoom limit data is generated by analyzing the baseline size and variation range of the user's pupil, taking into account the physiological differences between different users.
[0122] Step S53: collecting user pupil image data in real time to generate real-time pupil image data;
[0123] In the embodiment of the present invention, the user's pupil image data is collected in real time, ensuring that we can capture the dynamic changes of the user's pupil when browsing the pushed content.
[0124] Step S54: calculating the pupil zoom degree of the real-time pupil image data according to the personalized pupil zoom limit data to generate real-time pupil zoom data;
[0125] In an embodiment of the present invention, the pupil zoom degree is calculated for real-time pupil image data based on personalized pupil zoom limit data. By comparing the real-time pupil size with the personalized zoom limit, the relationship between the user's interest in the pushed content and the pupil zoom degree is reflected, and real-time pupil zoom data is generated. The real-time pupil zoom data takes into account the relative size of each user's personalized pupil zoom degree.
[0126] Step S55: Integrate the real-time pupil zoom data and the real-time user push data in corresponding sequences to generate real-time pupil-push data.
[0127] In an embodiment of the present invention, real-time pupil zoom data and real-time user push data are integrated into corresponding sequences. By integrating the push content browsed by the user at a specific pupil zoom level into sequence data, real-time pupil-push data is generated, providing a key basis for real-time optimization of personalized push.
[0128] Preferably, step S6 comprises the following steps:
[0129] Step S61: Calculate pupil interest scores for real-time pupil image data using a pupil interest score algorithm to generate real-time pupil interest score data;
[0130] Step S62: weighting the real-time browsing type interest score for the real-time pupil-push data according to the real-time pupil score data to generate real-time browsing type interest score data;
[0131] Step S63: optimizing the browsing type interest score in real time according to the real-time browsing type interest score data and the push type interest score data, and generating optimized browsing type interest score data.
[0132] The present invention uses a pupil interest scoring algorithm to calculate pupil interest scores for real-time pupil image data, which can quantify the user's interest level in pushed content, and provides a physiologically objective measurement, which helps to more accurately understand the user's real-time interest. According to the real-time pupil score data, the real-time browsing type interest score is weighted for the real-time pupil-push data, and the interest level of different pushed content can be weighed according to the user's physiological response, which helps to improve the personalization of the pushed content. According to the real-time browsing type interest scoring data and the push type interest scoring data, the browsing interest type is optimized in real time, which can dynamically adjust the system's understanding of the user's interest, optimize the push strategy in real time, and improve the user experience.
[0133] As an example of the present invention, refer to Figure 6 As shown, Figure 1 Detailed implementation steps of step S6 in the flowchart, in this example, step S6 includes:
[0134] Step S61: Calculate pupil interest scores for real-time pupil image data using a pupil interest score algorithm to generate real-time pupil interest score data;
[0135] In an embodiment of the present invention, a pupil interest score algorithm is used to calculate the pupil interest score of real-time pupil image data. The algorithm calculates information such as the pupil zoom degree and zoom speed in the real-time pupil image data to generate real-time pupil interest score data, which reflects the user's attention to the current content. A conventional pupil scoring algorithm can also be used to calculate the pupil interest score, but the result of calculating the user's pupil interest degree in browsing content is not as accurate as the pupil interest scoring algorithm.
[0136] Step S62: weighting the real-time browsing type interest score for the real-time pupil-push data according to the real-time pupil score data to generate real-time browsing type interest score data;
[0137] In an embodiment of the present invention, a real-time browsing type interest score is weighted for real-time pupil-push data based on the real-time pupil score data, and the real-time pupil score is used as the weight. The pupil interest score is scored in combination with the pushed content, and a weighted calculation is performed to generate real-time browsing type interest score data, which more accurately reflects the user's interest in the pushed content.
[0138] Step S63: optimizing the browsing type interest score in real time according to the real-time browsing type interest score data and the push type interest score data, and generating optimized browsing type interest score data.
[0139] In an embodiment of the present invention, real-time optimization of browsing interest types is performed based on real-time browsing type interest scoring data and push type interest scoring data. The push type interest scoring data has an initial score for pupil score optimization. By comprehensively considering the real-time browsing type interest scoring data and the push type interest scoring data, we generate optimized browsing interest type data. The optimized browsing interest type data reflects the scores of the latest content that the user is interested in in each type. The browsing data pushed to the user can be optimized in real time based on the optimized browsing interest type data, providing a more personalized direction for subsequent push and content presentation.
[0140] Preferably, the pupil interest score algorithm in step S61 is as follows:
[0141]
[0142] Where P(T) represents the real-time pupil interest score data, T represents the browsing time, α represents the scaling factor of the real-time pupil interest score data, β represents the personalized pupil scaling limit data, γ represents the current pupil diameter, δ represents the exponential adjustment value of the pupil diameter, e represents the natural constant, η represents the change attenuation rate of the pupil diameter, t represents the browsing time period, ζ represents the number of scaling changes of the pupil diameter, and θ represents the unchanged time of the pupil diameter scaling. Expressed as anomaly-adjusted values for real-time pupil interest score data.
[0143] The present invention utilizes a pupil interest scoring algorithm, which comprehensively considers browsing time T, scaling factor α of real-time pupil interest scoring data, personalized pupil scaling limit data β, current pupil diameter γ, exponential adjustment value δ of pupil diameter, natural constant e, change attenuation rate η of pupil diameter, browsing time period t, number of scaling changes of pupil diameter ζ, unchanged time θ of pupil diameter scaling, and interaction between functions to form a functional relationship:
[0144] Right now, This functional relationship calculates whether a user is interested in browsing the pushed content by analyzing the relative degree of pupil change of each user when browsing the pushed content. The frequency and speed of the change in the user's pupil zoom can be used to determine the user's attention level when browsing the pushed content, thereby obtaining the user's pupil interest score for the type of pushed content. Browsing time refers to the time that users browse a certain type of content. As browsing time goes by, the interest score data also changes accordingly. A longer browsing time reflects that users have a higher interest in this type of content. The scaling factor of the real-time pupil interest score data is used to adjust the overall amplitude of the interest score and is used to standardize the data results. The personalized pupil scaling limit data affects the personalization degree of the interest score and is used to personalize the impact of pupil changes on each different user. The current pupil diameter represents the real-time physiological index considered in the algorithm. The change of pupil diameter will affect the trend of the interest score. A larger pupil diameter may cause a decrease in attention, and the interest score result will also decrease accordingly. The exponential adjustment value of the pupil diameter is used to adjust the nonlinear effect of the pupil diameter on the interest score and adjust the nonlinear effect of the pupil diameter change. The change attenuation rate of the pupil diameter determines the speed of the pupil diameter change. The browsing time period reflects the range of change of the integral. The number of times the pupil diameter is scaled reflects the frequency of pupil changes. A faster pupil change frequency reflects that the user's attention mechanism is more concentrated, and the generated result score is also higher. The unchanged time of pupil diameter scaling participates in the parameters of the Sigmoid function and affects the amplitude of change of the interest score. By introducing multiple parameters of pupil diameter and nonlinear elements, the algorithm can dynamically respond to changes in user pupil interest during different browsing time periods. This dynamicity enables the algorithm to more sensitively capture instantaneous changes in user browsing behavior and improve the accuracy of real-time interest scoring. The functional relationship is adjusted and corrected to reduce the error impact caused by abnormal data or error terms, so as to more accurately generate real-time pupil interest score data P(T), and improve the accuracy and reliability of pupil interest score calculation for real-time pupil image data. At the same time, the scaling factor and adjustment value in the formula can be adjusted according to actual conditions and applied to different real-time pupil image data, which improves the flexibility and applicability of the algorithm.
[0145] This specification provides a data analysis system based on a neural network model, which is used to execute the data analysis method based on a neural network model as described above. The data analysis system based on a neural network model includes:
[0146] The user information collection module collects user information data from the network information platform using a preset web crawler program to generate user information data; collects user interaction frequency data based on the user information data to generate user interaction frequency data; performs abnormal interaction frequency data analysis on the user interaction frequency data to generate abnormal interaction frequency data;
[0147] The dangerous user information analysis module is used to perform interaction frequency volatility analysis on abnormal interaction frequency data in a time window according to a preset time window to generate window volatility data; extract abnormal interaction frequency data with window volatility deviation from abnormal interaction frequency data according to the window volatility data to generate dangerous interaction frequency data; remove abnormal user information data from user information data according to the dangerous interaction frequency data to generate safe user information data;
[0148] The user browsing information clustering module is used to collect user browsing data based on the security user information data and generate user browsing data; perform word frequency data clustering processing on the user browsing data based on the pre-trained K-Means clustering model to generate user browsing word frequency clustering data; perform clustering label design based on the user browsing word frequency clustering data to generate clustering label data;
[0149] The user browsing data push module is used to analyze the user browsing interest type of the user browsing data according to the clustering label data, generate the user browsing interest type data; collect the user push data based on the user browsing interest type data, generate the user push data, and feed the user push data back to the terminal;
[0150] The user pupil image acquisition module is used to collect user pupil image data using the terminal's built-in monitoring device when the user browses the user push data through the terminal, and generate user pupil image data; perform real-time calculation of the pupil zoom degree of the user pupil image data, and generate real-time pupil zoom data; integrate the real-time pupil zoom data with the real-time user push data in corresponding sequences, and generate real-time pupil-push data;
[0151] The user browsing interest type analysis module is used to calculate the pupil interest score of the real-time pupil image data to generate real-time pupil interest score data; based on the real-time pupil score data and real-time pupil-push data, the browsing type interest score optimization analysis is performed to generate optimized browsing type interest score data.
[0152] The beneficial effect of the present application is that the present invention uses a web crawler program to collect user information data on a network information platform, forms a comprehensive user information database, collects user interaction data, and obtains detailed interactive behavior records of users. Through interactive frequency calculation, the interaction intensity between users and the platform is effectively quantified. The abnormal analysis of user interaction frequency generates accurate abnormal interaction frequency data, which can keenly capture potential risks and abnormal behaviors. It not only establishes a comprehensive user information archive, but also achieves in-depth insight into user behavior, providing a solid foundation for subsequent analysis and optimization. Through the precise division of time windows and the in-depth analysis of abnormal interaction frequency data, detailed monitoring of user behavior is achieved. By dividing the abnormal interaction frequency data into time windows, the abnormal interaction frequency data is generated, and the window volatility analysis is performed to form window volatility data. By designing a conventional window volatility interval, a comparison benchmark with conventional behavior is established, further improving the accuracy of the analysis. When the window volatility data deviates from the regular window volatility range, the corresponding abnormal interaction frequency data will be marked as dangerous interaction frequency data, which can timely capture potential risk behaviors. The user information data is screened through the dangerous interaction frequency data to generate safe user information data, which provides a reliable data basis for subsequent analysis and recommendations, strengthens the monitoring and processing capabilities of abnormal behaviors, and improves the platform's level of protection for user safety. By using the secure user information data to collect user browsing data, detailed user browsing data is formed, which provides a rich information basis for subsequent analysis. The user browsing data is converted into word frequency data through natural language technology, and the text information is converted into a machine-processable form, which can better understand the user's browsing content. The user browsing word frequency data is clustered through the pre-trained K-Means clustering model to form user browsing word frequency clustering data, which effectively classifies similar browsing behaviors together, and the principal component analysis method is used to extract features from the cluster data to generate cluster feature data, which helps to reduce the dimension and extract key information. Cluster label design is performed based on the cluster feature data, which gives meaningful labels to user browsing behavior and improves the interpretability and explainability of user interests. By deeply mining user browsing behavior, a detailed analysis of user interests is achieved, providing more accurate and in-depth guidance for personalized recommendations. By classifying the user browsing data according to the cluster label data, the user behavior is more finely divided, and by analyzing the user browsing interest type of the classified user browsing data, the user browsing interest type data is formed, which deeply reveals the user's interest preferences.Through the design of push type interest scoring, different types of push content are given user interest scores, which improves the personalization of push content. Based on the push type interest scoring data, user push data is collected to generate user push data and feedback it to the terminal to provide users with more interesting recommended content. Through in-depth analysis of user interests, the push strategy is optimized, the relevance of push content and user satisfaction are improved, and the interactive experience between users and the platform is further enhanced. Through personalized pupil zoom boundary analysis based on user pupil image data, personalized pupil zoom boundary data is established for different users, taking into account the physiological differences of users and improving the accuracy of analysis. While collecting user pupil image data in real time, the pupil zoom degree of real-time pupil image data is calculated through personalized pupil zoom boundary data, and real-time pupil zoom data is generated, providing physiological objective indicators for real-time user feedback. The real-time pupil zoom data and real-time user push data are integrated into corresponding sequences to generate real-time pupil-push data, which provides useful information for a more comprehensive understanding of user interests and concerns. Through the comprehensive analysis of pupil image data, the perception of user real-time interests is realized, providing a scientific basis for the personalization of push content and the improvement of user experience. By calculating the pupil interest score of real-time pupil image data through the pupil interest score algorithm, the system can accurately quantify the user's interest in the current content, providing a physiologically objective basis for personalized push. By using the real-time pupil score data to weight the real-time pupil-push data with real-time browsing type interest scores, it is possible to weigh the interest levels of different pushed content according to the user's actual physiological reactions, thereby improving the personalization of push. By comprehensively considering the real-time browsing type interest score data and the push type interest score data, real-time optimization of browsing interest types is achieved, and optimized browsing interest type data is generated, thereby improving the real-time adjustment of pushed content and user experience. Through the comprehensive analysis of physiological reaction data, the perception of users' real-time interests and real-time optimization of push strategies are achieved, thereby improving the personalization of pushed content and user satisfaction.
[0153] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.
[0154] 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 data analysis method based on a neural network model, characterized in that: The following steps are involved: Step S1: using a preset web crawler program to collect user information data from a network information platform to generate user information data; Collect user interaction frequency data based on user information data to generate user interaction frequency data; perform abnormal interaction frequency data analysis on the user interaction frequency data to generate abnormal interaction frequency data; Step S2: According to a preset time window, the abnormal interaction frequency data is subjected to an interaction frequency volatility analysis of the time window to generate window volatility data; according to the window volatility data, the abnormal interaction frequency data with window fluctuation deviation is extracted from the abnormal interaction frequency data to generate dangerous interaction frequency data; according to the dangerous interaction frequency data, the abnormal user information data is eliminated from the user information data to generate safe user information data; Step S3: collecting user browsing data based on the secure user information data to generate user browsing data; Based on the pre-trained K-Means clustering model, the user browsing data is clustered to generate user browsing word frequency clustering data; clustering labels are designed based on the user browsing word frequency clustering data to generate clustering label data; Step S4: Analyze the user browsing interest type of the user browsing data according to the clustering label data to generate user browsing interest type data; collect user push data based on the user browsing interest type data to generate user push data, and feed the user push data back to the terminal; Step S5: When the user browses the user pushed data through the terminal, the user pupil image data is collected by using the terminal's built-in monitoring device to generate the user pupil image data; Performing real-time calculation of the pupil zoom degree on the user's pupil image data to generate real-time pupil zoom data; Integrate the real-time pupil zoom data and the real-time user push data into corresponding sequences to generate real-time pupil-push data; Step S6: Calculate pupil interest score for real-time pupil image data to generate real-time pupil interest score data; Based on the real-time pupil score data and the real-time pupil-push data, an optimization analysis of the browsing type interest score is performed to generate optimized browsing type interest score data; Wherein, step S6 comprises: Step S61: Calculate pupil interest scores for real-time pupil image data using a pupil interest score algorithm to generate real-time pupil interest score data; The pupil interest score algorithm in step S61 is as follows: Where P(T) represents the real-time pupil interest score data, T represents the browsing time, α represents the scaling factor of the real-time pupil interest score data, β represents the personalized pupil scaling limit data, γ represents the current pupil diameter, δ represents the exponential adjustment value of the pupil diameter, e represents the natural constant, η represents the change attenuation rate of the pupil diameter, t represents the browsing time period, ζ represents the number of scaling changes of the pupil diameter, and θ represents the unchanged time of the pupil diameter scaling. It is expressed as anomaly-adjusted values of real-time pupil interest score data; Step S62: weighting the real-time browsing type interest score for the real-time pupil-push data according to the real-time pupil score data to generate real-time browsing type interest score data; Step S63: optimizing the browsing type interest score in real time according to the real-time browsing type interest score data and the push type interest score data, and generating optimized browsing type interest score data.
2. The data analysis method based on the neural network model according to claim 1 is characterized in that: Step S1 includes the following steps: Step S11: using a preset web crawler program to collect user information data from the network information platform to generate user information data; Step S12: collecting user interaction data from the user information data to generate user interaction data; Step S13: Calculate the interaction frequency according to the user interaction data to generate user interaction frequency data; Step S14: Perform abnormal interaction frequency data analysis on the user interaction frequency data to generate abnormal interaction frequency data.
3. The data analysis method based on the neural network model according to claim 2 is characterized in that: Step S14 includes the following steps: The user interaction frequency data is compared using the preset safe interaction frequency threshold. When the user interaction frequency data is greater than the safe interaction frequency threshold, the user interaction frequency data is marked as abnormal interaction frequency data. When the user interaction frequency data is not greater than the safe interaction frequency threshold, the user interaction frequency data is marked as normal interaction frequency data.
4. The data analysis method based on the neural network model according to claim 3 is characterized in that: Step S2 includes the following steps: Step S21: performing time window division processing on the abnormal interaction frequency data according to a preset time window to generate divided abnormal interaction frequency data, and performing interaction frequency volatility analysis of the divided abnormal interaction frequency data in the time window to generate window volatility data; Step S22: Design a regular window fluctuation interval according to the regular interaction frequency data to generate a regular window fluctuation interval; Step S23: performing a window fluctuation interval comparison on the window volatility data according to the regular window fluctuation interval, and when the window volatility data deviates from the regular window fluctuation interval, marking the abnormal interaction frequency data corresponding to the window volatility data as dangerous interaction frequency data; Step S24: Abnormal user information data is removed from the user information data according to the dangerous interaction frequency data to generate safe user information data.
5. The data analysis method based on the neural network model according to claim 1 is characterized in that: Step S3 includes the following steps: Step S31: collecting user browsing data according to the secure user information data to generate user browsing data; Step S32: using natural language technology to convert user browsing data into word frequency data to generate user browsing word frequency data; Step S33: performing word frequency data clustering processing on the user browsing word frequency data based on the pre-trained K-Means clustering model to generate user browsing word frequency clustering data; Step S34: extracting features from user browsing word frequency clustering data using principal component analysis to generate clustering feature data; Step S35: Design cluster labels based on the cluster feature data to generate cluster label data.
6. The data analysis method based on the neural network model according to claim 1, characterized in that: Step S4 includes the following steps: Step S41: classifying the user browsing data according to the clustering label data to generate classified user browsing data; Step S42: Analyze the user browsing interest type according to the classified user browsing data to generate user browsing interest type data; Step S43: Design a push type interest score according to the user browsing interest type data to generate push type interest score data; Step S44: collect user push data based on the push type interest score data, generate user push data, and feed back the user push data to the terminal.
7. The data analysis method based on the neural network model according to claim 1 is characterized in that: Step S5 includes the following steps: Step S51: when the user browses the user pushed data through the terminal, the user pupil image data is collected by using the terminal's built-in monitoring device to generate the user pupil image data; Step S52: performing personalized pupil zoom limit analysis according to the user's pupil image data to generate personalized pupil zoom limit data; Step S53: collecting user pupil image data in real time to generate real-time pupil image data; Step S54: calculating the pupil zoom degree of the real-time pupil image data according to the personalized pupil zoom limit data to generate real-time pupil zoom data; Step S55: Integrate the real-time pupil zoom data and the real-time user push data in corresponding sequences to generate real-time pupil-push data.
8. A data analysis system based on a neural network model, characterized in that: Used to execute the data analysis method based on the neural network model as claimed in claim 1, the data analysis system based on the neural network model comprises: The user information collection module collects user information data from the network information platform using a preset web crawler program to generate user information data; collects user interaction frequency data based on the user information data to generate user interaction frequency data; performs abnormal interaction frequency data analysis on the user interaction frequency data to generate abnormal interaction frequency data; The dangerous user information analysis module is used to perform interaction frequency volatility analysis on abnormal interaction frequency data in a time window according to a preset time window to generate window volatility data; extract abnormal interaction frequency data with window volatility deviation from abnormal interaction frequency data according to the window volatility data to generate dangerous interaction frequency data; remove abnormal user information data from user information data according to the dangerous interaction frequency data to generate safe user information data; The user browsing information clustering module is used to collect user browsing data based on the security user information data and generate user browsing data; perform word frequency data clustering processing on the user browsing data based on the pre-trained K-Means clustering model to generate user browsing word frequency clustering data; perform clustering label design based on the user browsing word frequency clustering data to generate clustering label data; The user browsing data push module is used to analyze the user browsing interest type of the user browsing data according to the clustering label data, generate the user browsing interest type data; collect the user push data based on the user browsing interest type data, generate the user push data, and feed the user push data back to the terminal; The user pupil image acquisition module is used to collect user pupil image data using the terminal's built-in monitoring device when the user browses the user push data through the terminal, and generate user pupil image data; perform real-time calculation of the pupil zoom degree of the user pupil image data, and generate real-time pupil zoom data; integrate the real-time pupil zoom data with the real-time user push data in corresponding sequences, and generate real-time pupil-push data; The user browsing interest type analysis module is used to calculate the pupil interest score of the real-time pupil image data to generate real-time pupil interest score data; based on the real-time pupil score data and real-time pupil-push data, the browsing type interest score optimization analysis is performed to generate optimized browsing type interest score data.
