CN109088954B - Distributed object identification information registration and analysis method - Google Patents

Distributed object identification information registration and analysis method Download PDF

Info

Publication number
CN109088954B
CN109088954B CN201810771691.3A CN201810771691A CN109088954B CN 109088954 B CN109088954 B CN 109088954B CN 201810771691 A CN201810771691 A CN 201810771691A CN 109088954 B CN109088954 B CN 109088954B
Authority
CN
China
Prior art keywords
node
nodes
block
block chain
transaction
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
CN201810771691.3A
Other languages
Chinese (zh)
Other versions
CN109088954A (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.)
Clp Taiji Group Co Ltd
CETC 15 Research Institute
Original Assignee
CETC 15 Research Institute
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 CETC 15 Research Institute filed Critical CETC 15 Research Institute
Priority to CN201810771691.3A priority Critical patent/CN109088954B/en
Publication of CN109088954A publication Critical patent/CN109088954A/en
Application granted granted Critical
Publication of CN109088954B publication Critical patent/CN109088954B/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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/123Applying verification of the received information received data contents, e.g. message integrity
    • 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

Landscapes

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

Abstract

The invention discloses a method for registering and analyzing distributed object identification information, which comprises the following steps of firstly, constructing a block chain network; secondly, establishing a transaction by using a node of the block chain network; thirdly, broadcasting the created transaction to other nodes in the blockchain network; the node which receives the created transaction verifies the transaction format, and the node continues broadcasting until the transaction is transmitted to the whole block chain network after the verification is passed; selecting a block chain network node to create a block under a DPOS authorized share certification mechanism; fifthly, broadcasting the created block to other nodes in the block chain network; the node receiving the block verifies the block structure, accesses the block and broadcasts the block structure to other nodes; and sixthly, sending an analysis request to a node in the block chain network through the block chain client to obtain an analysis result corresponding to the object identification information.

Description

Distributed object identification information registration and analysis method
Technical Field
The invention belongs to the technical field of Internet of things identification analysis, and particularly relates to a distributed object identification information registration and analysis method.
Background
The perception and control of the physical world are introduced into the Internet of things, so that the communication cooperation between objects and between people becomes possible. The object identification and analysis are the premise and the basis of the communication of the Internet of things. Identification refers primarily to a digital code that gives an object a unique identity. So that the application can control and manage the target object. The analysis mainly refers to a process of mapping a certain Internet of things identifier to other Internet of things identifiers or information related to the certain Internet of things identifier, and mainly solves the problem of mapping and converting the identifier.
Currently, a centralized or tree-shaped distributed network structure is mostly adopted in the field of analysis. The functions of each node in the tree-shaped distributed network structure are different, such as a local node, a root node, a top node and the like in the DNS, and different nodes provide different functions. When the parsing function is used, the final service node is selected according to the route. The centralized network structure provides services to the outside mainly through a central server.
In the current technical scheme for analyzing the identification of the internet of things, a tree or centralized network structure depends on a single service node, and the main defects are as follows: the parsing of the object must be server based, and once a single point server is attacked or deliberately altered, the parsing service will be in error. Furthermore, as the number of accessed objects or devices increases dramatically, the load of the single-point server increases, and thus the maintenance cost for the server also increases dramatically.
Disclosure of Invention
In view of this, the present invention provides a method for registering and analyzing distributed object identifier information, which can solve the problem of relying on a single-point server in registering and analyzing object identifiers in the internet of things through a blockchain technology, wherein nodes in the blockchain technology are mutually equivalent, each node can provide service to the outside in an equivalent manner, and even if a bad node occurs, the whole service is not affected.
The technical scheme for realizing the invention is as follows:
a method for registering and analyzing distributed object identification information comprises the following steps:
step one, building a block chain network;
step two, establishing a transaction by using a node of the block chain network, wherein the establishing transaction is as follows: organizing the identification information in a set transaction format;
step three, broadcasting the created transaction to other nodes in the blockchain network; after receiving the created transaction, other nodes verify the transaction format, if the transaction format passes the verification, the other nodes continue broadcasting until the created transaction is transmitted to the whole block chain network, otherwise, the other nodes do not broadcast;
selecting any node of the block chain network to create a block under a DPOS authorized share certification mechanism;
step five, broadcasting the created block to other nodes in the block chain network; the node receiving the block verifies the block structure, after the verification is passed, the node is accessed into the block and continuously broadcasts to other nodes until all the nodes are accessed into the block, namely the registration of the object identification information is completed;
and step six, sending an analysis request to a node in the block chain network through the block chain client, and acquiring an analysis result corresponding to the object identification information.
Further, the specific process of constructing the blockchain network is as follows:
selecting a plurality of main nodes which are stably operated network nodes, randomly selecting one main node for connection by a newly accessed node, acquiring a node list connected to the main node, and randomly selecting the node from the acquired list for connection.
Further, the specific process of constructing the blockchain network is as follows:
a new node designates a node for connection when accessing; acquiring a list connected to a designated node through the designated node; and randomly selecting nodes from the acquired list for connection.
Further, the set transaction format is a json data structure.
Has the advantages that:
1. the invention aims at the problem that the current identification analysis technology is greatly influenced by a single-point server, and the block chain technology is utilized, so that the analysis service is innovated in a deployment mode, the dependence on the single-point server is eliminated, all nodes of the block chain are mutually equivalent, and the data can not be falsified, therefore, the analysis node can be deployed in the same local area network with the application, and can be completed in the local area network when the analysis request is carried out, the request is not required to be carried out through the Internet, and the analysis service has the effect of avoiding the influence of Internet factors.
2. The invention sets the json data structure transaction format which is easy to expand when in implementation, so that the system has stronger expansibility on a service level.
Drawings
Fig. 1 is a schematic diagram of the identifier registration and resolution process of the present invention.
Fig. 2 is a schematic diagram of a first method for constructing a node access of a blockchain network.
Fig. 3 is a schematic diagram of a second access mode of a network node for building a block chain.
FIG. 4 is a flow chart of the identifier resolution of the present invention.
Detailed Description
The invention is described in detail below by way of example with reference to the accompanying drawings.
The implementation scheme of the invention mainly comprises three parts, namely how to construct the block chain network and how to broadcast data in the network, how to register object identification information in the block chain network and how to analyze the identification information in the block chain network. As shown in fig. 1, the method specifically comprises the following steps:
step one, building a block chain network;
the method for constructing the blockchain network mainly solves the problem of how to add a new node into the network, and two ways are provided, first, it is explained that some main nodes are stably operated by the system, and fig. 2 is an access way one: the construction process of the first mode comprises the following steps:
selecting a plurality of main nodes which are stably operated network nodes, randomly selecting one main node for connection by a newly accessed node, acquiring a node list connected to the main node, and randomly selecting the node from the acquired list for connection.
Fig. 3 is a construction mode 2:
a new node designates a node for connection when accessing; acquiring a list connected to a designated node through the designated node; and randomly selecting nodes from the acquired list for connection.
Step two, establishing a transaction by using a node of the block chain network, wherein the establishing transaction is as follows: organizing the identification information in a set transaction format; the set transaction format is a json data structure for storing information, and is used for bearing specific identification information or other data.
The object identification information needs to be written into the block chain, which also includes an update operation on the identification information. In the process, firstly, a transaction format (namely a data format) is created to carry different data and describe different operation types, the transaction creation is the first step of data writing, the related nodes need to format the identification information in the transaction format, and the identification information can be written into the block chain by means of transaction when the transaction format exists.
Step three, broadcasting the created transaction to other nodes in the blockchain network; after receiving the created transaction, other nodes verify the transaction format;
after the transaction is established, data needs to be transmitted to other nodes in a data broadcasting mode, after the other nodes receive the data, data verification is carried out according to certain standards to judge whether the data meet requirements, if the data meet the requirements, the data are continuously broadcasted until the data are transmitted to the whole network, otherwise, the data are not broadcasted.
Selecting any node of the block chain network to create a block under a DPOS authorized share certification mechanism;
the block is an organization form of transaction, and one block comprises a plurality of transaction messages. Firstly, the related nodes are selected according to a consensus mechanism for generating the blocks, and the invention adopts a DPOS (authorized share certification mechanism) consensus mechanism.
Step five, broadcasting the created block to other nodes in the block chain network; the node receiving the block verifies the block structure, after the verification is passed, the node is accessed into the block and continuously broadcasts to other nodes until all the nodes are accessed into the block, namely the registration of the object identification information is completed;
after the node generates the block, the node broadcasts the block to other nodes, and after the other nodes receive the block, the other nodes verify the block according to a certain standard. And after the node passes the verification of the received block, the node is accessed into the block chain network and continues to forward, and finally the object identification information is written into the block chain.
And step six, sending an analysis request to a node in the block chain network through the block chain client, and acquiring an analysis result corresponding to the object identification information.
Fig. 4 illustrates a deployment diagram of an application during identity resolution, because each node of the blockchain provides services peer to peer, when the blockchain node is redeployed, the blockchain node can be deployed in the same local area network as the application. Therefore, when the application carries out the analysis request, the analysis service node in the local area network is requested preferentially. After a certain node of the external block chain fails, the whole analysis service cannot be influenced, and the single-point server is free from constraint.
In summary, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (4)

1. A method for registering and analyzing distributed object identification information is characterized by comprising the following steps:
step one, building a block chain network;
step two, establishing a transaction by using a node of the block chain network, wherein the establishing transaction is as follows: organizing the object identification information in a set transaction format;
step three, broadcasting the created transaction to other nodes in the blockchain network; after receiving the created transaction, other nodes verify the transaction format, if the transaction format passes the verification, the other nodes continue broadcasting until the created transaction is transmitted to the whole block chain network, otherwise, the other nodes do not broadcast;
selecting any node of the block chain network to create a block under a DPOS authorized share certification mechanism;
step five, broadcasting the created block to other nodes in the block chain network; the node receiving the block verifies the block structure, after the verification is passed, the node is accessed into the block and continuously broadcasts to other nodes until all the nodes are accessed into the block, namely the registration of the object identification information is completed;
and step six, sending an analysis request to a node in the block chain network through the block chain client, and acquiring an analysis result corresponding to the object identification information.
2. The method for registering and analyzing distributed object identification information according to claim 1, wherein the specific process of constructing the block chain network comprises:
selecting a plurality of main nodes which are stably operated network nodes, randomly selecting one main node for connection by a newly accessed node, acquiring a node list connected to the main node, and randomly selecting the node from the acquired list for connection.
3. The method for registering and analyzing distributed object identification information according to claim 1, wherein the specific process of constructing the block chain network comprises:
a new node designates a node for connection when accessing; acquiring a list connected to a designated node through the designated node; and randomly selecting nodes from the acquired list for connection.
4. The method as claimed in claim 1, wherein the transaction format is json data structure.
CN201810771691.3A 2018-07-13 2018-07-13 Distributed object identification information registration and analysis method Active CN109088954B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810771691.3A CN109088954B (en) 2018-07-13 2018-07-13 Distributed object identification information registration and analysis method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810771691.3A CN109088954B (en) 2018-07-13 2018-07-13 Distributed object identification information registration and analysis method

Publications (2)

Publication Number Publication Date
CN109088954A CN109088954A (en) 2018-12-25
CN109088954B true CN109088954B (en) 2021-09-28

Family

ID=64837855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810771691.3A Active CN109088954B (en) 2018-07-13 2018-07-13 Distributed object identification information registration and analysis method

Country Status (1)

Country Link
CN (1) CN109088954B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109872152B (en) * 2019-01-11 2022-07-15 平安科技(深圳)有限公司 Block chain consensus method based on share authorization certification mechanism and related equipment
CN115658742B (en) * 2022-11-16 2023-04-07 武汉亚为电子科技有限公司 Identification analysis method and system for field-level active identification carrier

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10402792B2 (en) * 2015-08-13 2019-09-03 The Toronto-Dominion Bank Systems and method for tracking enterprise events using hybrid public-private blockchain ledgers
CN106453271B (en) * 2016-09-21 2019-05-03 江苏通付盾科技有限公司 Identity registration method and system, identity identifying method and system
US10445302B2 (en) * 2017-01-03 2019-10-15 International Business Machines Corporation Limiting blockchain size to optimize performance
CN106982203B (en) * 2017-01-06 2020-05-22 中国银联股份有限公司 Robust ATM network system based on block chain technology and information processing method thereof
CN106899680B (en) * 2017-03-09 2019-07-30 深圳壹账通智能科技有限公司 The fragment treating method and apparatus of multi-tiling chain
CN107071027A (en) * 2017-04-19 2017-08-18 济南浪潮高新科技投资发展有限公司 A kind of restructural mist node and the Internet of things system based on the mist node
CN108073829A (en) * 2017-12-29 2018-05-25 上海唯链信息科技有限公司 For recording the method for the transportation data of object, medium, internet of things equipment, block platform chain and Internet of things system
CN108134706B (en) * 2018-01-02 2020-08-18 中国工商银行股份有限公司 Block chain multi-activity high-availability system, computer equipment and method

Also Published As

Publication number Publication date
CN109088954A (en) 2018-12-25

Similar Documents

Publication Publication Date Title
CN107018127B (en) Internet of things virtual gateway compatible with multiple protocols and node access authentication method
CN102130773B (en) Group communication method and device
CN110955725B (en) Industrial Internet identification analysis root node data synchronization method
CN102882990B (en) A kind of wireless sensor network identification analytic method
CN109861861B (en) Rapid configuration method and system for network communication equipment
CN104539681A (en) Distributed GIS accelerating system and GIS service processing method
CN109088954B (en) Distributed object identification information registration and analysis method
CN101706826A (en) Method and system for realizing terminal track playback in network geographic information system
CN105634778A (en) Method and system to achieve VNF instantiation, NFVO and VNFM
CN107635221A (en) A kind of car-mounted terminal identifying processing method and device
CN110730081A (en) Block chain network-based certificate revocation method, related equipment and medium
CN111245965B (en) Data synchronization method and system
CN111107179A (en) Decentralized domain name service method, data acquisition method and system
CN102137102B (en) Realizing method of service supporting platform for supporting multiclass information publishing modes
CN103209162B (en) A kind of Web class service deployment method and device
CN105376226A (en) Streaming media server forwarding method and system
CN111866993B (en) Wireless local area network connection management method, device, software program and storage medium
WO2020244631A1 (en) Service call processing method and device
CN105337766A (en) Network element automatic discovery method and system based on DHCP
CN112702441A (en) Container-based access data processing method, device and system and storage medium
CN101986606A (en) Device and method for reconfiguration management of reconfigurable flexible network
CN115378959A (en) Data transmission method, device, electronic equipment and storage medium
CN103856932B (en) Method and system for obtaining arrearage state of user
CN111866122A (en) Micro-service processing method and device and client terminal
KR102011311B1 (en) Power system and method for transferring data using the same

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220705

Address after: 100083 No. 211 middle Fourth Ring Road, Haidian District, Beijing

Patentee after: NO.15 INSTITUTE OF CHINA ELECTRONICS TECHNOLOGY Group Corp.

Patentee after: CLP Taiji (Group) Co., Ltd

Address before: 100083 No. 211 middle Fourth Ring Road, Haidian District, Beijing

Patentee before: NO.15 INSTITUTE OF CHINA ELECTRONICS TECHNOLOGY Group Corp.