Social platform user influence assessment method based on user behaviors
By collecting and analyzing user data in social networks, and combining it with the BERT model to evaluate user behavior, it solves the problem of inability to consider user behavior characteristics in existing technologies, achieves accurate and personalized assessment of user influence, and improves the efficiency of public opinion monitoring. Effect.
Patent Information
- Application Number
- CN202410671295.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-10
AI Technical Summary
Existing social network user influence analysis methods cannot fully consider users' behavioral characteristics and interest preferences, resulting in inaccurate and personalized evaluation results.
By collecting social platform data, we conduct user centrality analysis and behavioral characteristics evaluation, use the BERT model to classify user interaction data and evaluate influence, and combine the breadth, depth and importance analysis of communication to achieve personalized influence on specific categories of users. Evaluate.
It improves the accuracy of analyzing the influence of specific categories of users, enhances public opinion monitoring and prediction capabilities, and enables personalized analysis of user influence.
Smart Images

Figure CN118626643A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of user identification, and in particular to a method for evaluating the influence of users on a social platform based on user behavior. Background Art
[0002] As an important platform for information dissemination and social interaction, social platforms have developed rapidly in recent years. With the development of the Internet and the popularization of smart devices, more and more users are exchanging, sharing and interacting with information through social platforms. On social platforms, there are so-called "big names" in various fields, who play an important role in the dissemination of information in social networks, and their speeches are more persuasive and influential in social networks. For example, as an important channel for commercial promotion and marketing, social platforms allow companies and brands to interact with users and promote products, services and activities through social platforms. At the same time, by analyzing and monitoring users with important influence in social networks, we can understand the direction of public opinion, the development of events, etc. Therefore, the study and analysis of user influence in social networks plays an important role in public opinion monitoring, event dynamic monitoring, product recommendation, marketing, etc.
[0003] At present, there are some methods for analyzing the influence of users on social platforms. Most of these methods are based on indicators such as users' social network relationships, number of fans, likes, comments and forwarding of published content for evaluation. In 2003, Lada A. Adamic and Eytan Adar used the PageRank algorithm to analyze the influence of users in blog networks. In 2009, Jure Leskovec et al. used the PageRank algorithm to analyze the spread and evolution of news topics on social media. In 2013, Qiu Jun et al. realized the importance analysis of node contribution content in social networks by analyzing relationships. In 2018, Zhang Chen introduced a fuzzy comprehensive evaluation model based on the PageRank algorithm to evaluate the influence of Weibo users. In 2021, Huang Wei proposed an Inf-embedding model for the propagation of user influence, which was used to study the propagation of user influence on Sina Weibo social network, and evaluate user influence by calculating influence probability and influence propagation. In 2021, Jia Xizhi et al. started from the two dimensions of social network user centrality and recognition, and constructed a social network opinion leader identification and evaluation system.
[0004] The methods currently widely used to analyze user influence on social platforms include: (1) node degree centrality, which evaluates user influence by measuring the number of connections between nodes; (2) betweenness centrality, which analyzes influence by measuring the degree to which a node acts as a bridge or intermediary in the network; (3) closeness centrality, which calculates the user zero vector by measuring the average distance from a node to other nodes; and (4) PageRank algorithm, which determines the importance and influence of nodes by analyzing the link relationship between nodes in the network.
[0005] The existing social network user influence analysis methods still have some limitations, such as the inability to fully consider factors such as user behavior characteristics and interest preferences, resulting in inaccurate and in personalized evaluation results. Therefore, a social platform user influence evaluation method based on user behavior is needed. Summary of the invention
[0006] The purpose of the present invention is to provide a method for evaluating the influence of social platform users based on user behavior. The present invention effectively improves the accuracy of the analysis of the influence of specific categories of users, and is more conducive to monitoring and predicting public opinion in specific fields, thereby realizing personalized analysis of the influence of users.
[0007] The present invention is implemented in this way. The present invention provides a method for evaluating the influence of social platform users based on user behavior, which is specifically performed in the following steps:
[0008] S1: Collect data from social platforms, including user information and post information; collect data from social platforms by using Scrapy, Beautiful Soup, Twitter API, or Facebook Graph API.
[0009] S2: Conduct centrality analysis on users, including analysis of the breadth of information released by users, analysis of the depth of information released by users, and analysis of the importance of information dissemination by users;
[0010] The number of fans of a user is calculated by collecting the basic information of the user. The dissemination breadth analysis of the information released by the user specifically includes:
[0011] S 2.1 : Calculate the number of likes, forwardings, and comments of the user's tweets to obtain the dissemination breadth value of the user's posted information; as shown in formula (1)-formula (2);
[0012]
[0013] Where n is the number of posts by the user;
[0014]
[0015] Among them, NN represents the number of non-fans, and NF represents the number of fans.
[0016] S3: Conduct user behavior analysis, including using the BERT model to evaluate the influence of attention relationships and interactions between users on users, and to determine user categories. The specific steps are as follows:
[0017] S 3.1 : Prepare the data of effective and invalid interactions from the social platform interaction data, use the BERT-base model to prepare text samples of different categories, and classify users;
[0018] S 3.2 : Model fine-tuning, analyze the text, fine-tune the model according to the training samples, and judge whether the comments are valid interactions; through model fine-tuning, the user category can be judged.
[0019] Furthermore, the present invention provides a user identification system, including a data collection module for collecting user data, a text analysis module for judging user categories and analyzing interaction effectiveness, and a user influence analysis module for analyzing the influence of users of a specific category.
[0020] Furthermore, the present invention provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a main controller, the method described in any one of the above is implemented.
[0021] Compared with the prior art, the present invention has the following beneficial effects:
[0022] 1. The user influence assessment method for specific categories of social platform users based on user behavior effectively improves the accuracy of the influence analysis of specific categories of users, and is more conducive to public opinion monitoring and prediction in specific fields, thereby realizing personalized analysis of user influence. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. It is understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 is a flow chart of the method of the present invention;
[0025] Figure 2 It is a system module structure diagram of the present invention;
[0026] Figure 3 is a user relationship example diagram of the present invention;
[0027] Figure 4 This is a diagram of the middle layer architecture of the BERT model of the present invention;
[0028] Figure 5 This is the BERT model architecture diagram of the present invention. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work belong to the scope of protection of the present invention. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the invention claimed for protection, but is only for selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work belong to the scope of protection of the present invention.
[0030] See also Figure 1-5 The present invention provides a method for evaluating the influence of social platform users based on user behavior, which is specifically performed in the following steps:
[0031] Please follow the steps below:
[0032] S1: Collect data from social platforms, including user information and post information; collect data from social platforms by using Scrapy, Beautiful Soup, Twitter API, or Facebook Graph API. For example, to obtain Twitter data, send an HTTP request through requests to obtain Twitter data in JSON format, including: user information (nickname, profile, location, account creation time, whether authenticated, etc.), tweet information (user information, post content, forwarding volume, citation volume, like volume, publishing time, etc.), comment information (commenting user, comment content, publishing time, etc.), relationship information, etc.).
[0033] S2: Conduct centrality analysis on users, including analysis of the breadth of information released by users, analysis of the depth of information released by users, and analysis of the importance of information dissemination by users;
[0034] The number of fans of a user is calculated by collecting the basic information of the user. The dissemination breadth analysis of the information released by the user specifically includes:
[0035] S 2.1 : Calculate the number of likes, forwardings, and comments of the user's tweets to obtain the dissemination breadth value of the user's posted information; as shown in formula (1)-formula (2);
[0036]
[0037] Where n is the number of posts by the user;
[0038]
[0039] Among them, NN represents the number of non-fans, and NF represents the number of fans.
[0040] In this embodiment, the layer traversal method is used to analyze the depth of the dissemination of information released by users, and the importance of information dissemination by users is analyzed by removing nodes;
[0041] S3: Conduct user behavior analysis, including using the BERT model to evaluate the influence of attention relationships and interactions between users on users, and to determine user categories. The specific steps are as follows:
[0042] S 3.1 : Prepare the interaction data of social platforms, effective interaction data and invalid interaction data, use the BERT-base model to prepare text samples of different categories, and classify users; the BERT-base model includes input layer, middle layer and output layer, and all inputs will be transformed into the format of [CLS]+sentence A+[SEP]+sentence B+[SEP]. At the same time, BERT performs token_embedding, position_embedding, segment_embedding respectively, and adds them together to finally get embed_sum.
[0043] like Figure 4 , the middle layer of the BERT model consists of self-attention layer+ADD&Normalize layer+FFN.
[0044] Self-attention layer: For the input word vector x, three learnable matrix parameters W are given Q ,W K ,W V , x is right-multiplied by the above matrices to obtain Q, K, and V. Then, through formula (3);
[0045] Compute the output matrix.
[0046] ADD&Normalize layer: x and Attention (Q, K, V) are added, and then Layer Norm operation is performed.
[0047] FFN: includes two linear changes and a ReLU activation function, and its calculation formula is as shown in formula (4);
[0048] FFN(x)=max(0,xW1+b1)W2+b2 Formula (4)
[0049] S 3.2 : Model fine-tuning, analyze the text, fine-tune the model according to the training samples, and judge whether the comments are valid interactions; through model fine-tuning, the user category can be judged.
[0050] In this embodiment, the present invention provides a user identification system, including a data collection module for collecting user data, a text analysis module for judging user categories and analyzing interaction effectiveness, and a user influence analysis module for analyzing the influence of users of specific categories.
[0051] In this embodiment, the present invention provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a main controller, the method described in any one of the above is implemented.
[0052] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention has various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for evaluating the influence of social platform users based on user behavior. Features: Please follow the steps below: S 1 : Collect data from social platforms, including user information and post information; S 2 : Conduct centrality analysis on users, including analysis of the breadth of information released by users, analysis of the depth of information released by users, and analysis of the importance of information dissemination by users; S 3 : Conduct user behavior analysis, including evaluating the influence of attention relationships and interactions between users on users through the BERT model, and determining user categories.
2. According to claim 1, a method for evaluating the influence of social platform users based on user behavior, It is characterized in that The data collection on social platforms includes Scrapy, BeautifulSoup or Twitter API, Facebook Graph API to collect data.
3. According to claim 1, a method for evaluating the influence of social platform users based on user behavior, It is characterized in that Step S 2 , by collecting the basic information of the user, the number of the user's fans is calculated. The dissemination breadth analysis of the information released by the user specifically includes; S 2.1 : Calculate the number of likes, forwardings, and comments of the user's tweets to obtain the dissemination breadth value of the user's posted information; as shown in formula (1)-formula (2); Where n is the number of posts by the user; Among them, NN represents the number of non-fans, and NF represents the number of fans.
4. According to claim 1, a method for evaluating the influence of social platform users based on user behavior, It is characterized in that In step S 3 , follow these steps: S 3.1 : Prepare the data of effective and invalid interactions from the social platform interaction data, use the BERT-base model to prepare text samples of different categories, and classify users; S 3.2 : Model fine-tuning, analyze the text, fine-tune the model according to the training samples, and judge whether the comments are valid interactions; through model fine-tuning, the user category can be judged.
5. A user identification system, It is characterized in that It includes a data collection module for collecting user data, a text analysis module for judging user categories and analyzing interaction effectiveness, and a user influence analysis module for analyzing the influence of specific categories of users.
6. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by the main controller, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Microblog pushing method and device based on user propagation power
CN103179025A
Social user influence measurement method based on multi-angle analysis
CN114154076A
Social text classification method and system, computer equipment and storage medium
CN117312551A
Cited By
Topic outbreak initial influence detection method based on small sample learning and data enhancement
CN119415785A
Method and system for measuring influence of multiple subjects in social media
CN119809850A
