SEARCH METHOD AND SYSTEM BASED ON FORBIDDEN NODE AWARENESS
20230229715 · 2023-07-20
Inventors
Cpc classification
International classification
Abstract
The disclosure proposes a search method and system based on forbidden node awareness, comprising: Get a social network consisting of multiple nodes and their interactions. Assign weights to nodes and the interaction between nodes in the social network according to the method of calculating the authority value of web pages. With the preset forbidden node sensitivity threshold, the nodes whose weights are less than the threshold are removed from the social network. The remaining nodes are arranged in descending order according to their weights. Starting from an empty community, nodes are added into the community one by one in descending order of their weights, and the corresponding weighted conductance is calculated every time the node is added. The community corresponding to the moment with the least weighted conductance is the final result of community search, which can help people find more accurate community results when there are forbidden nodes.
Claims
1. A search method based on forbidden node awareness, comprising: get a social network consisting of multiple nodes and their interactions; assign weights to nodes and the interaction between nodes in the social network according to the method of calculating the authority value of web pages; with the preset forbidden node sensitivity threshold, the nodes whose weights are less than the threshold are removed from the social network; the remaining nodes are arranged in descending order according to their weights; starting from an empty community, nodes are added into the community one by one in descending order of their weights, and the corresponding weighted conductance is calculated every time the node is added; the community corresponding to the moment with the least weighted conductance is the final result of community search.
2. The method of claim 1, wherein the weights assigned to nodes and the interaction between nodes in the social network according to the method of calculating the authority value of web pages represent the remoteness degree of the nodes and the interaction between nodes to preset black nodes.
3. The method of claim 2, wherein the step that assign weights to nodes and the interaction between nodes in the social network according to the method of calculating the authority value of web pages includes the following steps: the average probability of interaction with each adjacent node is calculated according to the number of adjacent nodes of each node; according to the nodes that must be included in the community, which are called required nodes, the closeness degrees of all nodes in the network to required nodes are obtained by the method of calculating the authority value of web pages; according to the nodes that are not allowed to appear in the community, which are called forbidden nodes, the closeness degrees of all nodes in the network to the forbidden nodes are obtained by the method of calculating the authority value of web pages; the final remoteness degree of each node to the forbidden nodes is normalized so that its value falls between 0 and 1. After setting the remoteness degree of each required node to 1 and setting the remoteness degree of each forbidden node to 0, calculate the final remoteness degree of the remaining nodes; calculate the remoteness degree between the interactions of nodes and the forbidden nodes.
4. The method of claim 2, wherein the step that starting from an empty community, nodes are added into the community one by one in descending order of their weights, and the corresponding weighted conductance is calculated every time the node is added includes the following steps: after ranking all nodes in the network, which represent social network users, according to their remoteness degrees to the forbidden nodes in descending order, put them into an empty community one by one; every time a node is put into the community, preserve the temporary community result and calculate its weighted conductance.
5. A search system based on forbidden node awareness, comprising: acquisition module, which gets a social network consisting of multiple nodes and their interactions; first computing module, which assigns weights to nodes and the interaction between nodes in the social network according to the method of calculating the authority value of web pages; first processing module, in which with the preset forbidden node sensitivity threshold, the nodes whose weights are less than the threshold are removed from the social network; second processing module, in which the remaining nodes are arranged in descending order according to their weights; second computing module, in which starting from an empty community, nodes are added into the community one by one in descending order of their weights, and the corresponding weighted conductance is calculated every time the node is added; output module, in which the community corresponding to the moment with the least weighted conductance is the final result of community search.
6. The system of claim 5, wherein the first computing module, the weights assigned to nodes and the interaction between nodes in the social network according to the method of calculating the authority value of web pages represent the remoteness degree of the nodes and the interaction between nodes to preset black nodes.
7. The system of claim 6, wherein the first computing module includes the following parts: first computing submodule, in which the average probability of interaction with each adjacent node is calculated according to the number of adjacent nodes of each node; first acquisition submodule, where according to the nodes that must be included in the community, which are called required nodes, the closeness degrees of all nodes in the network to required nodes are obtained by the method of calculating the authority value of web pages; second acquisition submodule, where according to the nodes that are not allowed to appear in the community, which are called forbidden nodes, the closeness degrees of all nodes in the network to the forbidden nodes are obtained by the method of calculating the authority value of web pages; first processing submodule, in which the final remoteness degree of each node to the forbidden nodes is normalized so that its value falls between 0 and 1. After setting the remoteness degree of each required node to 1 and setting the remoteness degree of each forbidden node to 0, calculate the final remoteness degree of the remaining nodes; second processing submodule, which calculates the remoteness degree between the interactions of nodes and the forbidden nodes.
8. The system of claim 5, the second computing module includes the following parts: adding submodule, in which after ranking all nodes in the network, which represent social network users, according to their remoteness degrees to the forbidden nodes in descending order, put them into an empty community one by one; second computing submodule, in which every time a node is put into the community, preserve the temporary community result and calculate its weighted conductance.
Description
BRIEF DESCRIPTION OF FIGURES
[0013] The accompanying drawings, which form a part of the specification, describe embodiments of the present disclosure and together with the description serve to explain the principles of the present disclosure.
[0014] The present disclosure will be more clearly understood from the following detailed description, with reference to the accompanying drawings, in which:
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
DETAILED DESCRIPTION
[0022] While various aspects and embodiments have been disclosed herein, other aspects and embodiments will be apparent to those skilled in the art. The various aspects and embodiments disclosed herein are for purposes of illustration and are not intended to be limiting, with the true scope and spirit being indicated by the following claims.
[0023] The disclosure proposes a search method based on forbidden node awareness, including the following steps: get a social network consisting of multiple nodes and their interactions;
[0024] assign weights to nodes and the interaction between nodes in the social network according to the method of calculating the authority value of web pages; with the preset forbidden node sensitivity threshold, the nodes whose weights are less than the threshold are removed from the social network; the remaining nodes are arranged in descending order according to their weights; starting from an empty community, nodes are added into the community one by one in descending order of their weights, and the corresponding weighted conductance is calculated every time the node is added; the community corresponding to the moment with the least weighted conductance is the final result of community search.
[0025] For details, see
[0026] See
S25. Normalize the remoteness degrees between each user and the blacklisted users, so that their value is between 0 and 1. By default, the value of users that must be included in the community is set to 1, and that of blacklisted users is set to 0. The value of remaining users are) calculated according to the following formula, denoted as W(v):
S26. Calculate the remoteness degree between the interactions of users and the blacklisted users. The calculation formula is shown as follows, where W(u,v) represents the remoteness degree of the interaction, u,v represent the two interacted users, degree(u) and degree(v) indicates the number of users interacting with user u and user v:
[0027] See
[0028] See
[0029] See
[0030] Further, the weights assigned to nodes and the interaction between nodes in the social network according to the method of calculating the authority value of web pages represent the remoteness degree of the nodes and the interaction between nodes to preset black nodes.
[0031] Further, the step that assign weights to nodes and the interaction between nodes in the social network according to the method of calculating the authority value of web pages includes the following steps: the average probability of interaction with each adjacent node is calculated according to the number of adjacent nodes of each node; according to the nodes that must be included in the community, which are called required nodes, the closeness degrees of all nodes in the network to required nodes are obtained by the method of calculating the authority value of web pages; according to the nodes that are not allowed to appear in the community, which are called forbidden nodes, the closeness degrees of all nodes in the network to the forbidden nodes are obtained by the method of calculating the authority value of web pages; the final remoteness degree of each node to the forbidden nodes is normalized so that its value falls between 0 and 1. After setting the remoteness degree of each required node to 1 and setting the remoteness degree of each forbidden node to 0, calculate the final remoteness degree of the remaining nodes; calculate the remoteness degree between the interactions of nodes and the forbidden nodes.
[0032] Further, the step that starting from an empty community, nodes are added into the community one by one in descending order of their weights, and the corresponding weighted conductance is calculated every time the node is added includes the following steps: after ranking all nodes in the network, which represent social network users, according to their remoteness degrees to the forbidden nodes in descending order, put them into an empty community one by one; every time a node is put into the community, preserve the temporary community result and calculate its weighted conductance.
[0033] On the other hand, the present disclosure proposes a search system based on forbidden node awareness, including the following parts: acquisition module, which gets a social network consisting of multiple nodes and their interactions; first computing module, which assigns weights to nodes and the interaction between nodes in the social network according to the method of calculating the authority value of web pages.
[0034] first processing module, in which with the preset forbidden node sensitivity threshold, the nodes whose weights are less than the threshold are removed from the social network.
[0035] second processing module, in which the remaining nodes are arranged in descending order according to their weights; second computing module, in which starting from an empty community, nodes are added into the community one by one in descending order of their weights, and the corresponding weighted conductance is calculated every time the node is added; output module, in which the community corresponding to the moment with the least weighted conductance is the final result of community search.
[0036] Further, in first computing module, the weights assigned to nodes and the interaction between nodes in the social network according to the method of calculating the authority value of web pages represent the remoteness degree of the nodes and the interaction between nodes to preset black nodes.
[0037] Further, the first computing module includes the following parts: first computing submodule, in which the average probability of interaction with each adjacent node is calculated according to the number of adjacent nodes of each node; first acquisition submodule, where according to the nodes that must be included in the community, which are called required nodes, the closeness degrees of all nodes in the network to required nodes are obtained by the method of calculating the authority value of web pages; second acquisition submodule, where according to the nodes that are not allowed to appear in the community, which are called forbidden nodes, the closeness degrees of all nodes in the network to the forbidden nodes are obtained by the method of calculating the authority value of web pages; first processing submodule, in which the final remoteness degree of each node to the forbidden nodes is normalized so that its value falls between 0 and 1. After setting the remoteness degree of each required node to 1 and setting the remoteness degree of each forbidden node to 0, calculate the final remoteness degree of the remaining nodes; second processing submodule, which calculates the remoteness degree between the interactions of nodes and the forbidden nodes.
[0038] Further, the second computing module includes the following parts: adding submodule, in which after ranking all nodes in the network, which represent social network users, according to their remoteness degrees to the forbidden nodes in descending order, put them into an empty community one by one; second computing submodule, in which every time a node is put into the community, preserve the temporary community result and calculate its weighted conductance.
[0039] The disclosure introduces new requirements into the community search problem, so that users can introduce forbidden nodes in the process of community search to prevent unwanted people or things in the community results, such as blacklisted users or unliked things. The disclosure can help people find more accurate community results when there are forbidden nodes.
[0040] For those skilled in the art, Obviously, the embodiments of the present disclosure are not limited to the details of the exemplary embodiments described above, Moreover, without departing from the spirit or essential characteristics of the embodiments of the present disclosure, Embodiments of the present disclosure can thus be implemented in other specific forms, No matter from which point, The examples are to be considered exemplary, And is not limiting, The scope of embodiments of the present disclosure is defined by the appended claims rather than by the foregoing description, It is therefore intended that all changes falling within the meaning and scope of the equivalents of the claims be embraced within the embodiments of the present disclosure and that any reference numerals in the claims not be construed as limiting the claims concerned; in addition, Obviously, the word “comprising” does not exclude other elements or steps, the singular does not exclude multiple elements, modules, or devices recited in the plural system, device, or terminal claims, and the terms first, second, or the like may also be implemented by the same element, module, or device in software or hardware to denote names, rather than any particular order.