A message control method, device, equipment, program product and medium
By constructing a multi-information source influence propagation model and network splitting technology, the computational complexity and response delay problems of the influence maximization algorithm in social networks are solved, and efficient information propagation control is achieved.
Patent Information
- Application Number
- CN202410853482.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-06-28
AI Technical Summary
The traditional influence maximization algorithm has high computational complexity, large response delay, and poor control effect in social networks, making it difficult to effectively solve the information dissemination problem in dynamic social networks.
Construct a multi-information source influence propagation model, split large-scale directed social networks into small-scale sub-networks through network splitting, execute them concurrently, and determine target seed nodes to achieve influence based on predefined unit cost marginal revenue calculation rules. maximize.
It reduces the computational overhead, shortens the response time, improves the message control effect, and overcomes the parallelism and efficiency problems of traditional methods.
Smart Images

Figure CN118410879B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to a message control method, device, equipment, program product and medium. Background Art
[0002] In the field of social network analysis, the group opinions, views, emotions and behaviors displayed by users constitute social influence, which can directly and quickly reflect the development trend of social groups at all levels. This is especially reflected in the reporting of some important news events. Internet users can participate in the discussion of news events and publish opinions (positive information) in real time, thereby guiding and influencing the progress and direction of events. As a result, researchers have begun to study the problem of influence maximization (IM). In order to solve the problem of influence maximization IM, researchers have proposed a series of algorithms, mainly including greedy algorithms, reverse sampling algorithms and heuristic algorithms. However, traditional influence maximization solutions mainly use centralized designs, which have problems such as high computational complexity, large response delays, and poor control effects.
[0003] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve at present. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a message control method, device, equipment, program product and medium, which can effectively reduce computing overhead and response time, thereby improving the message control effect. The specific scheme is as follows:
[0005] In a first aspect, the present application discloses a message control method, comprising:
[0006] Construct a multi-information source influence propagation model;
[0007] Acquire a directed social network of original size, and perform network splitting on the directed social network to obtain multiple sub-networks;
[0008] Concurrently executing the sub-networks using the multi-information source influence propagation model to determine a first influence propagation value for each information category corresponding to various sub-nodes in the sub-networks;
[0009] Obtaining a preset influence threshold value assigned to each of the sub-networks, and determining a target seed node corresponding to each of the information categories according to a comparison result between the preset influence threshold value and the first influence propagation value, and based on a predefined unit cost marginal benefit calculation rule;
[0010] A target seed node set that maximizes the influence of the directed social network is generated according to the target seed node, so as to utilize the target seed node set to perform message propagation in the directed social network.
[0011] Optionally, the constructing of a multi-information source influence propagation model includes:
[0012] Acquire a target directed social network, and determine an initial seed node from various child nodes in the target directed social network; wherein the same seed node in the target directed social network can propagate different types of information;
[0013] The initial seed node is used as a current seed node, and based on the current state of the current seed node, the outgoing edge of the current seed node in the target directed social network is used to propagate information of one or more information categories contained in the current seed node to corresponding neighbor nodes to activate the neighbor nodes;
[0014] The neighbor node is determined as the current seed node, and then the step based on the current state of the current seed node is jumped to until various child nodes in the target directed social network are activated, and the second influence propagation value of each information category corresponding to various child nodes in the target directed social network is determined.
[0015] Optionally, the states of the seed node in the target directed social network include: an active state, an inactive state and a determined state; wherein the active state is a state when the seed node receives information of one or more information categories; the inactive state is a state when the seed node does not receive any information; and the determined state is a state when the seed node selects information of any information category and confirms receipt.
[0016] Optionally, based on the current state of the current seed node, using the outgoing edge of the current seed node in the target directed social network, propagating the information of one or more information categories contained in the current seed node to corresponding neighbor nodes to activate the neighbor nodes, includes:
[0017] Determine that the current state of the current seed node is the active state, and based on the active state, use the outgoing edge of the current seed node in the target directed social network to propagate one or more information categories contained in the current seed node to corresponding neighbor nodes to activate the neighbor nodes, and change the neighbor nodes from the inactive state to the active state.
[0018] Optionally, after the method propagates one or more information categories contained in the current seed node to corresponding neighbor nodes based on the current state of the current seed node and utilizing the outgoing edge of the current seed node in the target directed social network to activate the neighbor nodes, the method further includes:
[0019] When the state of the neighboring node is the active state, obtaining a first probability value corresponding to each information category of information when the neighboring node changes to the determined state;
[0020] Accordingly, the neighbor node is determined as the current seed node, and then the step based on the current state of the current seed node is jumped to, until all the child nodes in the target directed social network are activated, and the second influence propagation value of each information category corresponding to the various child nodes in the target directed social network is determined, including:
[0021] Determine the neighbor node as the current seed node, and then jump to the step based on the current state of the current seed node until all the child nodes in the target directed social network are activated, perform statistics on each of the seed nodes and determine a second probability value corresponding to the same information category based on the first probability value;
[0022] The second influence propagation value of each information category corresponding to various sub-nodes in the target directional social network is determined according to the second probability value.
[0023] Optionally, the network splitting of the directed social network to obtain multiple sub-networks includes:
[0024] An inter-node gravitational force calculation model is constructed using a preset splitting rule, and the directed social network is split based on the inter-node gravitational force calculation model to obtain a plurality of sub-networks.
[0025] Optionally, the directed social network is split based on the inter-node gravity calculation model to obtain a plurality of sub-networks, including:
[0026] Determine the first node gravity value between any two seed nodes in the directed social network by using the inter-node gravity calculation model;
[0027] The directed social network is split according to the first node gravity value to obtain a plurality of sub-networks.
[0028] Optionally, determining a first node attraction value between any two seed nodes in the directed social network includes:
[0029] Obtaining a first seed node and a second seed node in the directed social network, and calculating a cosine similarity between the first seed node and the second seed node;
[0030] Calculating the node information entropy of the first seed node and the second seed node respectively, and determining the second node attraction value between the first seed node and the second seed node based on the cosine similarity and the node information entropy;
[0031] A gravitational value matrix of the directed social network is determined based on the second node gravitational value, so as to determine a first node gravitational value between any two nodes in the directed social network according to the gravitational value matrix.
[0032] Optionally, the calculation formula of the cosine similarity is:
[0033] ;
[0034] in, For Node i and nodes j The cosine similarity between For Node i The characteristic vector of For Node j The characteristic vector of For Node i The modulus of the eigenvector of For Node j The modulus of the eigenvector of .
[0035] Optionally, the calculation formula of the node information entropy is:
[0036] ;
[0037] in, For Node i The node information entropy of N represents the total number of nodes in the directed social network, Representation Node i Send to Node j The probability of ; Represents a slave node i To Node j The number of edges.
[0038] Optionally, determining the second node attraction value between the first seed node and the second seed node based on the cosine similarity and the node information entropy includes:
[0039] use determining a second node gravity value between the first seed node and the second seed node;
[0040] in, For Node i With Node j The node gravity value between , , is a non-negative parameter and ; and Respectively represent nodes i With Node j The information entropy of Representation Node i and nodes j The cosine similarity between .
[0041] Optionally, splitting the directed social network according to the first node gravity value to obtain a plurality of sub-networks includes:
[0042] Assigning an initial label to each seed node in the directed social network;
[0043] Iteratively updating the initial label based on the first node gravity value to determine the target label corresponding to each seed node;
[0044] The various sub-nodes in the directed social network are clustered according to the target label to obtain a clustering result, and a plurality of sub-networks are determined according to the clustering result.
[0045] Optionally, the iterative updating of the initial label based on the first node gravity value to determine a target label corresponding to each seed node includes:
[0046] Acquire a third seed node, and determine, according to the gravity value of the first node, a fourth seed node corresponding to when the gravity value between the first node and the third seed node is the largest;
[0047] The initial label of the third seed node is updated to the initial label of the fourth seed node. When the initial labels of various child nodes are updated, the target label corresponding to each seed node is obtained.
[0048] Optionally, clustering various sub-nodes in the directed social network according to the target label to obtain a clustering result includes:
[0049] Counting the target label and determining a fifth seed node having the same target label;
[0050] The fifth seed nodes are divided into the same sub-network to obtain corresponding clustering results.
[0051] Optionally, determining the target seed node corresponding to each of the information categories according to a comparison result between the preset influence threshold and the first influence propagation value and based on a predefined unit cost marginal benefit calculation rule includes:
[0052] Determine whether the preset influence threshold is less than or equal to the first influence propagation value;
[0053] If the preset influence threshold is less than or equal to the first influence propagation value, determining a sixth seed node corresponding to the first influence propagation value, and determining the sixth seed node as the target seed node;
[0054] If the preset influence threshold is greater than the first influence propagation value, the target seed node corresponding to each of the information categories is determined based on a predefined unit cost marginal benefit calculation rule.
[0055] Optionally, the determining the target seed node corresponding to each information category based on a predefined unit cost marginal benefit calculation rule includes:
[0056] use Determine the marginal benefit per unit cost of the seventh seed node; where, For Node v The marginal benefit per unit cost is Represents the seed set Adding Nodes v The subsequent influence spread value, Represents a seed set The influence spread value of Indicates the selection node v The cost to be incurred;
[0057] use Determine the eighth seed node corresponding to the maximum marginal benefit per unit cost, so as to determine the target seed node corresponding to each information category according to the eighth seed node; wherein u is the eighth seed node, C i Represents a subnetwork.
[0058] In a second aspect, the present application discloses a message control device, comprising:
[0059] Model building module, used to build a multi-information source influence propagation model;
[0060] A network splitting module, used for obtaining a directed social network of original scale and performing network splitting on the directed social network to obtain multiple sub-networks;
[0061] An influence propagation value determination module, configured to concurrently execute the sub-networks using the multi-information source influence propagation model to determine a first influence propagation value for each information category corresponding to various sub-nodes in the sub-networks;
[0062] A seed node acquisition module, used to obtain a preset influence threshold value assigned to each of the sub-networks, and determine a target seed node corresponding to each of the information categories according to a comparison result between the preset influence threshold value and the first influence propagation value, and based on a predefined unit cost marginal benefit calculation rule;
[0063] The seed node set determination module is used to generate a target seed node set that maximizes the influence of the directed social network based on the target seed node, so as to use the target seed node set to propagate messages in the directed social network.
[0064] In a third aspect, the present application discloses an electronic device, comprising:
[0065] Memory for storing computer programs;
[0066] A processor is used to load and execute the computer program to implement the aforementioned message control method.
[0067] In a fourth aspect, the present application discloses a computer program product, including a computer program / instruction, which implements the steps of the aforementioned message control method when executed by a processor.
[0068] In a fifth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program implements the aforementioned message control method when executed by a processor.
[0069] The present application provides a message control method, including: constructing a multi-information source influence propagation model; obtaining a directed social network of original scale, and splitting the directed social network to obtain multiple sub-networks; using the multi-information source influence propagation model to concurrently execute the sub-networks to determine a first influence propagation value for each information category corresponding to various sub-nodes in the sub-networks; obtaining a preset influence threshold assigned to each of the sub-networks, and determining a target seed node corresponding to each of the information categories based on a comparison result between the preset influence threshold and the first influence propagation value, and based on a predefined unit cost marginal benefit calculation rule; generating a target seed node set that maximizes the influence of the directed social network based on the target seed node, so as to use the target seed node set to propagate messages in the directed social network.
[0070] The beneficial technical effects of the present application are as follows: first, different from the traditional propagation mode based on a single information source in a social network, a multi-information source-oriented influence propagation model is constructed to characterize the influence propagation mode in a real network scenario. Secondly, the original large-scale directed social network can be split into several smaller sub-networks according to certain rules. Since the sub-networks after the split are independent of each other, the multi-information source influence propagation model can be used to concurrently and synchronously execute the sub-networks to determine the influence propagation value of each information category, thereby improving the parallelism of the algorithm and shortening the algorithm execution cycle. In addition, based on the predefined unit cost marginal benefit calculation rules, seed nodes containing multiple information sources can be screened in parallel, and then the target seed nodes corresponding to each information category are determined, overcoming the uncertainty and ineffectiveness of traditional heuristic methods. Moreover, since subsequent operations all occur in small-scale sub-networks rather than the original large-scale network, the computational complexity can be reduced. Finally, the target seed node set that maximizes the influence of the directed social network is generated by the determined target seed node, and the policy output of message control is realized. That is, information is transmitted in the directed social network through the target seed node set to maximize the influence of the directed social network. In summary, the present invention effectively reduces computing overhead and shortens response time, thereby improving message control effects.
[0071] In addition, the present application provides a message control device, equipment, program product and medium, which correspond to the above-mentioned message control method and have the same effect as above. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0073] Figure 1 A flow chart of a message control method disclosed in this application;
[0074] Figure 2 A schematic diagram of an overall framework of message control disclosed in this application;
[0075] Figure 3 A schematic diagram of a multi-source influence propagation model disclosed in this application;
[0076] Figure 4 This is a schematic diagram of the structure of a message control device disclosed in this application;
[0077] Figure 5 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0078] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0079] First of all, before introducing the present application, in order to facilitate a better understanding of the present application, the research process of the influence propagation mechanism involved in the present application is introduced.
[0080] A social network is defined as a virtual community where users create, share, and exchange information and opinions. Generally, an online social network can be abstracted as a directed graph, where each node represents a user and each directed edge represents a relationship between two users. A social network is a network consisting of complex relationships between users. For example, in a social network platform, if user A follows user B, there is a directed edge from user A to user B. Users can not only actively obtain and disseminate information through online social networks, but also generate and share relevant content based on their personal preferences.
[0081] The so-called influence maximization problem is described as follows: Suppose a company wants to promote a new product in a social network. Due to its limited budget, they are allowed to select up to k seed users and provide free or discounted samples to the seed users. The company expects these seed users to influence other users to buy the product through the word-of-mouth effect, and ultimately hopes to maximize the total number of users who buy the product. Generally speaking, the word-of-mouth effect refers to seed users recommending products to their friends in the social network, and then these friends recommend the product to their friends, and so on. The ultimate goal of the influence maximization problem is to determine which seed nodes can produce the greatest cascade effect under the given number of seeds, that is, to maximize the number of users who buy the product.
[0082] The problem of maximizing social network influence is a complex and challenging problem involving multiple aspects. The following are the key challenges:
[0083] Challenge 1: Complexity of network structure: Social networks are usually composed of a large number of nodes and edges, and the relationships between nodes are intricate. This makes it difficult to identify the most influential seed nodes, because the position and connection mode in the network have an important impact on the effect of information dissemination.
[0084] Challenge 2: Influence Propagation Model: Influence propagation models describe how information propagates in social networks. Different propagation models may have different applicability for different networks and application scenarios. It is a challenge to select a suitable propagation model to accurately simulate the information propagation process.
[0085] Challenge 3: Algorithmic Efficiency: Due to the large scale of social networks, the problem of maximizing influence is a computationally intensive task. It is challenging to develop efficient algorithms to solve this problem and give feasible solutions in a reasonable time.
[0086] In order to address the above challenges, researchers have conducted a variety of related studies. Kempe and his team proposed a greedy algorithm. Later, Leskovec et al. proposed a function called "Cost-Effective Lazy Forward (CELF)" to estimate the influence objective function of a node based on the submodular property of the objective function of the influence maximization problem. Through experiments, Leskovec et al. verified that the time required to find the optimal solution of the alternative function was nearly 700 times shorter than the time required by Kempe et al. to find the optimal solution. Subsequently, Chen reduced the time overhead of the CELF algorithm under the independent cascade model by limiting the number of influence propagation hops to one hop, thereby increasing the speed of CELF by 34%. Goyal et al. further improved the efficiency of CELF through the CELF++ algorithm.
[0087] In summary, in order to solve the problem of maximizing influence IM, researchers have proposed a series of algorithms, mainly including greedy algorithms, reverse sampling algorithms and heuristic algorithms. The following is a brief introduction to the research progress of these three related algorithms.
[0088] (1) The main idea of the Greedy Algorithm is: first, initialize the seed set to an empty set. Then, perform an iterative step. In each iteration, the algorithm adds the node with the largest marginal benefit to the seed set. The algorithm stops after looping k times. Since the objective function of IM is monotonically increasing and submodular, the greedy algorithm can guarantee a (1−1 / e)-approximate solution. Kempe et al. proposed a method based on Monte Carlo simulation to estimate influence. The advantage of the greedy algorithm is that it has a good theoretical guarantee, but the disadvantage is that it has poor scalability and cannot be directly applied to large-scale social networks.
[0089] (2) Reverse Sample Algorithm: First, randomly select a node and construct a random reverse reachable set (Reverse Reachable Set) starting from this node. Secondly, repeat the above process and construct enough reverse reachable sets. Finally, select the first k nodes that hit the most reverse reachable sets as seed nodes. A node hitting a set indicates that the intersection of the node and the set is not empty. The reverse sampling algorithm avoids redundant calculations and whole-network searches in the seed node selection process, thereby significantly improving the speed compared to the greedy algorithm. However, the difficulty of reverse sampling lies in how to set an appropriate number of reverse reachable sets.
[0090] (3) Heuristic Algorithm is generally constructed based on people's intuitive impressions or past experiences. It provides a feasible solution to the original problem within an acceptable time and space cost. The algorithm performs k iterations, and in each iteration, it selects the most influential node in the current network as the seed node according to a certain heuristic rule. The algorithm stops when k seed nodes are selected. For IM problems, commonly used heuristic rules include the Out Degree algorithm and the Degree Discount algorithm.
[0091] Next, the application scenarios involved in the embodiments of the present invention are introduced.
[0092] In summary, these studies still lack in-depth research and exploration of the influence propagation mechanism of complex social networks. In dynamic social networks, based on the selected influence propagation model, relying on Monte Carlo sampling method to optimize decision-making has problems such as high computational complexity, large response delay, and poor control effect.
[0093] To this end, the present application provides a message control solution that can effectively solve the problem of maximizing the threshold influence of social networks and solve the problems of information dissemination model modeling and information dissemination control strategy.
[0094] The embodiment of the present invention discloses a message control method, see Figure 1 As shown, the method includes:
[0095] Step S11: Construct a multi-information source influence propagation model.
[0096] The traditional influence propagation model currently only describes the propagation mode of a single information source in a social network, and does not consider the situation of multiple information sources. Therefore, in the embodiment of the present application, a model for message propagation for multiple information sources is constructed to describe the influence propagation mode in a real network scenario.
[0097] In the embodiment of the present application, the multi-information source influence propagation model can describe the process of multiple influences (messages) propagating simultaneously in the same social network, and is used to characterize the process of multiple messages propagating simultaneously in the same social network. By formulating the information sending and receiving mechanism, the evaluation index of the node information propagation ability in a competitive environment is revealed according to the defined node status and information propagation rules, filling the gap that the classic single-source model cannot be applied to the multi-source model.
[0098] Step S12: obtaining a directed social network of original size, and performing network splitting on the directed social network to obtain multiple sub-networks.
[0099] It is understandable that, in general, the huge size and capacity of online social networks easily make their processing extremely difficult. Therefore, the distributed idea of "divide and conquer" is adopted in the embodiments of the present application to split the original large-scale directed social network, that is, to split the directed social network into several smaller sub-networks according to certain rules, so that the processing process of the algorithm on the sub-network becomes relatively easy.
[0100] The advantages of network splitting mainly include two aspects: first, it greatly reduces computational complexity. Since subsequent operations occur in small-scale sub-networks rather than the original large-scale network, computational complexity can be reduced; second, it improves algorithm parallelism. Since the split sub-networks are independent of each other, different sub-networks can perform related operations concurrently and synchronously, thereby improving the concurrency of the system and shortening the algorithm execution cycle.
[0101] Step S13: Utilize the multi-information source influence propagation model to concurrently execute the sub-networks to determine a first influence propagation value of each information category corresponding to various sub-nodes in the sub-networks.
[0102] It should be pointed out that based on the problem of maximizing influence, the focus should be on optimizing the threshold influence. , a threshold , k A collection of seeds from different information sources and each node The cost of being selected as a seed node First, the threshold influence optimization problem is defined as follows:
[0103] Given a directed social network and Information Type , among which the former k Kind of information Collection of seeds is known. The goal of the threshold influence problem is to Information finds its minimum cost seed set , so that the influence propagation value of this information satisfy: That is to say, ;in, .
[0104] In the embodiment of the present application, a constructed multi-information source influence propagation model is used to concurrently propagate messages for each sub-network. It can be understood that since the multi-information source influence propagation model can describe the process of multiple influences (messages) being propagated simultaneously in the same social network, and different messages can correspond to different information categories, when the multi-information source influence propagation model is used to concurrently execute each sub-network, the influence propagation value of each information category contained in various sub-nodes in each sub-network can be determined. For example, for a seed node in a sub-network, it can propagate different types of information. When the multi-information source influence propagation model is used to propagate messages for the seed node, the influence propagation value corresponding to each type of information propagated by the seed node can be determined.
[0105] Step S14: Obtain a preset influence threshold assigned to each of the sub-networks, and determine the target seed node corresponding to each of the information categories based on a comparison result between the preset influence threshold and the first influence propagation value, and based on a predefined unit cost marginal benefit calculation rule.
[0106] In the embodiment of the present application, a corresponding influence threshold is assigned to each sub-network to screen the members of the target seed set finally obtained. information sources, and screen several seed nodes in parallel to make the influence propagation value Meet the pre-set threshold .
[0107] To this end, in the embodiment of the present application, a distributed parallel seed screening greedy algorithm is proposed in combination with the sub-network splitting technology. The cost function of the unit cost is defined, the unit cost marginal benefit calculation rule is determined, and the seed screening operation is performed concurrently from each generated sub-network. The algorithm iteratively selects the node with the largest current marginal benefit as a member of the seed set, and finally gives the message control result. Since the algorithm can be executed concurrently in multiple sub-networks, the solution space and solution time of the traditional centralized algorithm are greatly reduced.
[0108] Step S15: generating a target seed node set that maximizes the influence of the directed social network according to the target seed node, so as to utilize the target seed node set to carry out message propagation in the directed social network.
[0109] In the embodiment of the present application, after the target seed nodes are screened out from each sub-network concurrently, the target seed node set of the current directed social network is formed through the target seed nodes, and the set includes all the seed nodes determined according to the sub-network. It can be understood that since the target seed nodes are nodes with greater influence obtained by concurrent screening in each sub-network, the influence of the directed social network can be maximized when the target seed node set is used to propagate messages in the directed social network. In this way, the computing overhead can be effectively reduced, the response time can be reduced, and the message control effect can be improved.
[0110] The present application provides a message control method, including: constructing a multi-information source influence propagation model; obtaining a directed social network of original scale, and splitting the directed social network to obtain multiple sub-networks; using the multi-information source influence propagation model to concurrently execute the sub-networks to determine a first influence propagation value for each information category corresponding to various sub-nodes in the sub-networks; obtaining a preset influence threshold assigned to each of the sub-networks, and determining a target seed node corresponding to each of the information categories based on a comparison result between the preset influence threshold and the first influence propagation value, and based on a predefined unit cost marginal benefit calculation rule; generating a target seed node set that maximizes the influence of the directed social network based on the target seed node, so as to use the target seed node set to propagate messages in the directed social network.
[0111] The beneficial technical effects of the present application are as follows: first, different from the traditional propagation mode based on a single information source in a social network, a multi-information source-oriented influence propagation model is constructed to characterize the influence propagation mode in a real network scenario. Secondly, the original large-scale directed social network can be split into several smaller sub-networks according to certain rules. Since the sub-networks after the split are independent of each other, the multi-information source influence propagation model can be used to concurrently and synchronously execute the sub-networks to determine the influence propagation value of each information category, thereby improving the parallelism of the algorithm and shortening the algorithm execution cycle. In addition, based on the predefined unit cost marginal benefit calculation rules, seed nodes containing multiple information sources can be screened in parallel, and then the target seed nodes corresponding to each information category are determined, overcoming the uncertainty and ineffectiveness of traditional heuristic methods. Moreover, since subsequent operations all occur in small-scale sub-networks rather than the original large-scale network, the computational complexity can be reduced. Finally, the target seed node set that maximizes the influence of the directed social network is generated by the determined target seed node, and the policy output of message control is realized. That is, information is transmitted in the directed social network through the target seed node set to maximize the influence of the directed social network. In summary, the present invention effectively reduces computing overhead and shortens response time, thereby improving message control effects.
[0112] like Figure 2 The figure shows a schematic diagram of the overall framework of a message control module provided in combination with the above steps. It mainly includes three modules: a sub-network splitting module, a multi-source influence propagation model modeling module, and a unit cost-based greedy strategy module. Figure 2 In this paper, the input of the distributed scheme of message control based on multiple sources is a given original social network, and the output is the information control strategy. Among them, the sub-network splitting module is mainly responsible for splitting the original large-scale social network into several smaller sub-networks according to certain rules. The multi-source influence propagation model modeling module is used to construct a multi-information source influence propagation model, which can describe the process of simultaneous propagation of multiple influences (messages) in the same social network. The unit cost-based greedy algorithm module defines the unit cost cost function and concurrently performs seed screening operations from each generated sub-network. The algorithm iteratively selects the node with the largest current marginal benefit as the seed set member, and finally gives the message control result.
[0113] It should be pointed out that the distributed strategy proposed in the present invention can be applied to scenarios such as autonomous driving, multi-agent systems, data center distributed computing networks, and wireless sensor networks. Relevant researchers can use the algorithm of the present invention to understand the basic principles of distributed strategies, evaluation index design and algorithm formulation, so as to better solve similar problems in their fields. Therefore, the present invention is not limited to the scope of social networks, and divergent thinking can be carried out to a certain extent.
[0114] Based on the above embodiment, the classic influence propagation model only describes the propagation mode of a single information source in a social network, and does not consider the situation of multiple information sources. Therefore, this embodiment proposes a model for multi-source message propagation to describe the way influence propagates in a real network scenario. S11 in the above embodiment will be specifically described. Among them, the process of constructing a multi-information source influence propagation model can include the following steps:
[0115] Step 1: Obtain a target directed social network, and determine an initial seed node from various child nodes in the target directed social network; wherein the same seed node in the target directed social network can propagate different types of information.
[0116] In the embodiment of the present application, given a directed social network ,in V Represents the set of all users, that is, the node set; E Represents the complex set of relationships between all users, i.e., the edge set; W represents the information propagation probability set. , Represents information from nodes u Propagate to nodes v probability.
[0117] It should be pointed out that the multi-information source influence propagation model is executed according to discrete time slices. k Seed nodes ,initial t = 0 is the initial seed node. These seed nodes represent the known k Kind of information For different information, seed nodes are allowed to "overlap". That is, the same seed node can spread different types of information.
[0118] Step 2: Use the initial seed node as the current seed node, and based on the current state of the current seed node, use the outgoing edge of the current seed node in the target directed social network to propagate one or more information categories contained in the current seed node to corresponding neighbor nodes to activate the neighbor nodes.
[0119] In the embodiment of the present application, the initial seed node is used as the current seed node to start information propagation. During the propagation process, each seed node Each of them activates their respective inactive neighbor nodes through their respective outgoing edges in the directed social network.
[0120] It should be pointed out that the present invention stipulates that there are three possible states of nodes in the network: one is active state, the second is inactive state and the third is determined state. Among them, the active state is the state when the seed node receives the information of the one or more information categories; the inactive state is the state when the seed node does not receive any information. That is, the active state of the node means that the node receives one or more information. On the contrary, if a node does not receive any information, the node is called inactive.
[0121] In the embodiment of the present application, the determined state is the state when the seed node selects information of any information category and confirms the reception. For example, a user receives a message from his friend about three electronic watches (brand 1 watch, brand 2 watch and brand 3 watch), and then the user decides to buy an electronic watch of one of their brands. At this point, the customer is said to be in a determined state regarding this type of information (influence). It can be seen that the user has a 1 / 3 probability of choosing to buy brand 1 watch, becoming the confirmed state of this type of information; similarly, for brand 2 watch and brand 3 watch, there is a 1 / 3 probability of choosing to buy and becoming its confirmed state.
[0122] It should be noted that at the initial moment, except for the initial seed node in the seed node, all other nodes are inactive. t Moment, a node u Received a collection of one or more messages Then, all its currently inactive neighbor nodes will be in t +1 moment by node u Activate. At this point, the node u by The probability of choosing A type of information in becomes the definite state of that type of information.
[0123] Specifically, determine that the current state of the current seed node is the active state, and based on the active state, use the outgoing edge of the current seed node in the target directed social network to propagate one or more information categories contained in the current seed node to the corresponding neighboring nodes to activate the neighboring nodes, and change the neighboring nodes from the inactive state to the active state.
[0124] Step three: determine the neighbor node as the current seed node, and then jump to the step based on the current state of the current seed node until all the child nodes in the target directed social network are activated, and determine the second influence propagation value of each information category corresponding to the various child nodes in the target directed social network.
[0125] It is worth mentioning that based on the above steps, the node u After being activated, it continues to activate its neighbor nodes as the current seed node, and then spreads all the types of information it receives. t After +1, the node u It no longer affects other nodes. The information propagation process is carried out in discrete time slices until no node can be activated.
[0126] In the embodiment of the present application, since a determined state is set for the network node, it is explained how to use the determined state to further obtain the first influence propagation value of each information category corresponding to various sub-nodes determined by the multi-information source influence propagation model.
[0127] After the method, based on the current state of the current seed node, uses the outgoing edge of the current seed node in the target directed social network to propagate the information of one or more information categories contained in the current seed node to corresponding neighboring nodes to activate the neighboring nodes, it also includes the following steps:
[0128] When the state of the neighboring node is the active state, a first probability value corresponding to the information of each information category when the neighboring node changes to the determined state is obtained.
[0129] by Figure 3 For example, in Figure 3 The working principle of the multi-information source influence propagation model is introduced in the following example. The nodes with serial numbers and nodes without serial numbers in the figure represent the seed nodes and inactive nodes at the initial moment, respectively. x , y , z Indicates the seed node at the initial moment, node a, b, c, d Represents an inactive node. The number embedded in each edge represents the corresponding information propagation probability.
[0130] In the figure, serial numbers ①, ②, ③, and ④ represent four types of information respectively. From this figure, we can see that there are three nodes x , y , z Selected as the initial seed node, and the same seed node can spread multiple information, such as node x and nodes y.initial t = 0 time, node x , y and z As the corresponding seed nodes, they start to spread their own information, and the rest of the nodes are inactive. t = 1, according to the activation principle, all inactive neighbor nodes in the seed set are activated, that is, node { a , c , d} are activated.
[0131] Specifically, the node a Received from node x Information sent And the probability of receiving one of the two is 1 / 2. c Received from node x , y , z Information sent And with a probability of 1 / 4, it is certain to receive information from one of the four. d Receive data from nodes individually z Information sent And confirm the receipt of the information with a probability of 1. t =2 moment, node b Become an active node and receive information sent by node {c, d} , and it will confirm receiving one of the four messages with a probability of 1 / 4. As the information spreads, t =2, no potential nodes can be activated, so the information propagation process ends.
[0132] It can be understood that after determining the probability value corresponding to each information category involved in the propagation process of each seed node, the second probability value corresponding to the same information category can be determined according to the first probability value, and then the second influence propagation value of each information category corresponding to various child nodes can be obtained according to the second probability value. Specifically, until all the child nodes in the target directed social network are activated, statistics are taken for each seed node and the second probability value corresponding to the same information category is determined based on the first probability value; the second influence propagation value of each information category corresponding to various child nodes in the target directed social network is determined according to the second probability value.
[0133] For example, Figure 3 Analyze the influence spread value of each type of information ( i =1, 2, 3, 4). For nodes z Information category for the seed node ,nodec Confirm receipt of information The probability of node d Confirm receipt of information The probability of node b Confirm receipt of information The probability is 1 / 4, so the information category The total influence spread value is Similarly, the information category is , and The influence spread value is , , .
[0134] It can be seen that the constructed multi-information source influence propagation model defines the three states of nodes and the rules and methods of information propagation, and depicts the way of influence propagation in a more realistic network scenario. The multi-information source influence propagation model can describe the process of multiple influences propagating simultaneously in the same social network, formulate the information sending and receiving mechanism, and fill the gap that the classic single-source model cannot be applied to the multi-source model.
[0135] Based on the above embodiment, this embodiment will specifically explain S12 in the above embodiment. Generally speaking, due to the huge scale and capacity of online social networks, it is extremely difficult to process them. Therefore, the distributed idea of "divide and conquer" is adopted to split the original large-scale data set or network into sub-networks. Among them, the process of splitting the directed social network to obtain multiple sub-networks may include the following steps:
[0136] An inter-node gravitational force calculation model is constructed using a preset splitting rule, and the directed social network is split based on the inter-node gravitational force calculation model to obtain a plurality of sub-networks.
[0137] The primary task in the embodiments of the present application is to construct a computational model of the gravitational forces between nodes, the working principle of which is to split the network based on the gravitational forces of nodes. The core idea is that if the gravitational forces between two nodes are similar, the two nodes should be divided into the same sub-network. On the contrary, if the gravitational forces between two nodes are very different, they should be divided into different sub-networks.
[0138] In the embodiment of the present application, the sub-network splitting is performed based on the node information entropy and gravity value, and the algorithm for implementing the sub-network splitting is input as a social network ,parameter The output is the network splitting result. Wherein, determining the first node gravity value between any two seed nodes in the directed social network includes the following steps:
[0139] Step 1: Obtain a first seed node and a second seed node in the directed social network, and calculate the cosine similarity between the first seed node and the second seed node.
[0140] First, obtain any two seed nodes in the directed social network and calculate the cosine similarity between them. The calculation formula of the cosine similarity is:
[0141] ;
[0142] in, For Node i and nodes j It should be noted that each node in the social network is represented by a d -dimensional feature vector. For Node i The characteristic vector of For Node j The characteristic vector of For Node i The modulus of the eigenvector of For Node j The modulus of the eigenvector of .
[0143] Step 2: Calculate the node information entropy of the first seed node and the second seed node respectively, and determine the second node attraction value between the first seed node and the second seed node based on the cosine similarity and the node information entropy.
[0144] After calculating the cosine similarity between any two seed nodes, the node cosine similarity matrix of the social network can be obtained, which can determine the cosine similarity between any two seed nodes. N The social network of nodes can be obtained by using the above cosine similarity calculation formula. N × N The cosine similarity matrix of network nodes:
[0145] ;in, Recorded as node i and nodes j The cosine similarity between .
[0146] Furthermore, the node information entropy of various child nodes in the directed social network is calculated. For the seed node i in the network, its information entropy is calculated by Calculated; among them, For Node i The node information entropy of N represents the total number of nodes in the directed social network, Representation Node i Send to Node j The probability of It can be calculated by the out-degree of the node and the total number of variables in the network, that is, ; Represents a slave node i To Node j The number of edges.
[0147] After determining the cosine similarity between any two nodes and the node information entropy of any node, the node gravity value between any two nodes is calculated. i With Node j The formula for calculating the gravitational force between is:
[0148] ;
[0149] in, For Node i With Node j The node gravity value between , , is a non-negative parameter and ; and Respectively represent nodes i With Node j The information entropy of Representation Node i and nodes j The cosine similarity between .
[0150] Step three: determining a gravitational value matrix of the directed social network based on the second node gravitational value, so as to determine a first node gravitational value between any two nodes in the directed social network according to the gravitational value matrix.
[0151] After calculating the node gravity value between any two seed nodes, the gravity value matrix of the social network can be obtained, which can determine the node gravity value between any two seed nodes:
[0152] ;in, Recorded as node i and nodes j The gravitational force between nodes.
[0153] In an embodiment of the present application, after the gravity value between nodes is calculated using the calculation model of gravity between nodes, the sub-network is divided, that is, the seed nodes are clustered. Specifically, the nodes are clustered by calculating the similarity and gravity between the nodes. The similarity measures the degree of similarity between nodes, and the gravity measures the attraction between nodes. Specifically, an initial label is assigned to each seed node in the directed social network; the initial label is iteratively updated based on the first node gravity value to determine the target label corresponding to each seed node; the various sub-nodes in the directed social network are clustered according to the target label to obtain a clustering result, and multiple sub-networks are determined according to the clustering result.
[0154] First, initialize the clustering labels of the nodes, that is, assign an initial label for clustering to each seed node . Then the initial label is iteratively updated until convergence. The process of iteratively updating cluster labels causes the nodes to be attracted to the clusters where similar nodes are located, thereby forming a subnetwork (cluster) structure. Specifically, the process of iteratively updating the initial label includes: obtaining a third seed node, and determining the fourth seed node corresponding to the maximum gravity value between the first node and the third seed node according to the gravity value of the first node; updating the initial label of the third seed node to the initial label of the fourth seed node, and when the initial labels of various sub-nodes are updated, the target label corresponding to each seed node is obtained.
[0155] According to the gravity matrix above, each element in the matrix represents the gravity value between any two nodes. For example, the first row of the gravity matrix represents the gravity value between node 1 and node 1 to node N. The gravity matrix can be used to determine the seed node with the largest gravity value between each node, and then update the label of the current node to the label of the seed node with the largest gravity value between it and the node. .
[0156] Finally, the clustering (subnetwork division) result is output. That is, nodes with the same label are divided into the same cluster (subnetwork). Specifically, the target label is counted, and the fifth seed node with the same target label is determined; the fifth seed node is divided into the same subnetwork to obtain the corresponding clustering result.
[0157] It can be seen that in the process of splitting the sub-network, firstly, by defining the concepts of node cosine similarity, similarity matrix, node information entropy, gravitational value, etc., a sub-network splitting (or clustering) strategy between nodes is designed, and a series of standardized strategies are adopted in the specific implementation process to ensure the fairness and effectiveness of the similarity calculation method. Secondly, the algorithm splits the original large-scale network into several smaller networks, so that the subsequent processing flow can be executed concurrently, which greatly reduces the computational complexity and significantly shortens the computational time. In summary, the advantages of splitting the original large-scale directed social network into several small-scale sub-networks are: the algorithm logic is simple, the operation is easy, the computational complexity is low, and the near-linear algorithm complexity can be achieved. Compared with other existing sub-network splitting strategies, the algorithm scalability is enhanced by designing reasonable evaluation indicators, so it can be applied to large-scale social networks. In addition, the node importance evaluation index based on information entropy constructed in this embodiment can concurrently screen nodes with greater influence in each sub-network according to the index as the final seed set members.
[0158] Based on the above embodiment, this embodiment will specifically explain S14 in the above embodiment. In the greedy algorithm module based on unit cost, this embodiment proposes a marginal benefit calculation method based on unit cost for the first time, which overcomes the uncertainty and ineffectiveness of traditional heuristic methods. Among them, according to the comparison result between the preset influence threshold and the first influence propagation value, and based on the predefined unit cost marginal benefit calculation rule, the process of determining the target seed node corresponding to each information category may include the following steps:
[0159] Step 1: Determine whether the preset influence threshold is less than or equal to the first influence propagation value;
[0160] Step 2: If the preset influence threshold is less than or equal to the first influence propagation value, determine a sixth seed node corresponding to the first influence propagation value, and determine the sixth seed node as the target seed node;
[0161] Step three: If the preset influence threshold is greater than the first influence propagation value, the target seed node corresponding to each of the information categories is determined based on a predefined unit cost marginal benefit calculation rule.
[0162] For the convenience of description, the above steps are combined for explanation.
[0163] In this embodiment, the main purpose is to generate each sub-network for the k +1 information source, screening several seed nodes in parallel, making the influence propagation value Meet the pre-set threshold Specifically, for the process of determining the target seed node, the corresponding algorithm implementation corresponds to the input of the social network ,parameter The corresponding output is Seed nodes of information sources The corresponding influence spread value .
[0164] It should be pointed out that obtaining social networks After that, initialize the social network And standardize its weight. Then use the sub-network splitting method disclosed in the above embodiment to G Divide into m Subnetwork ,in express G The first subnetwork of Represents a subnetwork The number of nodes included.
[0165] In the embodiment of the present application, for each sub-network , are assigned an influence threshold , which is used to adjust the number of seed screening in each sub-network, is calculated as follows:
[0166] ;in ; N is the total number of nodes.
[0167] Furthermore, for each subnetwork The following operations are performed concurrently:
[0168] 1. Initialize k +1 seed node of information source The empty set and its corresponding influence propagation value is 0;
[0169] 2. Determine the current influence spread value Is it greater than or equal to ; If yes, the algorithm stops and obtains the corresponding target seed node; otherwise, repeat the following steps 3-5;
[0170] 3. It should be pointed out that for a given subnetwork (Assuming that there are m subnetworks), nodes v The marginal benefit per unit cost is:
[0171] ;
[0172] in, For Node v The marginal benefit per unit cost is Represents the seed set Adding Nodes v The subsequent influence spread value, Represents a seed set The influence spread value of Indicates the selection node v The cost required; therefore, the difference between the two is greater than Representation Node v The marginal benefit per unit cost.
[0173] In each sub-network In the example, the node with the largest unit marginal benefit is selected based on the predefined unit cost marginal benefit calculation rules. u As a target seed node:
[0174] ;
[0175] in, u is the eighth seed node, Represents a subnetwork.
[0176] 4. Update the seed collection ;
[0177] 5. Calculation .
[0178] It can be seen that in the greedy algorithm based on unit cost, a marginal benefit calculation method based on unit cost is proposed for the first time, and the seed screening operation is performed concurrently from each generated sub-network. The algorithm iteratively selects the node with the largest marginal benefit as the seed set member, and finally gives the message control result. It overcomes the uncertainty and ineffectiveness of traditional heuristic methods. Since the algorithm can be executed concurrently in multiple sub-networks, the solution space and solution time of the traditional centralized algorithm are greatly reduced.
[0179] Correspondingly, the embodiment of the present application also discloses a message control device, see Figure 4 As shown, the device comprises:
[0180] Model building module 11, used to build a multi-information source influence propagation model;
[0181] A network splitting module 12 is used to obtain a directed social network of original size and perform network splitting on the directed social network to obtain multiple sub-networks;
[0182] An influence propagation value determination module 13, configured to concurrently execute the sub-networks using the multi-information source influence propagation model to determine a first influence propagation value for each information category corresponding to various sub-nodes in the sub-networks;
[0183] The seed node acquisition module 14 is used to obtain a preset influence threshold value assigned to each of the sub-networks, and determine a target seed node corresponding to each of the information categories according to a comparison result between the preset influence threshold value and the first influence propagation value, and based on a predefined unit cost marginal benefit calculation rule;
[0184] The seed node set determination module 15 is used to generate a target seed node set that maximizes the influence of the directed social network based on the target seed node, so as to use the target seed node set to propagate messages in the directed social network.
[0185] Among them, for more specific working processes of the above-mentioned modules, please refer to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.
[0186] It can be seen that the above scheme of this embodiment includes: constructing a multi-information source influence propagation model; obtaining a directed social network of original scale, and splitting the directed social network to obtain multiple sub-networks; using the multi-information source influence propagation model to concurrently execute the sub-networks to determine the first influence propagation value of each information category corresponding to various sub-nodes in the sub-network; obtaining a preset influence threshold assigned to each of the sub-networks, and determining the target seed node corresponding to each of the information categories based on the comparison result between the preset influence threshold and the first influence propagation value, and based on a predefined unit cost marginal benefit calculation rule; generating a target seed node set that maximizes the influence of the directed social network based on the target seed node, so as to use the target seed node set to propagate messages in the directed social network.
[0187] The beneficial technical effects of the present application are as follows: first, different from the traditional propagation mode based on a single information source in a social network, a multi-information source-oriented influence propagation model is constructed to characterize the influence propagation mode in a real network scenario. Secondly, the original large-scale directed social network can be split into several smaller sub-networks according to certain rules. Since the sub-networks after the split are independent of each other, the multi-information source influence propagation model can be used to concurrently and synchronously execute the sub-networks to determine the influence propagation value of each information category, thereby improving the parallelism of the algorithm and shortening the algorithm execution cycle. In addition, based on the predefined unit cost marginal benefit calculation rules, seed nodes containing multiple information sources can be screened in parallel, and then the target seed nodes corresponding to each information category are determined, overcoming the uncertainty and ineffectiveness of traditional heuristic methods. Moreover, since subsequent operations all occur in small-scale sub-networks rather than the original large-scale network, the computational complexity can be reduced. Finally, the target seed node set that maximizes the influence of the directed social network is generated by the determined target seed node, and the policy output of message control is realized. That is, information is transmitted in the directed social network through the target seed node set to maximize the influence of the directed social network. In summary, the present invention effectively reduces computing overhead and shortens response time, thereby improving message control effects.
[0188] In a specific implementation, the model building module 11 includes:
[0189] An initial seed node determination module is used to obtain a target directed social network and determine an initial seed node from various sub-nodes in the target directed social network; wherein the same seed node in the target directed social network can propagate different types of information;
[0190] a node activation module, configured to use the initial seed node as a current seed node, and based on the current state of the current seed node, utilize the outgoing edge of the current seed node in the target directed social network to propagate information of one or more information categories contained in the current seed node to corresponding neighboring nodes to activate the neighboring nodes;
[0191] An influence propagation value determination unit is used to determine the neighbor node as the current seed node, and then jump to the step based on the current state of the current seed node until various child nodes in the target directed social network are activated, and determine the second influence propagation value of each information category corresponding to various child nodes in the target directed social network.
[0192] In a specific implementation, the node activation module is specifically used to:
[0193] Determine that the current state of the current seed node is the active state, and based on the active state, use the outgoing edge of the current seed node in the target directed social network to propagate one or more information categories contained in the current seed node to corresponding neighbor nodes to activate the neighbor nodes, and change the neighbor nodes from the inactive state to the active state.
[0194] In a specific implementation, the model building module 11 further includes:
[0195] A probability value acquisition module, used for acquiring, when the state of the neighbor node is the active state, a first probability value corresponding to each information category of information when the neighbor node changes to the determined state;
[0196] Accordingly, the influence propagation value determination unit is specifically used for:
[0197] Determine the neighbor node as the current seed node, and then jump to the step based on the current state of the current seed node until all the child nodes in the target directed social network are activated, perform statistics on each of the seed nodes and determine a second probability value corresponding to the same information category based on the first probability value;
[0198] The second influence propagation value of each information category corresponding to various sub-nodes in the target directional social network is determined according to the second probability value.
[0199] In a specific implementation, the network splitting module 12 includes:
[0200] The model building module is used to build an inter-node gravity calculation model using a preset splitting rule, and to perform network splitting on the directed social network based on the inter-node gravity calculation model to obtain multiple sub-networks.
[0201] In a specific embodiment, the model building module includes:
[0202] A first node gravity value determination module, used to determine the first node gravity value between any two seed nodes in the directed social network by using the inter-node gravity calculation model;
[0203] A network splitting module is used to split the directed social network according to the first node gravity value to obtain multiple sub-networks.
[0204] In a specific implementation, the first node gravity value determination module includes:
[0205] a cosine similarity calculation unit, configured to obtain a first seed node and a second seed node in the directed social network, and calculate a cosine similarity between the first seed node and the second seed node;
[0206] a second node gravity value calculation unit, configured to calculate the node information entropy of each of the first seed node and the second seed node, and determine the second node gravity value between the first seed node and the second seed node based on the cosine similarity and the node information entropy;
[0207] The first node gravity value calculation unit is used to determine the gravity value matrix of the directed social network based on the second node gravity value, so as to determine the first node gravity value between any two nodes in the directed social network according to the gravity value matrix.
[0208] In a specific implementation, the second node gravity value calculation unit is specifically used to:
[0209] use determining a second node gravity value between the first seed node and the second seed node;
[0210] in, For Node i With Node j The node gravity value between , , is a non-negative parameter and ; and Respectively represent nodes i With Node j The information entropy of Representation Node i and nodes j The cosine similarity between .
[0211] In a specific implementation, the network splitting module includes:
[0212] A label assigning unit, configured to assign an initial label to each seed node in the directed social network;
[0213] A label updating unit, configured to iteratively update the initial label based on the first node gravity value to determine a target label corresponding to each seed node;
[0214] A node clustering unit is used to cluster various sub-nodes in the directed social network according to the target label to obtain a clustering result, and determine a plurality of sub-networks according to the clustering result.
[0215] In a specific implementation, the label updating unit is specifically configured to:
[0216] Acquire a third seed node, and determine, according to the gravity value of the first node, a fourth seed node corresponding to when the gravity value between the first node and the third seed node is the largest;
[0217] The initial label of the third seed node is updated to the initial label of the fourth seed node. When the initial labels of various child nodes are updated, the target label corresponding to each seed node is obtained.
[0218] In a specific implementation, the node clustering unit is specifically used to:
[0219] Counting the target label and determining a fifth seed node having the same target label;
[0220] The fifth seed nodes are divided into the same sub-network to obtain corresponding clustering results.
[0221] In a specific implementation, the seed node acquisition module 14 includes:
[0222] An influence propagation value judgment module, used to judge whether the preset influence threshold is less than or equal to the first influence propagation value;
[0223] A first processing module, configured to determine a sixth seed node corresponding to the first influence propagation value if the preset influence threshold is less than or equal to the first influence propagation value, and determine the sixth seed node as the target seed node;
[0224] The second processing module is used to determine the target seed node corresponding to each of the information categories based on a predefined unit cost marginal benefit calculation rule if the preset influence threshold is greater than the first influence propagation value.
[0225] In a specific implementation, the seed node acquisition module 14 is specifically used to:
[0226] use Determine the marginal benefit per unit cost of the seventh seed node; where, For Node v The marginal benefit per unit cost is Represents the seed set Adding Nodes v The subsequent influence spread value, Represents a seed set The influence spread value of Indicates the selection node v The cost to be incurred;
[0227] use Determine the eighth seed node corresponding to the maximum marginal benefit per unit cost, so as to determine the target seed node corresponding to each information category according to the eighth seed node; wherein u is the eighth seed node, C i Represents a subnetwork.
[0228] Furthermore, the present application also discloses an electronic device. Figure 5 This is a structural diagram of an electronic device 20 according to an exemplary embodiment, and the content in the diagram cannot be regarded as any limitation on the scope of use of the present application.
[0229] Figure 5 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the message control method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be a computer.
[0230] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0231] In addition, the memory 22 as a carrier for resource storage may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon may include an operating system 221, a computer program 222 and data 223, etc. The data 223 may include various data. The storage method may be temporary storage or permanent storage.
[0232] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, and may be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program that can be used to complete the message control method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 may further include computer programs that can be used to complete other specific tasks.
[0233] Furthermore, the embodiment of the present application also discloses a computer-readable storage medium, wherein the computer-readable storage medium mentioned here includes a random access memory (Random Access Memory, RAM), a memory, a read-only memory (Read-Only Memory, ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a magnetic disk or an optical disk, or any other form of storage medium known in the technical field. Wherein, when the computer program is executed by the processor, the aforementioned message control method is implemented. For the specific steps of the method, reference can be made to the corresponding contents disclosed in the aforementioned embodiment, which will not be repeated here.
[0234] Furthermore, an embodiment of the present application also provides a computer program product, including a computer program / instruction, which implements any one of the above-mentioned message control methods when executed by a processor.
[0235] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0236] The steps of the message control method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0237] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0238] The above is a detailed introduction to a message control method, device, equipment, program product and medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A message control method, It is characterized in that include: Constructing a multi-information source influence propagation model; wherein the multi-information source influence propagation model is a model for message propagation oriented to multiple information sources, describing the process of simultaneous propagation of multiple influences in the same social network; Acquire a directed social network of original size, and perform network splitting on the directed social network to obtain multiple sub-networks; Concurrently executing the sub-networks using the multi-information source influence propagation model to determine a first influence propagation value for each information category corresponding to various sub-nodes in the sub-networks; Obtaining a preset influence threshold value assigned to each of the sub-networks, and determining a target seed node corresponding to each of the information categories according to a comparison result between the preset influence threshold value and the first influence propagation value, and based on a predefined unit cost marginal benefit calculation rule; Generate a target seed node set that maximizes the influence of the directed social network according to the target seed node, so as to use the target seed node set to propagate messages in the directed social network; The determining of the target seed node corresponding to each of the information categories according to the comparison result between the preset influence threshold and the first influence propagation value and based on a predefined unit cost marginal benefit calculation rule includes: Determine whether the preset influence threshold is less than or equal to the first influence propagation value; If the preset influence threshold is less than or equal to the first influence propagation value, determining a sixth seed node corresponding to the first influence propagation value, and determining the sixth seed node as the target seed node; If the preset influence threshold is greater than the first influence propagation value, determining the target seed node corresponding to each of the information categories based on a predefined unit cost marginal benefit calculation rule; The seed screening operation is concurrently performed from each generated sub-network based on the predefined unit cost marginal benefit calculation rule, and the node with the maximum current marginal benefit is iteratively screened as a seed set member to determine the target seed node corresponding to each of the information categories.
2. The message control method according to claim 1, It is characterized in that The construction of a multi-information source influence propagation model includes: Acquire a target directed social network, and determine an initial seed node from various child nodes in the target directed social network; wherein the same seed node in the target directed social network can propagate different types of information; The initial seed node is used as a current seed node, and based on the current state of the current seed node, the outgoing edge of the current seed node in the target directed social network is used to propagate information of one or more information categories contained in the current seed node to corresponding neighbor nodes to activate the neighbor nodes; The neighbor node is determined as the current seed node, and then the step based on the current state of the current seed node is jumped to until various child nodes in the target directed social network are activated, and the second influence propagation value of each information category corresponding to various child nodes in the target directed social network is determined.
3. The message control method according to claim 2, It is characterized in that The states of the seed nodes in the target directed social network include: an active state, an inactive state and a determined state; wherein the active state is the state when the seed node receives information of one or more information categories; the inactive state is the state when the seed node does not receive any information; and the determined state is the state when the seed node selects information of any information category and confirms receipt.
4. The message control method according to claim 3, It is characterized in that The method of propagating one or more information categories of information contained in the current seed node to corresponding neighbor nodes based on the current state of the current seed node and utilizing the outgoing edge of the current seed node in the target directed social network to activate the neighbor nodes includes: Determine that the current state of the current seed node is the active state, and based on the active state, use the outgoing edge of the current seed node in the target directed social network to propagate one or more information categories contained in the current seed node to corresponding neighbor nodes to activate the neighbor nodes, and change the neighbor nodes from the inactive state to the active state.
5. The message control method according to claim 4, It is characterized in that After the method, based on the current state of the current seed node, uses the outgoing edge of the current seed node in the target directed social network to propagate the information of one or more information categories contained in the current seed node to corresponding neighboring nodes to activate the neighboring nodes, it also includes: When the state of the neighboring node is the active state, obtaining a first probability value corresponding to each information category of information when the neighboring node changes to the determined state; Accordingly, the neighbor node is determined as the current seed node, and then the step based on the current state of the current seed node is jumped to, until all the child nodes in the target directed social network are activated, and the second influence propagation value of each information category corresponding to the various child nodes in the target directed social network is determined, including: Determine the neighbor node as the current seed node, and then jump to the step based on the current state of the current seed node until all the child nodes in the target directed social network are activated, perform statistics on each of the seed nodes and determine a second probability value corresponding to the same information category based on the first probability value; The second influence propagation value of each information category corresponding to various sub-nodes in the target directional social network is determined according to the second probability value.
6. The message control method according to claim 1, It is characterized in that The directed social network is split to obtain a plurality of sub-networks, including: An inter-node gravitational force calculation model is constructed using a preset splitting rule, and the directed social network is split based on the inter-node gravitational force calculation model to obtain a plurality of sub-networks.
7. The message control method according to claim 6, It is characterized in that The directed social network is split based on the inter-node gravitational force calculation model to obtain multiple sub-networks, including: Determine the first node gravity value between any two seed nodes in the directed social network by using the inter-node gravity calculation model; The directed social network is split according to the first node gravity value to obtain a plurality of sub-networks.
8. The message control method according to claim 7, It is characterized in that The determining of the first node attraction value between any two seed nodes in the directed social network includes: Obtaining a first seed node and a second seed node in the directed social network, and calculating a cosine similarity between the first seed node and the second seed node; Calculating the node information entropy of the first seed node and the second seed node respectively, and determining the second node attraction value between the first seed node and the second seed node based on the cosine similarity and the node information entropy; A gravitational value matrix of the directed social network is determined based on the second node gravitational value, so as to determine a first node gravitational value between any two nodes in the directed social network according to the gravitational value matrix.
9. The message control method according to claim 8, It is characterized in that The calculation formula of the cosine similarity is: ; in, For Node i and nodes j The cosine similarity between For Node i The characteristic vector of For Node j The characteristic vector of For Node i The modulus of the eigenvector of For Node j The modulus of the eigenvector of .
10. The message control method according to claim 8, It is characterized in that The calculation formula of the node information entropy is: ; in, For Node i The node information entropy is N represents the total number of nodes in the directed social network, Representation Node i Send to Node j The probability of ; Represents a slave node i To Node j The number of edges.
11. The message control method according to claim 8, It is characterized in that The determining the second node attraction value between the first seed node and the second seed node based on the cosine similarity and the node information entropy includes: use determining a second node gravity value between the first seed node and the second seed node; in, For Node i With Node j The node gravity value between , , is a non-negative parameter and ; and Respectively represent nodes i With Node j The information entropy of Representation Node i and nodes j The cosine similarity between .
12. The message control method according to claim 7, It is characterized in that The step of splitting the directed social network according to the first node gravity value to obtain a plurality of sub-networks includes: Assigning an initial label to each seed node in the directed social network; Iteratively updating the initial label based on the first node gravity value to determine the target label corresponding to each seed node; The various sub-nodes in the directed social network are clustered according to the target label to obtain a clustering result, and a plurality of sub-networks are determined according to the clustering result.
13. The message control method according to claim 12, It is characterized in that The iterative updating of the initial label based on the first node gravity value to determine the target label corresponding to each seed node includes: Acquire a third seed node, and determine, according to the gravity value of the first node, a fourth seed node corresponding to when the gravity value between the first node and the third seed node is the largest; The initial label of the third seed node is updated to the initial label of the fourth seed node. When the initial labels of various child nodes are updated, the target label corresponding to each seed node is obtained.
14. The message control method according to claim 12, It is characterized in that The clustering of various sub-nodes in the directed social network according to the target label to obtain a clustering result includes: Counting the target label and determining a fifth seed node having the same target label; The fifth seed nodes are divided into the same sub-network to obtain corresponding clustering results.
15. The message control method according to any one of claims 1 to 14, It is characterized in that The determining of the target seed node corresponding to each of the information categories based on the predefined unit cost marginal benefit calculation rule includes: use Determine the marginal benefit per unit cost of the seventh seed node; where, For Node v The marginal benefit per unit cost is Represents the seed set Adding Nodes v The subsequent influence spread value, Represents a seed set The influence spread value of Indicates the selection node v The cost to be incurred; use Determine the eighth seed node corresponding to the maximum marginal benefit per unit cost, so as to determine the target seed node corresponding to each information category according to the eighth seed node; wherein u is the eighth seed node, C i Represents a subnetwork.
16. A message control device, It is characterized in that include: A model building module is used to build a multi-information source influence propagation model; wherein the multi-information source influence propagation model is a model for message propagation oriented to multiple information sources, describing the process of simultaneous propagation of multiple influences in the same social network; A network splitting module, used for obtaining a directed social network of original scale and performing network splitting on the directed social network to obtain multiple sub-networks; An influence propagation value determination module, configured to concurrently execute the sub-networks using the multi-information source influence propagation model to determine a first influence propagation value for each information category corresponding to various sub-nodes in the sub-networks; A seed node acquisition module, used to obtain a preset influence threshold value assigned to each of the sub-networks, and determine a target seed node corresponding to each of the information categories according to a comparison result between the preset influence threshold value and the first influence propagation value, and based on a predefined unit cost marginal benefit calculation rule; A seed node set determination module, configured to generate a target seed node set that maximizes the influence of the directed social network based on the target seed node, so as to use the target seed node set to propagate messages in the directed social network; The seed node acquisition module includes: An influence propagation value judgment module, used to judge whether the preset influence threshold is less than or equal to the first influence propagation value; A first processing module, configured to determine a sixth seed node corresponding to the first influence propagation value if the preset influence threshold is less than or equal to the first influence propagation value, and determine the sixth seed node as the target seed node; A second processing module, configured to determine a target seed node corresponding to each of the information categories based on a predefined unit cost marginal benefit calculation rule if the preset influence threshold is greater than the first influence propagation value; The seed screening operation is concurrently performed from each generated sub-network based on the predefined unit cost marginal benefit calculation rule, and the node with the maximum current marginal benefit is iteratively screened as a seed set member to determine the target seed node corresponding to each of the information categories.
17. An electronic device, It is characterized in that include: Memory for storing computer programs; A processor, configured to load and execute the computer program to implement the message control method according to any one of claims 1 to 15.
18. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instructions are executed by a processor, the steps of the message control method according to any one of claims 1 to 15 are implemented.
19. A computer-readable storage medium, It is characterized in that Used to store computer programs; wherein the computer programs, when executed by a processor, implement the message control method according to any one of claims 1 to 15.
Citation Information
Patent Citations
Method and device for node query based on maximum influence
CN104331484A
Dynamic social network-oriented influence maximization analysis method
CN108510115A
Product influence processing method and system, storage medium and electronic equipment
CN115423516A
Influence maximization method based on rejection neighborhood
CN117978661A
Message propagation method, and server and computer storage medium
WO2017206566A1
