CN111709751B - Expanding method for anchor node in block chain - Google Patents

Expanding method for anchor node in block chain Download PDF

Info

Publication number
CN111709751B
CN111709751B CN202010569482.8A CN202010569482A CN111709751B CN 111709751 B CN111709751 B CN 111709751B CN 202010569482 A CN202010569482 A CN 202010569482A CN 111709751 B CN111709751 B CN 111709751B
Authority
CN
China
Prior art keywords
anchor
node
nodes
transaction
common
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
CN202010569482.8A
Other languages
Chinese (zh)
Other versions
CN111709751A (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.)
Shanxi Police College
Original Assignee
Shanxi Police College
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 Shanxi Police College filed Critical Shanxi Police College
Priority to CN202010569482.8A priority Critical patent/CN111709751B/en
Publication of CN111709751A publication Critical patent/CN111709751A/en
Application granted granted Critical
Publication of CN111709751B publication Critical patent/CN111709751B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Technology Law (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Medical Informatics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention belongs to the field of research of block chains, and particularly relates to an expanding method of anchor nodes in a block chain. The invention divides the nodes in the block chain into common nodes and anchor nodes, wherein the related privacy data can be processed or communicated only through the anchor nodes, thereby achieving the purpose of protecting privacy. The anchor node also has the following functions: (1) informatization of anchor nodes: the anchor node grasps all information of each common node. (2) the distributed autonomous management module of the anchor node: and realizing a distributed autonomous management module of the anchor node through a software platform. The module mainly takes the anchor node in each block chain as a main body, records transaction behaviors and results, and approves and simulates judgment of each branch node. (3): anchor nodes generated on independent side chains will be able to communicate independently with anchor nodes on the main chain, accounting for side chain fraudulent transfers.

Description

Expanding method for anchor node in block chain
Technical Field
The invention belongs to the field of block chain research, and particularly relates to an expanding method of an anchor node in a block chain.
Background
The rapid development of block chain technology has brought about several opportunities and challenges to various industries. The characteristics of non-tampering, decentralization and traceability of the block chain realize the dispersive operation of application program development which can only use a centralized architecture before, and realize the same function on the premise of ensuring the same reliability. However, the development of the blockchain itself has risks of poor expansibility and safety, high node maintenance cost, unified breeding, fraudulent transfers of side chains and the like, and the specific contents are as follows:
(1) Expansibility and safety
In terms of the expansibility of the block chain, the script is complex or simple, so that the development and maintenance audit of more functions is not facilitated. The construction of bitcoins solves the problem of all nodes with a standard, which is questionable for the assurance of security for low value and low risk transactions.
(2) The maintenance cost of the node is high
In the blockchain, due to the decentralized characteristic, the verification workload of each node is increased in an excessively large-block and high-speed working mode, and since all records are recorded in the account book content, the operation speed of the node is reduced, and the maintenance cost is increased.
(3) Unified breeding
The protection mechanism of each bitcoin is the same, so that the unified breeding risk of the nodes is increased, namely when one node has a problem, the nodes using the same mechanism generate security threats.
(4) Side chain fraudulent transfer of money
In theory, any deep recombination could be sent and an attacker could completely transfer coins between side chains before the transmission chain cancels the transfer of the half-way, based on the re-sent recombination which is longer than the contention period. The result will be an unequal number of coins in the receive chain to the number of redeemable locked outputs in the transmit chain. If the attacker is allowed to transfer coins back to the original chain, he will increase the number of his own coins, leaving the other users on the side chain to pay for the loss.
Disclosure of Invention
The invention provides the anchor node in the block chain, and expands and refines the functions of the anchor node in the block chain to solve the problems of poor safety and high node maintenance cost of the block chain.
The invention is realized by adopting the following technical scheme: a method for expanding anchor nodes in a block chain comprises the following steps:
(1) Selection of anchor nodes: randomly selecting a common node on a block chain as an anchor node, carrying out transaction by other common nodes, recording the transaction behaviors of other common nodes by the anchor node, summarizing the transaction behaviors of the common nodes, coding the transaction behavior of each common node by using numbers, comparing the transaction data in the transaction behavior of each common node with a set verification workload after transaction of a unit time, carrying out transaction of the next unit time if the transaction data of each common node does not exceed the verification workload, matching the transaction behavior code of each common node in the unit time with the transaction behavior code of the previous time node if the transaction data of a certain common node exceeds the verification workload, and if the matching degree meets the requirement, selecting the anchor node again, and repeating the steps until a proper common node is selected as the anchor node;
(2) Informatization of anchor nodes: when all common nodes carry out transaction, transaction behaviors are synchronously updated and recorded on the anchor node, so that the significance is that although the workload and the work content are increased when the recorded data are updated, the time for dispersing attention can be reduced for a maintainer in the later checking process, and the later work processing efficiency is improved.
In the method for expanding the anchor node in the block chain, when the block chain needs to be changed greatly to solicit agreement of all nodes, the anchor node can quickly conclude through an empirical model to improve the speed, before that, authentication and permission of the anchor node need to be set, and an empirical judgment algorithm of the anchor node is as follows:
1) An authentication module: after the anchor node is determined, the address is broadcasted to each common node, and each common node gives an anchor node authority through a consensus algorithm;
2) A judgment module: and after the administrator makes a decision, all the ordinary nodes vote whether to agree with the decision, and the anchor node records the voting result in the empirical model. When the administrator makes a decision again, the anchor node makes a judgment according to the data in the empirical model, and each transaction node approves the judgment made by the anchor node by default.
In the expanding method of the anchor node in the block chain, the anchor node is selected from the side chain, and the anchor nodes on the main side chain of the block chain are connected to enable the anchor nodes to independently and freely communicate.
The invention divides the nodes in the block chain into common nodes and anchor nodes, wherein the related privacy data can be processed or communicated only through the anchor nodes, thereby achieving the purpose of protecting privacy.
(1) Informatization of anchor nodes: the anchor node grasps all information of each common node. As a verification party, the method can reduce the workload, can quickly locate the key information in a larger block chain, and improves the running speed of the block chain. As miners in the block chain, the operation conditions of the blocks can be known by acquiring data of anchor nodes, and the efficiency and the speed of merging and digging are improved. And only the anchor nodes need to be maintained and recorded, so that the maintenance cost is reduced.
(2) A distributed autonomous management module of the anchor node: and realizing a distributed autonomous management module of the anchor node through a software platform. The module mainly takes the anchor node in each block chain as a main body, records transaction behaviors and results, and approves and simulates judgment of each branch node.
(3) Side chain anchor nodes to resolve side chain fraudulent transfers: the anchor nodes generated on the independent side chains can be independently communicated with the anchor nodes on the main chain, and because each anchor node records the information of all common nodes, when the main side chain performs information interaction and the competition period of the bidirectional anchoring technology has problems, the anchor nodes can play a role in recording information transaction, thereby realizing safety certification and improving the security of the transaction.
Drawings
FIG. 1 is a flow diagram of an anchor node distributed autonomic management module.
FIG. 2 is a diagram of the concept of the method of the present invention.
FIG. 3 is a schematic diagram of empirical model training.
Detailed Description
The invention provides an expanding method of anchor nodes in a block chain, the thought chart of which is shown in figure 2, and the expanding method comprises the following steps:
(1) Selection of anchor nodes: randomly selecting a common node on a block chain as an anchor node, carrying out transaction by other common nodes, recording the transaction behaviors of other common nodes by the anchor node, wherein the transaction behaviors comprise transaction modes, transaction times and transaction data, summarizing the transaction behaviors of the common nodes, coding the transaction behavior of each common node by using numbers, comparing the transaction data (the transaction data is the sum of the transaction data of each previous unit time) in the transaction behavior with a set verification workload by each common node after transaction of a unit time, carrying out the transaction of the next unit time if the transaction data of each common node does not exceed the verification workload, matching the transaction behavior codes of each common node in the unit time with the transaction behavior codes of the previous time node if the transaction data of a certain common node exceeds the verification workload, and repeating the steps until the appropriate common node is selected as the anchor node;
(2) Informatization of anchor nodes: when all the common nodes carry out transaction, the transaction behavior synchronous record is updated on the anchor node, and the anchor node does not have the transaction function. The significance of this is that although the workload and the work content are increased when the data is updated, the time for the maintenance personnel to pay attention to the future account checking process can be reduced, and the future work processing efficiency is improved. The anchor node is also responsible for related communication among nodes, provides mining reference data for miners and the like, and can greatly improve the transaction rate in an oversized block chain.
(3) A distributed autonomous management module of the anchor node: according to the empirical model, i.e., when the system needs to make a large change to solicit all nodes (including the common node and the anchor node) to agree, the anchor node can quickly make a summary through the empirical model to increase the speed. Before this, authentication and authority of the anchor node needs to be set. The empirical judgment algorithm of the anchor node is as follows:
1) An authentication module: and after the anchor node is determined, the address is broadcast to each common node, and each common node gives the authority of the anchor node through a corresponding consensus algorithm.
2) A judging module: and (3) carrying out transaction by the common nodes, recording transaction behaviors of the common nodes by the anchor nodes, voting whether the common nodes agree to the decision or not after a manager makes a decision (the nodes can make the transaction behaviors according to the decision of the manager), and recording the voting result in the empirical model by the anchor nodes. When the administrator makes a decision again, the anchor node makes a judgment according to the data in the empirical model, and each transaction node approves the judgment made by the anchor node by default.
The method has the advantages that the anchor node can rapidly summarize and summarize the judgment of each branch node by recording the previous decision, thereby improving the high transaction performance in the block chain, improving the decision rate, accelerating the system upgrading and changing iteration rate in the block chain, having complete block chain model and more reliable result.
(4) Anchor nodes on the side chains: the generation process of the anchor nodes on the side chain is similar to that of the main chain, the side chain is a complete and independent system, the aim of encrypting currency and finance ecology is achieved in a fusion mode, the anchor nodes and the main chain share the same data, and in order to guarantee the safety in the data exchange process, the anchor nodes on the main side chain are connected to enable the anchor nodes to independently and freely communicate, so that the problem of fraudulent transfer can be prevented.

Claims (3)

1. An expanding method of an anchor node in a block chain is characterized in that: the method comprises the following steps:
(1) Selection of anchor nodes: randomly selecting a common node on a block chain as an anchor node, performing transaction by using other common nodes, recording the transaction behaviors of the other common nodes by the anchor node, after transaction of one unit time, comparing the transaction data in the transaction behavior with a set verification workload by using numbers by summarizing the transaction behaviors of the common nodes, performing the transaction of the next unit time if the transaction data of each common node does not exceed the verification workload, matching the transaction behavior code of each common node in the unit time with the transaction behavior code of the previous time node if the transaction data of a certain common node exceeds the verification workload, selecting the anchor node as the anchor node if the matching degree meets the requirement, re-selecting the anchor node if the matching degree does not meet the requirement, and repeating the steps until a proper common node is selected as the anchor node;
(2) Informatization of anchor nodes: and when all the common nodes carry out transaction, synchronously updating and recording transaction behaviors on the anchor node.
2. The method of claim 1, wherein the anchor node in the blockchain is expanded by: when the block chain needs to be changed greatly to ask all the nodes to agree, the anchor node quickly sums up through an empirical model to improve the speed, before that, the authentication and the authority of the anchor node need to be set, and the empirical judgment algorithm of the anchor node is as follows:
1) An authentication module: after the anchor node is determined, the address is broadcasted to each common node, and each common node gives an anchor node authority through a consensus algorithm;
2) A judgment module: and the common nodes carry out transaction, the anchor nodes record transaction behaviors of the common nodes, after a manager makes a decision, each common node votes whether to agree with the decision, the anchor nodes record voting results in the empirical model, when the manager makes the decision again, the anchor nodes make judgment according to data in the empirical model, and each transaction node approves the judgment made by the anchor node by default.
3. A method as claimed in claim 2, wherein the anchor node in the blockchain is expanded by: and selecting anchor nodes on the side chain, and connecting the anchor nodes on the main side chain of the block chain to enable the anchor nodes to independently and freely communicate.
CN202010569482.8A 2020-06-20 2020-06-20 Expanding method for anchor node in block chain Active CN111709751B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010569482.8A CN111709751B (en) 2020-06-20 2020-06-20 Expanding method for anchor node in block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010569482.8A CN111709751B (en) 2020-06-20 2020-06-20 Expanding method for anchor node in block chain

Publications (2)

Publication Number Publication Date
CN111709751A CN111709751A (en) 2020-09-25
CN111709751B true CN111709751B (en) 2023-03-17

Family

ID=72541736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010569482.8A Active CN111709751B (en) 2020-06-20 2020-06-20 Expanding method for anchor node in block chain

Country Status (1)

Country Link
CN (1) CN111709751B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112307447A (en) * 2020-11-03 2021-02-02 平安科技(深圳)有限公司 Method, device, medium and equipment for detecting false of anchor node

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110599181A (en) * 2019-09-26 2019-12-20 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and storage medium
CN110717759A (en) * 2019-10-18 2020-01-21 成都九宽科技有限公司 Cross-chain anchored block chain heterogeneous system
WO2020045799A1 (en) * 2018-08-31 2020-03-05 주식회사 파이랩테크놀로지 Device for anchoring blockchain

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10838595B2 (en) * 2011-12-29 2020-11-17 Brandon E. D'Amore Stranded blockchain
US9654378B2 (en) * 2013-10-24 2017-05-16 Sas Institute Inc. Link addition to a network of linked nodes
US10681603B2 (en) * 2016-04-22 2020-06-09 Telefonaktiebolaget Lm Ericsson (Publ) Method and network element for handover of user plane traffic
US20180234839A1 (en) * 2017-02-13 2018-08-16 Futurewei Technologies, Inc. System and Method for User Equipment Identification and Communications

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020045799A1 (en) * 2018-08-31 2020-03-05 주식회사 파이랩테크놀로지 Device for anchoring blockchain
CN110599181A (en) * 2019-09-26 2019-12-20 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and storage medium
CN110717759A (en) * 2019-10-18 2020-01-21 成都九宽科技有限公司 Cross-chain anchored block chain heterogeneous system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张臻 ; .分布式移动性管理框架在EPS系统的设计与实现.(第06期), *

Also Published As

Publication number Publication date
CN111709751A (en) 2020-09-25

Similar Documents

Publication Publication Date Title
US11836616B2 (en) Auditable privacy protection deep learning platform construction method based on block chain incentive mechanism
CN108833081B (en) Block chain-based equipment networking authentication method
CN111464518B (en) Method and device for sending and verifying cross-link communication data
CN100518411C (en) Dynamic cipher system and method based on mobile communication terminal
CN105426775B (en) A kind of method and system for protecting smart mobile phone information security
CN110097467A (en) A kind of side chain test method for intelligent contract safety and stability
Asfia et al. Energy trading of electric vehicles using blockchain and smart contracts
CN112270550A (en) New energy electric power source tracing method and system based on block chain
US20210073796A1 (en) Method of selective authentication of a blockchain user with a smart contract
CN108768647A (en) A kind of random-number generating method and system of block chain
CN106716968A (en) Account management method, device and account management system
CN111709751B (en) Expanding method for anchor node in block chain
CN110555783B (en) Block chain-based electric power marketing data protection method and system
CN111597167A (en) Big data management system and method applying block chain technology
CN112598488A (en) Tax data checking and storing method and device based on block chain and storage medium
CN106971092A (en) USB encryption card management systems based on cloud platform
KR102258064B1 (en) System and method for providing hybrid blockchain based aircraft control service
CN114169888B (en) Universal type cryptocurrency custody method supporting multiple signatures
CN102013976B (en) Key management method and system
CN112990481B (en) Automatic evaluation method for machine learning model based on block chain
CN113626842A (en) Block chain system for realizing password service based on password card and storage medium
CN106097600A (en) Device management method based on ATL, system and financial self-service equipment
KR20210127231A (en) Energized Identity based blockchain
CN201100948Y (en) Dynamic validation system and device for client identity under C/S architecture
CN206388180U (en) A kind of server with signature sign test function

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