Search

CN-122027202-A - Relay chain-based cross-chain entity dynamic reputation and attribute credential management method and system

CN122027202ACN 122027202 ACN122027202 ACN 122027202ACN-122027202-A

Abstract

The invention provides a method and a system for managing dynamic reputation and attribute certificates of a cross-chain entity based on a relay chain, which belong to the technical field of block chain trusted computing, and are used for calculating and updating reputation values in real time by combining historical behavior data of the cross-chain entity of a user on the basis of a cold starting mechanism, and carrying out dynamic layering by using the pareto distribution and fairness value principle so as to avoid the rigidification problem caused by a fixed upper limit. The high-reputation entity can obtain the incentives of high-authority access, commission deduction, collateral deposit returning and the like, and the low-reputation entity faces the constraints of authority degradation, additional verification and the like, so that a bidirectional driving mechanism which takes fairness and constraint force into account is formed in a global scope. The invention solves the problem that the reputation is difficult to establish in a distributed scene, further solves the risks of identity reset and reputation refreshing in a cross-chain scene, thereby realizing dynamic updating, cross-chain sharing and trusted inheritance of the reputation and providing a safe and reliable basic support for resource collaboration and value circulation in a Web3.0 decrustation environment.

Inventors

  • WANG WEI
  • WANG CHENXU
  • MA XIAOBO
  • WANG YUFEI
  • WENG YUAN
  • WANG BIN
  • CHEN CHANG
  • WANG BIN
  • LV XIAOTING
  • WANG WENQI
  • LIU TIANJIAN

Assignees

  • 北京交通大学
  • 西安交通大学

Dates

Publication Date
20260512
Application Date
20251229

Claims (10)

  1. 1. A method for managing dynamic reputation and attribute credentials of a cross-link entity based on a relay link is characterized by comprising the following steps: Firstly, registering a decentralised identity by a cross-chain entity, synchronously completing initial reputation value setting and collateral payment, then acquiring issuing of anonymous credentials of the cross-chain entity, selectively disclosing a reputation threshold in an identity authentication link to acquire corresponding authority, and synchronously executing reputation reduction and collateral processing when the identity is revoked, wherein in the initialization, each application chain elects a representative node as an authoritative node of the chain to jointly form a proxy chain, registers the decentralised identity of the application chain to the relay chain as a global trusted identity, and simultaneously associates initial reputation and collateral information; The initiator constructs cross-link request data, wherein the cross-link request data comprises encrypted transaction information, the cross-link request is then sent to a relay link, and the relay link is responsible for DID identity verification, and the identity verification can complete forwarding of the cross-link data; And the relay chain dynamically updates the reputation value of the initiator based on the behavior index of the user, synchronously updates the reputation commitment value of the DID/VC and executes corresponding rewarding and punishing strategies.
  2. 2. The method for managing the dynamic reputation and attribute credentials of the cross-chain entity based on the relay chain according to claim 1 is characterized in that the registration of the decentralised identity comprises the steps of constructing an identity-behavior-reputation-reward closed loop by taking a dynamic reputation mechanism as a core and combining decentralised identity, zero knowledge proof and a national cryptographic algorithm, and realizing the cross-chain interaction of reputation-driven identity authentication, attribute verification and privacy protection around the cross-chain identity credibility and behavior verifiability based on Web3.0 multi-chain decentralised ecology, wherein the method comprises the specific flow of initializing the reputation value of a newly registered cross-chain entity by a reputation initialization method based on attribute credential weight and warrant mortgage contribution; the method comprises the steps of utilizing global baseline reputation value preset by a system to ensure that all new entities have uniform initial reputation level in a cold start stage, generating differentiated initial reputation value by new users through attribute certificate weight and mortgage contribution after the reputation initialization in the cold start stage is completed, combining reputation collection of the whole network users, adopting pareto distribution and Gini coefficient to dynamically adjust the duty ratio of each level to realize layered division of reputation level, calling intelligent contracts by relay chain consensus nodes according to zk verification success rate and performance ratio to update the reputation value in real time after the user cross-chain behavior is completed, synchronously refreshing the reputation value in DID/VC after the reputation value is updated, writing the reputation value of each participant into a DID document or VC in the form of a promised value, iteratively updating the reputation value along with time to form a chain structure, triggering updating after the cross-chain transaction is successfully confirmed, evaluating latest transaction behavior indexes each time, the relay chain automatically records each transaction and its impact on reputation.
  3. 3. The method for managing the inter-chain entity dynamic reputation and attribute certificates based on the relay chain according to claim 2 is characterized in that in order to ensure that the revoked identity cannot be used continuously and avoid trust risks caused by centralized management, revocation marks are set in a relay chain DID registry, verifiability and privacy are guaranteed through on-chain audit logs and zero knowledge proof, triggering conditions of identity revocation include that users submit invalid or fake certificates for many times, serious default, fraud and attack behaviors occur, issuers actively revoke certificates, community administration votes are forcedly removed, when the revocation is triggered, the relay chain updates the user DID state to status of revoked, and meanwhile, revocation reasons, time stamps and revocation party signatures are written into on-chain audit logs for zk circuits to judge that the user DID is invalid in subsequent verification.
  4. 4. The relay-chain-based cross-chain entity dynamic reputation and attribute credential management method of claim 1 wherein a cross-chain verifiable DID binding mechanism is introduced in de-centralized avatar credential generation, and unique identity is confirmed by under-chain attestation and zk-SNARK attestation during registration, and if duplicate registration is detected, the historical reputation track is inherited forcibly and additional cold-start addition is refused, thereby eliminating the motivation for resetting the reputation.
  5. 5. The method of claim 1, wherein the DID registration and on-chain record comprises submitting a DID document to the relay chain through the proxy chain, storing an identity promise value by the relay chain, deploying a reputation verifier contract, managing a collateral deposit escrow contract, writing user VC signature and validity information, if a new registered user is registered, invoking a cold start reputation initialization function by the relay chain, calculating an initial reputation value according to the DID grade, attribute credential weight and mortgage contribution, generating an initial Pedersen promise value, writing the initial Pedersen promise value into the on-chain reputation state contract as a base point of a subsequent iteration, if zk is provided by the user to prove that the DID is an inheriter of an old DID, allowing part of historical promise to be inherited on the base reputation value, returning registration success information by a representative node after registration success, and inquiring the reputation state and basic compliance of the entity by the proxy chain.
  6. 6. The method for managing the dynamic reputation and the attribute credentials of the cross-link entity based on the relay link according to claim 1, wherein the method for managing the dynamic reputation and the attribute credentials of the cross-link entity based on the relay link is characterized in that a sender constructs and encrypts cross-link request data and comprises the steps of generating an SM2 session key, setting a cross-link transaction message to be sent as M, embedding a cross-link behavior index in the M, calculating a reputation update value by the relay link, encrypting the message and carrying out integrity verification, and generating a digital signature S on a ciphertext and a verification value by using an SM2 private key.
  7. 7. The method for managing dynamic reputation and attribute credentials of a relay-chain-based cross-chain entity of claim 1, wherein the relay service chain authentication forwarding cross-chain request comprises verifying that the signature is consistent with the DID document, obtaining a public key verification SM2 signature, and verifying the ciphertext using the public key in the DID document And signature The method comprises the steps of ensuring the credibility of the identity of a request source, calling zk-SNARK verification functions by a relay chain, verifying whether the following conditions are met, namely that the identity is not revoked, a certificate meets a threshold requirement in a valid period, a mortgage promise is consistent with a reputation promise binding, checking that the identity is not revoked, and if the verification is passed, forwarding (C, S) to a target receiver by the relay chain.
  8. 8. The method for managing dynamic reputation and attribute credentials of a chain-crossing entity based on a relay chain according to claim 6, wherein the user as an encryptor realizes the steps of generating a SM2 key pair, generating a private key and a public key of a chain-crossing transactor, acquiring the SM2 public key stored by a target receiver from the relay chain, completing key negotiation and deriving a symmetric session key through a KDF, regenerating a random number and negotiating if negotiation fails, and terminating the request if negotiation fails for 3 times.
  9. 9. The method for relay-chain-based cross-chain entity dynamic reputation and attribute credential management of claim 6 wherein message encryption and integrity verification comprises computing SM4 ciphertext Computing a hash value as an integrity check And generating a final ciphertext C.
  10. 10. A relay chain based cross-chain entity dynamic reputation and attribute credential management system comprising: The system comprises an initialization registration module, a relay chain, a central processing module and a central processing module, wherein the initialization registration module is used for firstly realizing the registration of a decentralised identity by a cross-chain entity, synchronously completing the setting of an initial reputation value and the payment of a collateral deposit, then acquiring the issuing of anonymous credentials of the cross-chain entity, selectively disclosing a reputation threshold value in an identity authentication link to acquire corresponding rights, and synchronously executing reputation reduction and collateral deposit processing when the identity is withdrawn; The request module is used for constructing cross-link request data by an initiator, wherein the cross-link request data comprises encrypted transaction information, the cross-link request is then sent to a relay link, and the relay link is responsible for DID identity verification and forwarding of the cross-link data through which the identity verification can be completed; and the relay chain dynamically updates the reputation value of the initiator based on the behavior index of the user, synchronously updates the reputation commitment value of the DID/VC and executes corresponding rewarding and punishing strategies.

Description

Relay chain-based cross-chain entity dynamic reputation and attribute credential management method and system Technical Field The invention relates to the technical field of block chain trusted computing, in particular to a method and a system for managing cross-chain entity dynamic reputation and attribute certificates based on a relay chain. Background In recent years, web3.0 is regarded as a new stage of development of the internet, and the core goal is to construct a distributed network centered on users, so that users really master the digital identity, data and assets. In this context, blockchains are being moved from single-chain closed-loop acceleration to a multi-chain collaboration and interoperation framework as an underlying infrastructure to support cross-platform trusted data and value circulation. In the decentralization ecology, reputation is not only a quantitative representation of user trust, but also an important basis for resource allocation, authority control and incentive constraint. Reputation construction in a distributed environment faces significant difficulties due to the lack of centralized endorsements, which result in reputation initialization and evolution that are difficult to fairly implement due to the lack of unified metrics and inheritance mechanisms. In summary, the prior art still has the significant disadvantages that (1) the existing scheme is still insufficient in reputation research oriented to the Web3.0 cross-chain system, and the actual requirements in the decentralization environment are not fully met. Reputation construction in a distributed environment faces significant difficulties, and the reputation lacks a unified measurement and inheritance mechanism, so that a user is difficult to carry and prove own historical reputation in an actual application scene. Most of the existing evaluation modes stay in static records in the chain, users cannot obtain due rights and rewards due to good historical behaviors, and long-term excitation and control closed loops of cross-chain ecology are difficult to establish. (2) sharing and inheriting of cross-chain reputation presents difficulties. The reputation that users accumulate on one chain often cannot migrate to other chains, resulting in identities and reputation exhibiting fragmented states. This problem not only weakens the continuity of reputation value, but also provides an opportunity for an attacker to circumvent the penalty, swipe the initial reputation, and thus undermine the fairness and trustworthiness of the system by continually resetting the identity or migrating across chains. (3) The cross-chain interaction lacks a unified decentralised trust anchor and an effective supervision mechanism, and the authenticity and reliability of reputation calculation and data interaction are difficult to guarantee. The system is susceptible to malicious behavior of the nodes, such as data tampering or improper manipulation, thereby further threatening the security and stability of cross-chain ecology. Disclosure of Invention The invention aims to provide a method and a system for managing a dynamic reputation and an attribute credential of a cross-link entity based on a relay link, which are used for calculating and updating a reputation value in real time by combining historical behavior data of the cross-link entity of a user on the basis of a cold starting mechanism, and carrying out dynamic layering by using the pareto distribution and fairness value principle so as to avoid the rigidification problem caused by a fixed upper limit. The high-reputation entity can obtain the incentives of high-authority access, commission deduction, collateral deposit returning and the like, and the low-reputation entity faces the constraints of authority degradation, additional verification and the like, so that a bidirectional driving mechanism which takes fairness and constraint force into account is formed in a global scope. The invention solves the problem that the reputation is difficult to establish in a distributed scene, further solves the risks of identity reset and reputation refreshing in a cross-chain scene, thereby realizing dynamic updating, cross-chain sharing and trusted inheritance of the reputation, providing safe and reliable basic support for resource collaboration and value circulation in a Web3.0 decrustation environment, and solving at least one technical problem in the background technology. In order to achieve the above purpose, the present invention adopts the following technical scheme: In a first aspect, the present invention provides a method for managing dynamic reputation and attribute credentials of a cross-link entity based on a relay link, including: Firstly, registering a decentralised identity by a cross-chain entity, synchronously completing initial reputation value setting and collateral payment, then acquiring issuing of anonymous credentials of the cross-chain entity, selectively disclosing a