[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112788121B - Method and system for calculating global reputation value in internet node and related product - Google Patents

Method and system for calculating global reputation value in internet node and related product Download PDF

Info

Publication number
CN112788121B
CN112788121B CN202011627526.4A CN202011627526A CN112788121B CN 112788121 B CN112788121 B CN 112788121B CN 202011627526 A CN202011627526 A CN 202011627526A CN 112788121 B CN112788121 B CN 112788121B
Authority
CN
China
Prior art keywords
internet node
trust
node
internet
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011627526.4A
Other languages
Chinese (zh)
Other versions
CN112788121A (en
Inventor
魏明
阮安邦
陈凯
陈旭明
翟东雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Octa Innovations Information Technology Co Ltd
Original Assignee
Beijing Octa Innovations Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Octa Innovations Information Technology Co Ltd filed Critical Beijing Octa Innovations Information Technology Co Ltd
Priority to CN202011627526.4A priority Critical patent/CN112788121B/en
Publication of CN112788121A publication Critical patent/CN112788121A/en
Application granted granted Critical
Publication of CN112788121B publication Critical patent/CN112788121B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a method and a device for calculating a global credit value in an internet node and a related product, wherein the method comprises the following steps: and calculating the global reputation value of the first internet node according to a local trust authentication value of a second internet node on the trust transfer path to the first internet node. According to the method, the credibility of one internet node is calculated from the perspective of the whole internet system, so that the global credibility of the internet node is determined, the calculation process for determining the global credibility of the internet node is simplified, and the effective authentication of the block chain nodes is realized.

Description

Method and system for calculating global reputation value in internet node and related product
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for calculating a global reputation value in an internet node, and a related product.
Background
The blockchain system (essentially a big data system) is an integrated application mode of technologies such as a distributed data storage system, point-to-point transmission, a consensus mechanism and an encryption algorithm, and can realize trust and value transfer which cannot be realized by the traditional internet on the internet. The blockchain system comprises a plurality of blockchain nodes, and because the blockchain system is a decentralized system, if the blockchain system is ensured to operate efficiently and safely, the blockchain nodes (essentially internet nodes) must be authenticated, and the blockchain nodes can better participate in the operation of the system only by authenticating that the overall credibility of the blockchain nodes in the blockchain system is good. Therefore, how to determine the global reputation of the blockchain node in the blockchain system becomes an urgent technology to be solved.
Disclosure of Invention
Based on the above problems, the embodiments of the present application provide a method and an apparatus for calculating a global reputation value in an internet node, and a related product.
In a first aspect, an embodiment of the present application provides a method for calculating a global reputation value in an internet node, including:
determining a first internet node for which the global reputation value is to be calculated and a trusted delivery path that can reach the first internet node;
and calculating the global reputation value of the first internet node according to the local trust authentication value of the second internet node on the trust transfer path to the first internet node.
Optionally, in an embodiment of the present application, the calculating the global reputation value of the first internet node according to a local trust authentication value of the first internet node by a second internet node on the trust delivery path previously includes:
screening the determined trust transfer path which can reach the first internet node to obtain a screened trust transfer path set;
the calculating the global reputation value of the first internet node according to a local trust authentication value of a second internet node on the trust transfer path to the first internet node comprises: and calculating the global reputation value of the first internet node according to the local trust authentication value of the second internet node on all the trust transfer paths in the trust transfer path set to the first internet node.
Optionally, in an embodiment of the present application, the screening the determined trust delivery path that can reach the first internet node to obtain a screened trust delivery path set includes: and screening the determined trust transfer path which can reach the first internet node according to the node similarity threshold value to obtain a screened trust transfer path set.
Optionally, in an embodiment of the present application, the screening, according to a node similarity threshold, the determined trust transfer path that can reach the first internet node to obtain a screened trust transfer path set includes: calculating the node similarity of a second internet node on each trust transfer path which can reach the first internet node; and removing the trust transfer paths with the node similarity smaller than the node similarity threshold, and only reserving the trust paths with the node similarity not smaller than the node similarity threshold to form a trust transfer path set.
Based on the first aspect of the present application, a method for calculating a global reputation value in an internet node is also provided in an embodiment of the present application, where the method includes:
a first program element for determining a first internet node for which the global reputation value is to be calculated, and a trusted delivery path to which the first internet node is reachable;
and the second program unit is used for calculating the global reputation value of the first internet node according to the local trust authentication value of the second internet node on the trust transfer path to the first internet node.
Optionally, in an embodiment of the present application, the global reputation value calculating apparatus in the internet node further includes: a path screening unit, configured to calculate the global reputation value of the first internet node according to a local trust authentication value of a second internet node on the trust transfer path to the first internet node, before performing the following steps:
screening the determined trust transfer path which can reach the first internet node to obtain a screened trust transfer path set;
the second program element is further configured to calculate the global reputation value of the first internet node based on a local trust authentication value of a second internet node to the first internet node on all the trust delivery paths in the set of trust delivery paths.
Optionally, in an embodiment of the present application, the path screening unit is further configured to screen the determined trust delivery path that can reach the first internet node according to a node similarity threshold, so as to obtain a set of screened trust delivery paths.
An embodiment of the present application further provides a block chain system, including: the system comprises a plurality of block chain nodes, wherein each block chain node is provided with a global credit value calculation device in an internet node, and the global credit value calculation device in the internet node comprises:
a first program element for determining a first internet node for which the global reputation value is to be calculated, and a trusted delivery path to which the first internet node is reachable;
and the second program unit is used for calculating the global reputation value of the first internet node according to the local trust authentication value of the second internet node on the trust transfer path to the first internet node.
An embodiment of the present application further provides an electronic device, including: a memory having computer-executable instructions stored thereon and a processor for executing the computer-executable instructions to perform the steps of:
determining a first internet node for which the global reputation value is to be calculated and a trusted delivery path that can reach the first internet node;
and calculating the global reputation value of the first internet node according to the local trust authentication value of the second internet node on the trust transfer path to the first internet node.
An embodiment of the present application further provides a computer storage medium, where computer-executable instructions are stored on the computer storage medium, and when executed, the computer-executable instructions implement the following steps:
determining a first internet node for which the global reputation value is to be calculated and a trusted delivery path that can reach the first internet node;
and calculating the global reputation value of the first internet node according to the local trust authentication value of the second internet node on the trust transfer path to the first internet node.
The application discloses a method and a device for calculating a global credit value in an internet node and a related product, wherein the method comprises the following steps: and calculating the global reputation value of the first internet node according to a local trust authentication value of a second internet node on the trust transfer path to the first internet node. According to the method, the credibility of one internet node is calculated from the perspective of the whole internet system, so that the global credibility of the internet node is determined, the calculation process for determining the global credibility of the internet node is simplified, and the effective authentication of the block chain nodes is realized.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the description below are only some embodiments of the present application, and for those skilled in the art, other drawings may be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart of a method for calculating a global reputation value in an internet node according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an apparatus for calculating a global reputation value in an internet node according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a block chain system according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
It is not necessary for any particular embodiment of the invention to achieve all of the above advantages at the same time.
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment,
The embodiment discloses a method for calculating a global reputation value in an internet node, as shown in fig. 1, fig. 1 is a flowchart for calculating a global reputation value in an internet node provided in the embodiment of the present application, and the method for calculating a global reputation value in an internet node includes:
s101, determining a first Internet node for calculating a global reputation value and a trust transfer path which can reach the first Internet node;
s102, calculating a global credit value of the first internet node according to a local trust authentication value of the second internet node on the trust transfer path to the first internet node.
In this embodiment, a plurality of internet nodes form an internet system, the global reputation value calculated by the above technical solution calculates the trustworthiness of one internet node from the perspective of the entire internet system, and relatively, the local trust line authentication value refers to the trust authentication degree of a certain internet node by a plurality of internet nodes in the internet system. Specifically, the plurality of internet nodes may form an authentication domain, and when performing trust authentication on a certain internet node, the plurality of internet nodes may be determined based on a direct neighbor relationship or an indirect neighbor relationship.
Specifically, the internet system is, for example, a blockchain system, and the blockchain system is, for example, a federation chain, a private chain, or a public chain; and the block chain link point can be a block chain light node or a block chain full node. The block chain whole node is a node which possesses all transaction data of the whole network, and the block chain light node is a node which only possesses the transaction data related to the light node.
Optionally, in an implementation manner of this embodiment, in step S102: calculating a global reputation value of a first internet node according to a local trust authentication value of a second internet node on a trust transfer path to the first internet node, wherein the global reputation value comprises the following steps:
screening the determined trust transfer path which can reach the first internet node to obtain a screened trust transfer path set;
the calculating the global reputation value of the first internet node according to a local trust authentication value of a second internet node on the trust transfer path to the first internet node comprises: and calculating the global reputation value of the first internet node according to the local trust authentication value of the second internet node on all the trust transfer paths in the trust transfer path set to the first internet node.
In an actual application scenario of this embodiment, some malicious nodes or also called masquerading nodes are added to the internet system, and due to the openness of the internet system, these malicious nodes or masquerading nodes may also have a high local trust authentication value, but actually, the local trust authentication value is not reliable. Therefore, in this embodiment, the determined trust transfer path that can reach the first internet node may be screened, so that the trust transfer path that includes the internet node (malicious node or disguised node) with the potential safety hazard may be filtered, or the trust transfer path that includes the internet node (malicious node or disguised node) with the potential safety hazard may not be activated and participate in the technical process of the present application.
Optionally, in an implementation manner of this embodiment, the screening the determined trust delivery path that can reach the first internet node to obtain a screened trust delivery path set includes: and screening the determined trust transfer path which can reach the first internet node according to the node similarity threshold value to obtain a screened trust transfer path set.
Optionally, in an implementation manner of this embodiment, the screening, according to the node similarity threshold, the determined trust transfer path that can reach the first internet node to obtain a screened trust transfer path set includes: calculating the node similarity of a second internet node on each trust transfer path which can reach the first internet node; and removing the trust transfer path with the node similarity smaller than the threshold of the node similarity, and only reserving the trust paths with the node similarities not smaller than the threshold of the node similarity to form a trust transfer path set.
In this embodiment, as long as a second internet node whose node similarity is smaller than the node similarity threshold exists on a certain trusted transfer path, it indicates that there is an internet node (caused by a malicious node or a masquerading node) with a potential safety hazard on the trusted transfer path, otherwise, it indicates that there is no internet node (caused by a malicious node or a masquerading node) with a potential safety hazard on the trusted transfer path, that is, both of them are good nodes.
Specifically, in this embodiment, a pair of good nodes (internet nodes without potential safety hazard) gives similar trust feedback to other nodes that have transacted together; the pair of internet nodes with potential safety hazards gives similar trust feedback to other commonly traded good nodes; and a good node and an internet node with potential safety hazard give very dissimilar trust feedback to other nodes which have transacted together. Thus, the node similarity between two nodes is defined by trust feedback).
Optionally, in an implementation manner of this embodiment, the screening the determined trust delivery path that can reach the first internet node to obtain a screened trust delivery path set includes: and screening the determined trust transfer path which can reach the first internet node according to the local trust authentication value threshold value to obtain a screened trust transfer path set.
Optionally, in an implementation manner of this embodiment, the screening, according to the local trust authentication value threshold, the determined trust transfer path that can reach the first internet node to obtain a screened trust transfer path set includes: and removing the trust transfer path of the second internet node with the local trust authentication value smaller than the local trust authentication value threshold, and only reserving the trust transfer path of the second internet node with the local trust authentication value not smaller than the local trust authentication value threshold to form a trust transfer path set.
In this embodiment, in an application scenario where an internet environment is relatively safe, for example, an internet system is a private chain or a federation chain, the trust transfer path may be screened based on the local trust authentication value, so as to quickly screen out the trust transfer path of an internet node (caused by a malicious node or a masquerading node) that does not have a potential safety hazard, or in other words, as long as a second internet node whose local trust authentication value is smaller than a local trust authentication value threshold exists on a certain trust transfer path, that is, an internet node (caused by a malicious node or a masquerading node) that has a potential safety hazard on the trust transfer path is indicated, otherwise, an internet node (caused by a malicious node or a masquerading node) that does not have a potential safety hazard on the trust transfer path is indicated, that the internet nodes are both good nodes.
Optionally, in an implementation manner of this embodiment, the calculating the global reputation value of the first internet node according to a local trust authentication value of the first internet node by a second internet node on the trust delivery path includes: and calculating the global credit value of the first internet node according to the local trust authentication value of the second internet node on the trust transfer path to the first internet node based on a successfully trained global credit value calculation model.
In this embodiment, the global reputation value calculation model may be obtained by training based on artificial intelligence, so as to ensure accuracy of the calculation result.
Optionally, in an implementation manner of this embodiment, the calculating, based on the successfully trained global reputation value calculation model, the global reputation value of the first internet node according to a local trust authentication value of the first internet node by a second internet node on the trust delivery path includes: based on a Markov model which is successfully trained, calculating the global credit value of the first Internet node according to the local trust authentication value of a second Internet node on the trust transfer path to the first Internet node; and the Markov model is used as the global reputation value calculation model.
In an actual application scenario of the embodiment, the global reputation value may be calculated based on a markov model, so as to ensure accuracy of a calculation result.
Optionally, in an implementation manner of this embodiment, the calculating, based on the successfully trained markov model, the global reputation value of the first internet node according to the local trust authentication value of the first internet node by the second internet node on the trust delivery path includes: and based on a Markov model which is successfully trained, carrying out iterative processing on the local trust authentication value of the first Internet node by a second Internet node on the trust transfer path so as to calculate the global reputation value of the first Internet node.
Optionally, in an implementation manner of this embodiment, when a local trust authentication value of the first internet node is iteratively processed by a second internet node on the trust transfer path based on a successfully trained markov model, different iteration weights are respectively allocated according to an interaction behavior between nodes, a relationship between nodes, and a number of neighbor nodes.
In this embodiment, during the iterative processing, a node activation matrix may be formed by the local trust authentication values of the first internet node by the second internet node on the trust transfer path, so that iteration of the local trust authentication values on each trust path may be quickly implemented in a vector manner, a plurality of iteration results may be obtained in total for a plurality of trust transfer paths, and the global reputation value of the first internet node is obtained by performing statistical calculation on the plurality of iterations.
In addition, in the internet system, the interaction behavior among the nodes, the relationship among the nodes and the number of the neighbor nodes have different influences on the global reputation value, so that different iteration weights are respectively distributed according to the interaction behavior among the nodes, the relationship among the nodes and the number of the neighbor nodes during iteration processing, for example, the more complicated the interaction behavior is, the higher the weight is; the more complex the node relationship, the higher the weight, and the more the number of neighbor nodes, the higher the weight.
The application discloses a method for calculating a global credit value in an internet node, which comprises the following steps: and calculating the global reputation value of the first internet node according to a local trust authentication value of a second internet node on the trust transfer path to the first internet node. According to the method, the credibility of one internet node is calculated from the perspective of the whole internet system, so that the global credibility in the internet node is determined, the calculation process for determining the global credibility of the internet node is simplified, the effective authentication of the block chain link point is realized, the calculation efficiency is improved, and the result is accurate and reliable.
Example II,
Based on the method for calculating a global reputation value in an internet node according to the first embodiment of the present application, the present application embodiment further provides a device for calculating a global reputation value in an internet node, as shown in fig. 2, fig. 2 is a schematic structural diagram of the device 20 for calculating a global reputation value in an internet node according to the first embodiment of the present application, where the device 20 for calculating a global reputation value in an internet node includes:
a first program unit 201 for determining a first internet node for which a global reputation value is to be calculated, and a trust delivery path that can reach the first internet node;
the second program unit 202 is configured to calculate a global reputation value of the first internet node according to a local trust authentication value of the first internet node by the second internet node on the trust transfer path.
In this embodiment, a plurality of internet nodes form an internet system, the global reputation value calculated by the above technical solution calculates the trustworthiness of one internet node from the perspective of the entire internet system, and relatively, the local trust line authentication value refers to the trust authentication degree of a certain internet node by a plurality of internet nodes in the internet system. Specifically, the plurality of internet nodes may form an authentication domain, and when performing trust authentication on a certain internet node, the plurality of internet nodes may be determined based on a direct neighbor relationship or an indirect neighbor relationship.
Specifically, the internet system is, for example, a blockchain system, and the blockchain system is, for example, a federation chain, a private chain, or a public chain; and the block chain link point can be a block chain light node or a block chain full node. The block chain whole node is a node which has all transaction data of the whole network, and the block chain light node is a node which only has the transaction data related to the block chain light node.
Optionally, in an implementation manner of this embodiment, the apparatus for calculating a global reputation value in an internet node further includes: a path screening unit, configured to calculate, by the second program unit 202, a global reputation value of the first internet node according to a local trust authentication value of the first internet node by the second internet node on the trust delivery path, where the following steps are executed before:
screening the determined trust transfer path which can reach the first internet node to obtain a screened trust transfer path set;
correspondingly, the second program element 202 is further configured to calculate the global reputation value of the first internet node according to the local trust authentication values of the first internet node by the second internet nodes on all trust delivery paths in the set of trust delivery paths.
In an actual application scenario of this embodiment, some malicious nodes or disguised nodes are added to the internet system, which may also have a high local trust authentication value due to the openness of the internet system, but actually, the local trust authentication value is not reliable. Therefore, in this embodiment, the determined trust delivery paths that can reach the first internet node are screened, so that the trust delivery paths that include the internet nodes (caused by the malicious nodes or the masquerading nodes) with the potential safety hazard can be filtered, or the trust delivery paths that include the internet nodes (caused by the malicious nodes or the masquerading nodes) with the potential safety hazard are not activated and participate in the technical processing of the present application.
Optionally, in an implementation manner of this embodiment, the path screening unit is further configured to screen the determined trust delivery path that can reach the first internet node according to a node similarity threshold value to obtain a screened trust delivery path set.
Optionally, in an implementation manner of this embodiment, the path screening unit is further configured to calculate a node similarity of a second internet node on each trust delivery path that can reach the first internet node; and removing the trust transfer path with the node similarity smaller than the threshold of the node similarity, and only reserving the trust paths with the node similarities not smaller than the threshold of the node similarity to form a trust transfer path set.
In this embodiment, as long as a second internet node whose node similarity is smaller than the node similarity threshold exists on a certain trusted transfer path, it indicates that there is an internet node (caused by a malicious node or a masquerading node) with a potential safety hazard on the trusted transfer path, otherwise, it indicates that there is no internet node (caused by a malicious node or a masquerading node) with a potential safety hazard on the trusted transfer path, that is, both the internet nodes are good nodes.
Specifically, in an actual application scenario of the embodiment, a pair of good nodes (internet nodes without potential safety hazards) give similar trust feedback to other nodes transacted together; the pair of internet nodes with potential safety hazards gives similar trust feedback to other commonly traded good nodes; and a good node and an internet node with potential safety hazard give very dissimilar trust feedback to other nodes which have transacted together. Thus, the node similarity between two nodes is defined by trust feedback.
Optionally, in an implementation manner of this embodiment, the path screening unit is further configured to screen the determined trust delivery path that can reach the first internet node according to a local trust authentication value threshold, so as to obtain a set of screened trust delivery paths.
Optionally, in an implementation manner of this embodiment, the path screening unit is further configured to remove a trust delivery path including the second internet node whose local trust authentication value is smaller than the local trust authentication value threshold, and only reserve trust paths including the second internet nodes whose local trust authentication values are not smaller than the local trust authentication value threshold, so as to form a trust delivery path set.
In this embodiment, in an application scenario where an internet environment is relatively safe, for example, an internet system is a private chain or a federation chain, the trust transfer path may be screened based on the local trust authentication value, so as to quickly screen out the trust transfer path of an internet node (caused by a malicious node or a masquerading node) that does not have a potential safety hazard, or in other words, as long as a second internet node whose local trust authentication value is smaller than a local trust authentication value threshold exists on a certain trust transfer path, that is, an internet node (caused by a malicious node or a masquerading node) that has a potential safety hazard on the trust transfer path is indicated, otherwise, an internet node (caused by a malicious node or a masquerading node) that does not have a potential safety hazard on the trust transfer path is indicated, that the internet nodes are both good nodes.
Optionally, in an implementation manner of this embodiment, the second program unit 202 is further configured to calculate the global reputation value of the first internet node according to a local trust authentication value of a second internet node on the trust delivery path to the first internet node based on a successfully trained global reputation value calculation model.
In this embodiment, the global reputation value calculation model may be obtained by training based on artificial intelligence, so as to ensure accuracy of a calculation result thereof.
Optionally, in an implementation manner of this embodiment, the second program unit 202 is further configured to calculate the global reputation value of the first internet node according to a local trust authentication value of a second internet node on the trust delivery path to the first internet node based on a successfully trained markov model; the Markov model is used as the global reputation value calculation model.
For example, in a practical application scenario of this embodiment, the global reputation value may be specifically calculated based on a markov model, so as to ensure accuracy of a calculation result thereof.
Optionally, in an implementation manner of this embodiment, the second program unit 202 is further configured to perform iterative processing on the local trust authentication value of the first internet node by a second internet node on the trust delivery path based on a successfully trained markov model, so as to calculate the global reputation value of the first internet node.
Optionally, in an implementation manner of this embodiment, when a local trust authentication value of a first internet node by a second internet node on the trust transfer path is iteratively processed based on a successfully trained markov model, different iteration weights are respectively allocated according to an interaction behavior between nodes, a relationship between nodes, and a number of neighbor nodes.
In this embodiment, during the iterative process, the local trust authentication values of the first internet node may be combined into a node activation matrix by the second internet node on the trust transfer path, so that the iteration of the local trust authentication values on each trust path may be quickly implemented in a vector manner, a plurality of iteration results are obtained in total for a plurality of trust transfer paths, and the global reputation value of the first internet node is obtained by performing statistical calculation on the plurality of iterations.
In addition, in the internet system, the interaction behavior among the nodes, the relationship among the nodes and the number of the neighbor nodes have different influences on the global reputation value, so that different iteration weights are respectively distributed according to the interaction behavior among the nodes, the relationship among the nodes and the number of the neighbor nodes during iteration processing, for example, the more complicated the interaction behavior is, the higher the weight is; the more complex the node relationship, the higher the weight, and the more the number of neighbor nodes, the higher the weight.
Example III,
As shown in fig. 3, fig. 3 is a schematic structural diagram of a blockchain system according to an embodiment of the present disclosure, where the blockchain system includes: the system comprises a plurality of block chain nodes, wherein each block chain node is provided with a global credit value calculation device in an internet node, and the global credit value calculation device in the internet node comprises:
a first program element for determining a first internet node for which the global reputation value is to be calculated, and a trust delivery path to which the first internet node is reachable;
and the second program unit is used for calculating the global reputation value of the first internet node according to the local trust authentication value of the second internet node on the trust transfer path to the first internet node.
As shown in fig. 4, fig. 4 is a schematic diagram of a hardware structure of an electronic device in the embodiment of the present application, where the hardware structure of the electronic device may include: a processor 401, a communication interface 402, a computer-readable medium 403, and a communication bus 404;
the processor 401, the communication interface 402, and the computer-readable medium 403 are configured to communicate with each other via a communication bus 404;
optionally, the communication interface 402 may be an interface of a communication module, such as an interface of a GSM module;
the processor 401 may be specifically configured to run the executable program stored in the memory, so as to execute all or part of the methods of any one of the above-described method embodiments.
Processor 401 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The present application further provides a computer storage medium having computer-executable instructions stored thereon that, when executed, perform the steps of:
determining a first internet node for which the global reputation value is to be calculated and a trusted delivery path that can reach the first internet node;
and calculating the global reputation value of the first internet node according to the local trust authentication value of the first internet node by the second internet node on the trust transfer path.
The electronic device of the embodiments of the present application exists in various forms, including but not limited to:
(1) Mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
It should be noted that, in the present specification, all the embodiments are described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus and system embodiments, since they are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described embodiments of the apparatus and system are merely illustrative, and the modules illustrated as separate components may or may not be physically separate, and the components suggested as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only one specific embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A global reputation value calculation method in an Internet node is characterized by comprising the following steps:
determining a first internet node for which the global reputation value is to be calculated and a trusted delivery path that can reach the first internet node;
calculating the global credit value of the first internet node according to the local trust authentication value of a second internet node on the trust transfer path to the first internet node;
the calculating the global reputation value of the first internet node according to a local trust authentication value of a second internet node on the trust transfer path to the first internet node comprises: based on a successfully trained global credit value calculation model, calculating the global credit value of the first internet node according to a local trust authentication value of a second internet node on the trust transfer path to the first internet node;
the global reputation value calculation model is a Markov model which is successfully trained, and a second internet node on the trust transfer path is subjected to iterative processing on the local trust authentication value of the first internet node based on the Markov model which is successfully trained so as to calculate the global reputation value of the first internet node;
and when the local trust authentication value of the first internet node is iterated by a second internet node on the trust transfer path based on the successfully trained Markov model, different iteration weights are respectively distributed according to the interaction behaviors among the nodes, the relationship among the nodes and the number of the neighbor nodes,
and forming a node activation matrix by the local trust authentication values of the first internet node by the second internet node on the trust transfer path, thereby quickly realizing iteration of the local trust authentication values on each trust path in a vector mode, obtaining a plurality of iteration results by counting the plurality of trust transfer paths, and obtaining the global reputation value of the first internet node by carrying out statistical calculation on the plurality of iterations.
2. The method of claim 1, wherein the computing the global reputation value of the first internet node based on a local trust authentication value of the first internet node by a second internet node on the trust transfer path comprises:
screening the determined trust transfer path which can reach the first internet node to obtain a screened trust transfer path set;
the calculating the global reputation value of the first internet node according to the local trust authentication value of the first internet node by the second internet node on the trust transfer path comprises: and calculating the global credit value of the first internet node according to the local trust authentication value of the second internet node on all the trust transfer paths in the trust transfer path set to the first internet node.
3. The method for calculating a global reputation value in an internet node according to claim 2, wherein the screening the determined trust delivery path that can reach the first internet node to obtain a screened trust delivery path set comprises: and screening the determined trust transfer path which can reach the first internet node according to the node similarity threshold to obtain a screened trust transfer path set.
4. The method for calculating the global reputation value among the internet nodes according to claim 3, wherein the step of screening the determined trust transfer path that can reach the first internet node according to the node similarity threshold to obtain a screened trust transfer path set comprises: calculating the node similarity of a second internet node on each trust transfer path which can reach the first internet node; and removing the trust transfer paths with the node similarity smaller than the node similarity threshold, and only reserving the trust paths with the node similarity not smaller than the node similarity threshold to form a trust transfer path set.
5. An apparatus for calculating a global reputation value in an internet node, comprising:
a first program element for determining a first internet node for which the global reputation value is to be calculated, and a trust delivery path to which the first internet node is reachable;
a second program unit, configured to calculate the global reputation value of the first internet node according to a local trust authentication value of a second internet node on the trust transfer path to the first internet node;
the second program unit is used for calculating the global credit value of the first internet node according to the local trust authentication value of a second internet node on the trust transfer path to the first internet node based on a successfully trained global credit value calculation model;
the global reputation value calculation model is a Markov model which is trained successfully; the second program unit is used for carrying out iterative processing on a local trust authentication value of a first internet node by a second internet node on the trust transfer path based on a successfully trained Markov model so as to calculate the global reputation value of the first internet node;
and when the local trust authentication value of the first internet node is iteratively processed by a second internet node on the trust transfer path based on the successfully trained markov model, the second program unit is used for respectively allocating different iteration weights according to the interaction behavior among the nodes, the relationship among the nodes and the number of the neighbor nodes,
and forming a node activation matrix by the local trust authentication values of the first internet node by the second internet node on the trust transfer path, thereby quickly realizing iteration of the local trust authentication values on each trust path in a vector mode, obtaining a plurality of iteration results by the total number of the trust transfer paths, and obtaining the global reputation value of the first internet node by the second program unit through statistical calculation on the plurality of iterations.
6. The global reputation value calculation apparatus in an internet node according to claim 5, further comprising: a path screening unit, configured to calculate the global reputation value of the first internet node according to a local trust authentication value of a second internet node on the trust transfer path to the first internet node, before performing the following steps:
screening the determined trust transfer path which can reach the first internet node to obtain a screened trust transfer path set;
the second program element is further configured to calculate the global reputation value of the first internet node based on a local trust authentication value of a second internet node to the first internet node on all the trust delivery paths in the set of trust delivery paths.
7. The apparatus according to claim 6, wherein the path screening unit is further configured to screen the determined trust delivery paths that can reach the first internet node according to a node similarity threshold to obtain a set of screened trust delivery paths.
8. A blockchain system, comprising: a plurality of block chain nodes, every block chain node is provided with global reputation value computing device in the internet node, global reputation value computing device in the internet node includes:
a first program element for determining a first internet node for which the global reputation value is to be calculated, and a trusted delivery path to which the first internet node is reachable;
a second program unit, configured to calculate the global reputation value of the first internet node according to a local trust authentication value of a second internet node on the trust transfer path to the first internet node;
the second program unit is used for calculating the global reputation value of the first internet node based on a successfully trained global reputation value calculation model according to the local trust authentication value of the first internet node by a second internet node on the trust transfer path;
the global reputation value calculation model is a Markov model which is trained successfully; the second program unit is used for carrying out iterative processing on a local trust authentication value of the first internet node by a second internet node on the trust transfer path based on a Markov model which is trained successfully so as to calculate the global reputation value of the first internet node;
and when a second internet node on the trust transfer path iterates the local trust authentication value of the first internet node based on the successfully trained markov model, the second program unit is configured to assign different iteration weights according to the interaction behavior among nodes, the relationship among nodes, and the number of neighboring nodes,
and forming a node activation matrix by the local trust authentication values of the first internet node by the second internet node on the trust transfer path, thereby quickly realizing iteration of the local trust authentication values on each trust path in a vector mode, obtaining a plurality of iteration results by the total number of the trust transfer paths, and obtaining the global reputation value of the first internet node by the second program unit through statistical calculation on the plurality of iterations.
9. An electronic device, comprising: a memory having computer-executable instructions stored thereon and a processor for executing the computer-executable instructions to perform the steps of:
determining a first internet node for which a global reputation value is to be calculated and a trusted delivery path that can reach the first internet node;
calculating the global credit value of the first internet node according to the local trust authentication value of a second internet node on the trust transfer path to the first internet node;
the calculating the global reputation value of the first internet node according to the local trust authentication value of the first internet node by the second internet node on the trust transfer path comprises: based on a successfully trained global reputation value calculation model, calculating the global reputation value of the first Internet node according to a local trust authentication value of a second Internet node on the trust transfer path to the first Internet node;
the global reputation value calculation model is a Markov model which is successfully trained, and a second internet node on the trust transfer path is subjected to iterative processing on the local trust authentication value of the first internet node based on the Markov model which is successfully trained so as to calculate the global reputation value of the first internet node;
and when the local trust authentication value of the first internet node is iterated by a second internet node on the trust transfer path based on the successfully trained Markov model, different iteration weights are respectively distributed according to the interaction behaviors among the nodes, the relationship among the nodes and the number of the neighbor nodes,
and forming a node activation matrix by using the local trust authentication values of the first internet node by the second internet node on the trust transfer path, so that iteration of the local trust authentication values on each trust path can be quickly realized in a vector mode, a plurality of iteration results can be obtained by the total amount of the trust transfer paths, and the global reputation value of the first internet node is obtained by performing statistical calculation on the plurality of iterations.
10. A computer storage medium having computer-executable instructions stored thereon that, when executed, perform the steps of:
determining a first internet node for which a global reputation value is to be calculated and a trusted delivery path that can reach the first internet node;
calculating the global credit value of the first internet node according to the local trust authentication value of a second internet node on the trust transfer path to the first internet node;
the calculating the global reputation value of the first internet node according to the local trust authentication value of the first internet node by the second internet node on the trust transfer path comprises: based on a successfully trained global credit value calculation model, calculating the global credit value of the first internet node according to a local trust authentication value of a second internet node on the trust transfer path to the first internet node;
the global reputation value calculation model is a Markov model which is successfully trained, and a second internet node on the trust transfer path is subjected to iterative processing on the local trust authentication value of the first internet node based on the Markov model which is successfully trained so as to calculate the global reputation value of the first internet node;
and when the local trust authentication value of the first internet node is iterated by a second internet node on the trust transfer path based on the successfully trained Markov model, different iteration weights are respectively distributed according to the interaction behaviors among the nodes, the relationship among the nodes and the number of the neighbor nodes,
and forming a node activation matrix by the local trust authentication values of the first internet node by the second internet node on the trust transfer path, thereby quickly realizing iteration of the local trust authentication values on each trust path in a vector mode, obtaining a plurality of iteration results by counting the plurality of trust transfer paths, and obtaining the global reputation value of the first internet node by carrying out statistical calculation on the plurality of iterations.
CN202011627526.4A 2020-12-30 2020-12-30 Method and system for calculating global reputation value in internet node and related product Active CN112788121B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011627526.4A CN112788121B (en) 2020-12-30 2020-12-30 Method and system for calculating global reputation value in internet node and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011627526.4A CN112788121B (en) 2020-12-30 2020-12-30 Method and system for calculating global reputation value in internet node and related product

Publications (2)

Publication Number Publication Date
CN112788121A CN112788121A (en) 2021-05-11
CN112788121B true CN112788121B (en) 2023-04-14

Family

ID=75754587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011627526.4A Active CN112788121B (en) 2020-12-30 2020-12-30 Method and system for calculating global reputation value in internet node and related product

Country Status (1)

Country Link
CN (1) CN112788121B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991600A (en) * 2015-02-25 2016-10-05 阿里巴巴集团控股有限公司 Identity authentication and apparatus, server and terminal
CN110324362A (en) * 2019-06-12 2019-10-11 南京优慧信安科技有限公司 A kind of block chain User reliability evaluation method based on interbehavior
CN111818181A (en) * 2020-08-31 2020-10-23 腾讯科技(深圳)有限公司 Data processing method and device based on block chain and computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10257161B2 (en) * 2012-05-22 2019-04-09 Cisco Technology, Inc. Using neighbor discovery to create trust information for other applications
WO2020206370A1 (en) * 2019-04-05 2020-10-08 Cisco Technology, Inc. Discovering trustworthy devices using attestation and mutual attestation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991600A (en) * 2015-02-25 2016-10-05 阿里巴巴集团控股有限公司 Identity authentication and apparatus, server and terminal
CN110324362A (en) * 2019-06-12 2019-10-11 南京优慧信安科技有限公司 A kind of block chain User reliability evaluation method based on interbehavior
CN111818181A (en) * 2020-08-31 2020-10-23 腾讯科技(深圳)有限公司 Data processing method and device based on block chain and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于随机漫步的信任路径搜索算法;刘智勇等;《计算机工程》;20090920(第18期);全文 *

Also Published As

Publication number Publication date
CN112788121A (en) 2021-05-11

Similar Documents

Publication Publication Date Title
JP7138726B2 (en) Blockchain consensus methods, accounting nodes and nodes
CN108334753B (en) Pirate application verification method and distributed server node
CN113794694B (en) Binary consensus method and device based on reliable broadcast
CN113810465B (en) Asynchronous binary consensus method and device
CN110874650B (en) Alliance learning method, device and system fusing public domain data and private data
CN110781153B (en) Cross-application information sharing method and system based on block chain
CN110868376A (en) Method and device for determining vulnerable asset sequence in network environment
CN112202765B (en) Block chain common identification block method, block chain system, electronic device and storage medium
CN112788121B (en) Method and system for calculating global reputation value in internet node and related product
CN111600703B (en) SM 2-based signature method, system, electronic equipment and storage medium
CN112184439A (en) Decentralized transaction method and device based on node sequencing and related products
CN111669268A (en) Block chain-based electronic data processing method and device and related products
CN112866343A (en) Trust propagation method and system in internet node and related products
CN115391801A (en) Method and device for updating encryption module in block chain system and related products
CN112583798B (en) Method, device and related product for screening common identification nodes from block chain system
CN112804088B (en) Method, system and related product for internet node authentication based on neighbor credibility
CN113568730A (en) Constraint scheduling method and device for heterogeneous tasks and related products
CN112214760A (en) Application program management method and device based on credible root measurement and related products
CN106530054A (en) Method and device for sharing service data, and electronic equipment
CN112214759A (en) Behavior authority distribution method and device for application program based on credible root measurement and related products
CN112804305B (en) Credible networking method and system of internet node and related product
CN112688960B (en) Method, system and related product for calculating connection strength in internet node authentication
CN111884808A (en) Method and device for preventing cross-chain replay of transaction and electronic equipment
CN113612642B (en) Method and device for describing heterogeneous tasks based on communication overhead and related products
CN114491534A (en) Behavior analysis method and device of malicious application program and related product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant