CN111524005B - A blockchain-based handle identification system and data processing method - Google Patents
A blockchain-based handle identification system and data processing method Download PDFInfo
- Publication number
- CN111524005B CN111524005B CN202010294862.5A CN202010294862A CN111524005B CN 111524005 B CN111524005 B CN 111524005B CN 202010294862 A CN202010294862 A CN 202010294862A CN 111524005 B CN111524005 B CN 111524005B
- Authority
- CN
- China
- Prior art keywords
- handle
- information
- server
- identification
- code
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 18
- 238000004458 analytical method Methods 0.000 claims description 7
- 230000007246 mechanism Effects 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 abstract description 12
- 238000000034 method Methods 0.000 abstract description 3
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- Bioethics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- General Business, Economics & Management (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及handle标识领域,具体涉及一种基于区块链的handle标识系统及数据处理方法。The invention relates to the field of handle identification, in particular to a block chain-based handle identification system and a data processing method.
背景技术Background technique
作为下一代互联网底层共性技术,handle标识系统具有兼容性、可扩展性、国际接轨、自主可控等特点和优势,通过标识注册、解析、信息管理等功能,可以实现对物理上分散的分布式数据资源实现按需整合与共享,且实现成本低;handle标识系统可应用于物联网中。handle标识系统提供解析服务和发现服务,实现所有网络相关应用信息资源的寻址访问,从而实现网络中资源信息的获得。但是现有的handle标识系统并没有考虑到隐私与安全问题,而隐私和安全是网络服务能否被广泛使用的前提,如何保障网络海量数据的安全和用户的隐私是网络应用发展必须解决的重要问题。As the underlying common technology of the next-generation Internet, the handle identification system has the characteristics and advantages of compatibility, scalability, international standards, and independent controllability. Through functions such as identification registration, analysis, and information management, it can realize the physical distribution of distributed Data resources can be integrated and shared on demand, and the implementation cost is low; the handle identification system can be applied to the Internet of Things. The handle identification system provides analysis service and discovery service, realizes the addressing and access of all network-related application information resources, and thus realizes the acquisition of resource information in the network. However, the existing handle identification system does not take into account privacy and security issues. Privacy and security are the prerequisites for the widespread use of network services. How to ensure the security of massive network data and user privacy is an important issue that must be solved in the development of network applications. question.
发明内容Contents of the invention
针对现有技术的上述不足,本发明提供了一种基于区块链的handle标识系统,其可保障网络数据安全。Aiming at the above-mentioned deficiencies of the prior art, the present invention provides a handle identification system based on blockchain, which can guarantee the security of network data.
为达到上述发明目的,本发明所采用的技术方案为:In order to achieve the above-mentioned purpose of the invention, the technical scheme adopted in the present invention is:
一种基于区块链的handle标识系统的数据处理方法,其特征在于,包括以下步骤:A data processing method based on a blockchain-based handle identification system, characterized in that it comprises the following steps:
Handle服务平台接收携带handle标识码的设备上报信息查询请求;The Handle service platform receives the information query request reported by the device carrying the handle identification code;
handle标识前缀码定位到本地服务集群中的解析服务器;handle标识码包含handle标识前缀码和handle标识后缀码;The handle identification prefix code locates the parsing server in the local service cluster; the handle identification code includes the handle identification prefix code and the handle identification suffix code;
解析服务器向对应的发现服务器发送所述设备上报信息查询请求;The parsing server sends the device report information query request to the corresponding discovery server;
发现服务器根据handle标识后缀码查找该handle标识后缀码对应的信息服务器;The discovery server searches for the information server corresponding to the handle identification suffix code according to the handle identification suffix code;
信息服务器通过区块链客户端,根据handle标识后缀码从区块链网络中获取设备写入区块链网络中的上报信息。Through the blockchain client, the information server obtains the reported information written by the device into the blockchain network from the blockchain network according to the handle identification suffix code.
作为一种可选的实施方式,在本发明实施例第一方面中,As an optional implementation manner, in the first aspect of the embodiment of the present invention,
Handle服务平台接收携带handle标识后缀码的设备上报信息查询请求,包括:The Handle service platform receives the information query request reported by the device carrying the handle identification suffix code, including:
Handle服务平台从handle标识客户端接收携带handle标识后缀码的设备上报信息查询请求。The Handle service platform receives, from the handle identification client, the device reporting information query request carrying the handle identification suffix code.
作为一种可选的实施方式,在本发明实施例第一方面中,信息服务器通过区块链客户端,根据handle标识后缀码从区块链网络中,获取设备写入区块链网络中的上报信息,包括:As an optional implementation, in the first aspect of the embodiment of the present invention, the information server obtains the information written by the device in the blockchain network from the blockchain network according to the handle identification suffix code through the blockchain client. Report information, including:
信息服务器通过区块链客户端,根据预先记录的handle标识后缀码与设备上报信息的对应关系,从区块链网络中,获取设备写入区块链网络中的上报信息。Through the blockchain client, the information server obtains the reported information written by the equipment into the blockchain network from the blockchain network according to the corresponding relationship between the pre-recorded handle identification suffix code and the information reported by the device.
作为一种可选的实施方式,在本发明实施例第一方面中,获取设备写入区块链网络中的上报信息,之后还包括:As an optional implementation, in the first aspect of the embodiment of the present invention, the acquisition of the reporting information written by the device in the blockchain network, and then further includes:
信息服务器向Handle服务平台发送上报信息;The information server sends the reporting information to the Handle service platform;
Handle服务平台向handle标识客户端发送上报信息。The Handle service platform sends reporting information to the handle identification client.
作为一种可选的实施方式,在本发明实施例第一方面中,数据处理方法还包括:As an optional implementation manner, in the first aspect of the embodiments of the present invention, the data processing method further includes:
Handle服务平台接收handle标识客户端发送的设备厂商标识注册请求;The Handle service platform receives the device manufacturer identification registration request sent by the handle identification client;
注册服务器生成设备厂商标识注册请求的基于区块链的handle标识后缀码;将所述handle标识后缀码和设备厂商的对应关系告诉解析服务器;The registration server generates the block chain-based handle identification suffix code of the equipment manufacturer identification registration request; the parsing server is informed of the corresponding relationship between the handle identification suffix code and the equipment manufacturer;
解析服务器对设备厂商分配发现服务器,并记录所述handle标识后缀码与发现服务器的地址;The parsing server assigns a discovery server to the device manufacturer, and records the handle identification suffix code and the address of the discovery server;
发现服务器找到设备厂商的信息服务器,记录handle标识后缀码与信息服务器的地址,并向handle标识客户端反馈注册成功信息。The discovery server finds the information server of the equipment manufacturer, records the handle identification suffix code and the address of the information server, and feeds back the successful registration information to the handle identification client.
作为一种可选的实施方式,在本发明实施例第一方面中,信息服务器通过区块链客户端,将使用Solidity语言编写设备上传信息规则的智能合约,编译成EVM字节码;把编译后的智能合约部署到区块链网络当中,接收部署成功后返回的合约地址。As an optional implementation, in the first aspect of the embodiment of the present invention, the information server compiles the smart contract using the Solidity language to write the device upload information rules into EVM bytecode through the blockchain client; The final smart contract is deployed to the blockchain network, and the contract address returned after successful deployment is received.
作为一种可选的实施方式,在本发明实施例第一方面中,把编译后的智能合约部署到区块链网络当中,接收部署成功后返回的合约地址,之后还包括:As an optional implementation, in the first aspect of the embodiment of the present invention, deploy the compiled smart contract to the blockchain network, receive the contract address returned after successful deployment, and then include:
设备通过合约地址调用部署到区块链网络当中的智能合约,根据智能合约把上传信息写入区块链网络中。The device calls the smart contract deployed in the blockchain network through the contract address, and writes the uploaded information into the blockchain network according to the smart contract.
作为一种可选的实施方式,在本发明实施例第一方面中,设备为接入物联网的物理设备、或接入物联网的虚拟数字设备;As an optional implementation, in the first aspect of the embodiment of the present invention, the device is a physical device connected to the Internet of Things, or a virtual digital device connected to the Internet of Things;
区块链网络为运行在区块链平台上的公链网络,或运营者自行创建的私链网络;The blockchain network is a public chain network running on the blockchain platform, or a private chain network created by the operator itself;
区块链网络通过共识机制、智能合约、加密签名算法和分布式数据库,实现设备上报信息的防篡改;Through the consensus mechanism, smart contract, encrypted signature algorithm and distributed database, the blockchain network realizes the anti-tampering of the information reported by the equipment;
上报信息包括上报元数据信息、或URL信息。The reported information includes reported metadata information or URL information.
本发明还提供一种基于区块链的handle标识系统,包括Handle服务平台、解析服务器、发现服务器、信息服务器:The present invention also provides a blockchain-based handle identification system, including a Handle service platform, an analysis server, a discovery server, and an information server:
Handle服务平台,用于接收携带handle标识后缀码的设备上报信息查询请求,根据handle标识前缀定位到本地服务集群中的解析服务器;handle标识码包含handle标识前缀码和handle标识后缀码;The Handle service platform is used to receive the information query request reported by the device carrying the handle identification suffix code, and locate the analysis server in the local service cluster according to the handle identification prefix; the handle identification code includes the handle identification prefix code and the handle identification suffix code;
解析服务器,用于向对应的发现服务器发送设备上报信息查询请求;The parsing server is used to send a device report information query request to the corresponding discovery server;
发现服务器,用于根据handle标识后缀码查找该handle标识后缀码对应的信息服务器;A discovery server is used to search for an information server corresponding to the handle identification suffix code according to the handle identification suffix code;
信息服务器用于通过区块链客户端,根据handle标识后缀码从区块链网络中,获取设备写入区块链网络中的上报信息。The information server is used to obtain the reported information written by the device into the blockchain network from the blockchain network according to the handle identification suffix code through the blockchain client.
优选的,handle标识系统还包括注册服务器;Preferably, the handle identification system also includes a registration server;
Handle服务平台,还用于接收handle标识客户端发送的设备厂商标识注册请求;The Handle service platform is also used to receive the equipment manufacturer identification registration request sent by the handle identification client;
注册服务器,用于生成设备厂商标识注册请求的基于区块链的handle标识后缀码;将所述handle标识后缀码和设备厂商的对应关系告诉解析服务器;The registration server is used to generate the block chain-based handle identification suffix code of the equipment manufacturer identification registration request; the parsing server is informed of the corresponding relationship between the handle identification suffix code and the equipment manufacturer;
解析服务器,还用于对设备厂商分配发现服务器,记录所述handle标识后缀码与发现服务器的地址;The parsing server is also used to assign a discovery server to the equipment manufacturer, and record the handle identification suffix code and the address of the discovery server;
发现服务器,还用于找到设备厂商的信息服务器,记录handle标识后缀码与信息服务器的地址,并向handle标识客户端反馈注册成功信息;The discovery server is also used to find the information server of the device manufacturer, record the handle identification suffix code and the address of the information server, and feedback the successful registration information to the handle identification client;
信息服务器,还用于通过区块链客户端,将使用Solidity语言编写设备上传信息规则的智能合约,编译成EVM字节码;把编译后的智能合约部署到区块链网络当中,接收部署成功后返回的合约地址。The information server is also used to compile the smart contract using the Solidity language to write the device upload information rules into EVM bytecode through the blockchain client; deploy the compiled smart contract to the blockchain network, and the deployment is successful The contract address returned later.
本发明的有益效果为:Handle服务平台接收到设备上报信息查询请求,信息服务器的区块链客户端根据设备上报信息查询请求中handle标识后缀码从区块链网络中获取设备写入区块链网络中的上报信息,本技术方案将handle标识系统与区块链技术相结合,利用区块链技术,保障网络数据安全。The beneficial effects of the present invention are: the Handle service platform receives the equipment report information query request, and the block chain client of the information server obtains the device from the block chain network and writes it into the block chain according to the handle identification suffix code in the device report information query request For reporting information in the network, this technical solution combines the handle identification system with blockchain technology, and uses blockchain technology to ensure network data security.
附图说明Description of drawings
图1为本发明一种基于区块链的handle标识系统的结构原理图;Fig. 1 is a structural schematic diagram of a block chain-based handle identification system of the present invention;
图2为本发明一种基于区块链的handle标识系统的数据处理方法的流程图;Fig. 2 is the flow chart of the data processing method of a kind of handle identification system based on block chain of the present invention;
图3为本发明一种基于区块链的handle标识系统的数据处理方法的另一流程图。Fig. 3 is another flowchart of a data processing method of a blockchain-based handle identification system according to the present invention.
具体实施方式Detailed ways
下面对本发明的具体实施方式进行描述,以便于本技术领域的技术人员理解本发明,但应该清楚,本发明不限于具体实施方式的范围,对本技术领域的普通技术人员来讲,只要各种变化在所附的权利要求限定和确定的本发明的精神和范围内,这些变化是显而易见的,一切利用本发明构思的发明创造均在保护之列。The specific embodiments of the present invention are described below so that those skilled in the art can understand the present invention, but it should be clear that the present invention is not limited to the scope of the specific embodiments. For those of ordinary skill in the art, as long as various changes Within the spirit and scope of the present invention defined and determined by the appended claims, these changes are obvious, and all inventions and creations using the concept of the present invention are included in the protection list.
实施例1Example 1
为了更好的理解本发明公开的一种基于区块链的handle标识系统,具体可参见图1。For a better understanding of a blockchain-based handle identification system disclosed in the present invention, please refer to FIG. 1 for details.
作为一个实施例,一种基于区块链的handle标识系统,包括Handle服务平台、解析服务器、发现服务器、信息服务器。该实施例的handle标识系统可实现数据查询。As an embodiment, a blockchain-based handle identification system includes a Handle service platform, a parsing server, a discovery server, and an information server. The handle identification system of this embodiment can realize data query.
Handle服务平台,用于接收携带handle标识码的设备上报信息查询请求,根据handle标识前缀定位到本地服务集群中的解析服务器;handle标识码包含handle标识前缀码和handle标识后缀码。解析服务器,用于向对应的发现服务器发送设备上报信息查询请求。The Handle service platform is used to receive the information query request reported by the device carrying the handle identifier code, and locate the analysis server in the local service cluster according to the handle identifier prefix; the handle identifier code includes the handle identifier prefix code and the handle identifier suffix code. The parsing server is configured to send a device reporting information query request to a corresponding discovery server.
发现服务器,用于根据handle标识后缀码查找该handle标识后缀码对应的信息服务器。The discovery server is configured to search for an information server corresponding to the handle identification suffix code according to the handle identification suffix code.
信息服务器,用于通过区块链客户端,根据handle标识后缀码从区块链网络中,获取设备写入区块链网络中的上报信息。在本实施例中,区块链客户端可以为geth用户端(GoEthereum开源项目的简称),是使用Go语言编写且实现了Ethereum协议的客户端软件。作为一个实施方式,区块链客户端,用于读取预先记录的handle标识后缀码与设备上报信息的对应关系,使用对应关系从区块链网络中,获取设备写入区块链网络中的上报信息。The information server is used to obtain the reported information written by the device into the blockchain network from the blockchain network according to the handle identification suffix code through the blockchain client. In this embodiment, the block chain client can be a geth client (abbreviation of GoEthereum open source project), which is a client software written in Go language and implementing the Ethereum protocol. As an implementation, the blockchain client is used to read the corresponding relationship between the pre-recorded handle identification suffix code and the information reported by the device, and use the corresponding relationship to obtain the information written by the device into the blockchain network from the blockchain network. Report information.
作为一个实施例,信息服务器,还用于向Handle服务平台发送上报信息;Handle服务平台,还用于向handle标识客户端发送上报信息。As an embodiment, the information server is further configured to send the reporting information to the Handle service platform; the Handle service platform is further configured to send the reporting information to the handle identification client.
作为一个实施例,一种基于区块链的handle标识系统,包括Handle服务平台、注册服务器、解析服务器、发现服务器、信息服务器。该实施例的handle标识系统可实现标识注册。其中,注册服务器、解析服务器、发现服务器、信息服务器,组成本地服务器集群。As an embodiment, a blockchain-based handle identification system includes a Handle service platform, a registration server, a parsing server, a discovery server, and an information server. The handle identification system of this embodiment can realize identification registration. Among them, the registration server, parsing server, discovery server, and information server form a local server cluster.
Handle服务平台,还用于接收handle标识客户端发送的设备厂商标识注册请求。The Handle service platform is also used to receive the device manufacturer identification registration request sent by the handle identification client.
注册服务器,用于生成设备厂商标识注册请求的基于区块链的handle标识后缀码;将所述handle标识后缀码和设备厂商的对应关系告诉解析服务器。作为一个实施方式,注册服务器可以用于生成设备厂商标识注册请求的handle标识,handle标识包括handle前缀码及handle后缀码,handle后缀码是基于区块链的handle编码(简称:BCIC_ID)。The registration server is used to generate the block chain-based handle identification suffix code of the equipment manufacturer identification registration request; and inform the parsing server of the corresponding relationship between the handle identification suffix code and the equipment manufacturer. As an implementation, the registration server can be used to generate a handle ID for the device manufacturer ID registration request. The handle ID includes a handle prefix code and a handle suffix code. The handle suffix code is a handle code based on the blockchain (abbreviation: BCIC_ID).
解析服务器,还用于对设备厂商分配发现服务器,记录所述handle标识后缀码与发现服务器的地址。The parsing server is also used to assign a discovery server to the device manufacturer, and record the handle identification suffix code and the address of the discovery server.
发现服务器,还用于找到设备厂商的信息服务器,记录handle标识后缀码与信息服务器的地址,向handle标识客户端反馈注册成功信息。The discovery server is also used to find the information server of the equipment manufacturer, record the suffix code of the handle identification and the address of the information server, and feedback the successful registration information to the handle identification client.
信息服务器,还用于通过区块链客户端,将使用Solidity语言编写设备上传信息规则的智能合约,编译成EVM字节码;把编译后的智能合约部署到区块链网络当中,接收部署成功后返回的合约地址。The information server is also used to compile the smart contract using the Solidity language to write the device upload information rules into EVM bytecode through the blockchain client; deploy the compiled smart contract to the blockchain network, and the deployment is successful The contract address returned later.
作为一个实施例,handle标识系统,还包括设备,当检测到设备状态改变时,通过合约地址调用部署到区块链网络当中的智能合约,根据智能合约把上传信息写入区块链网络中。As an embodiment, the handle identification system also includes a device. When a device status change is detected, the smart contract deployed in the blockchain network is invoked through the contract address, and the uploaded information is written into the blockchain network according to the smart contract.
作为一个实施方式,上述设备为接入物联网的物理设备、或接入物联网的虚拟数字设备;当然,设备也可以为接入互联网的设备。本技术方案可应用于物联网、互联网、广域网等网络。As an embodiment, the above-mentioned device is a physical device connected to the Internet of Things, or a virtual digital device connected to the Internet of Things; of course, the device may also be a device connected to the Internet. The technical solution can be applied to networks such as the Internet of Things, the Internet, and a wide area network.
作为一个实施方式,上述区块链网络为运行在区块链平台上的公链网络,或运营者自行创建的私链网络。As an implementation, the aforementioned blockchain network is a public chain network running on a blockchain platform, or a private chain network created by the operator itself.
作为一个实施方式,上述区块链网络通过共识机制、智能合约、加密签名算法和分布式数据库,实现设备上报信息的防篡改。防篡改用到的这四个技术手段,可参考现有技术,这里不再赘述。本技术方案将现有的这四个技术手段结合在一起,可解决数据安全问题。As an implementation, the above-mentioned blockchain network realizes the anti-tampering of the information reported by the device through the consensus mechanism, smart contract, encrypted signature algorithm and distributed database. For the four technical means used in anti-tampering, reference may be made to existing technologies, and details will not be repeated here. The technical scheme combines the four existing technical means together to solve the problem of data security.
作为一个实施方式,上述上报信息包括上报元数据信息、或URL信息。当然,上报信息还可以包括其他信息。As an implementation manner, the above-mentioned reporting information includes reporting metadata information or URL information. Of course, the reported information may also include other information.
本技术方案将handle标识系统与区块链技术相结合,利用区块链技术,保障网络数据安全。区块链数据具有稳定性高、信息不可篡改等特性,保障了网络数据的安全性,保障了网络海量数据的安全和用户的隐私。This technical solution combines the handle identification system with blockchain technology, and uses blockchain technology to ensure network data security. Blockchain data has the characteristics of high stability and non-tamperable information, which guarantees the security of network data, the security of massive network data and the privacy of users.
实施例2Example 2
本实施例与实施例1基于同一发明构思,本实施例与实施例1的相关内容,可相互参考。本实施例的基于区块链的handle标识系统的数据处理方法,包括:This embodiment and Embodiment 1 are based on the same inventive concept, and relevant content of this embodiment and Embodiment 1 may be referred to each other. The data processing method of the block chain-based handle identification system of the present embodiment includes:
101、Handle服务平台接收携带handle标识码的设备上报信息查询请求。101. The Handle service platform receives the information query request reported by the device carrying the handle identification code.
作为一个实施方式,Handle服务平台接收携带handle标识码的设备上报信息查询请求为Handle服务平台从handle标识客户端接收携带handle标识码的设备上报信息查询请求。handle标识客户端可运行标识客户程序。As an embodiment, the Handle service platform receives the device report information query request carrying the handle identification code as the Handle service platform receives the device report information query request carrying the handle identification code from the handle identification client. handle identifies the client program that can be run to identify the client.
102、根据handle标识前缀码定位到本地服务集群中的解析服务器。102. Locate the resolution server in the local service cluster according to the handle identification prefix code.
本实施例中,handle标识码包含handle标识前缀码和handle标识后缀码;所述handle标识前缀码用于定位到本地服务集群中的解析服务器。In this embodiment, the handle identification code includes a handle identification prefix code and a handle identification suffix code; the handle identification prefix code is used to locate the resolution server in the local service cluster.
103、解析服务器向对应的发现服务器发送所述设备上报信息查询请求。103. The parsing server sends the device report information query request to the corresponding discovery server.
本实施例中,解析服务器接收到所述设备上报信息查询请求后,向对应的发现服务器发送所述设备上报信息查询请求。In this embodiment, after receiving the device report information query request, the parsing server sends the device report information query request to the corresponding discovery server.
104、发现服务器根据handle标识后缀码查找该handle标识后缀码对应的信息服务器。104. The discovery server searches for an information server corresponding to the handle identifier suffix code according to the handle identifier suffix code.
本实施例中,发现服务器接收到设备上报的查询请求,根据handle标识后缀码查询记录后得出该标识对应的信息服务器地址。In this embodiment, the discovery server receives the query request reported by the device, searches the record according to the suffix code of the handle ID, and obtains the address of the information server corresponding to the ID.
105、信息服务器,通过区块链客户端根据handle标识后缀码从区块链网络中获取设备写入区块链网络中的上报信息。105. The information server obtains the reported information written by the device into the blockchain network from the blockchain network through the blockchain client according to the handle identification suffix code.
本实施例中,信息服务器,通过区块链客户端根据handle标识后缀码从区块链网络中获取设备写入区块链网络中的上报信息包括:过区块链客户端,根据预先记录的handle标识后缀码与设备上报信息的对应关系,从区块链网络中,获取所述设备写入区块链网络中的上报信息。作为一个实施例,步骤105之后,信息服务器向Handle服务平台发送上报信息;Handle服务平台向handle标识客户端发送上报信息。In this embodiment, the information server, through the block chain client, obtains the reported information written by the device from the block chain network according to the handle identification suffix code into the block chain network. The handle identifies the corresponding relationship between the suffix code and the information reported by the device, and obtains the reported information written by the device into the blockchain network from the blockchain network. As an embodiment, after step 105, the information server sends the reporting information to the Handle service platform; the Handle service platform sends the reporting information to the handle identification client.
本技术方案将handle标识系统与区块链技术相结合,利用handle标识码,保障网络数据安全。This technical solution combines the handle identification system with blockchain technology, and uses the handle identification code to ensure network data security.
实施例3Example 3
本实施例的一种基于区块链的handle标识系统的数据处理方法,在实施例2的基础上,还可以包括如下步骤:A data processing method of a block chain-based handle identification system of this embodiment, on the basis of Embodiment 2, may also include the following steps:
201、Handle服务平台接收handle标识客户端发送的设备厂商标识注册请求。即每个设备厂商通过标识客户端向handle服务平台进行标识注册。201. The Handle service platform receives the device manufacturer identification registration request sent by the handle identification client. That is, each device manufacturer registers with the handle service platform through the identification client.
202、注册服务器生成设备厂商标识注册请求的基于区块链的handle标识后缀码;将所述handle标识后缀码和设备厂商的对应关系告诉解析服务器。202. The registration server generates a blockchain-based handle identification suffix code for the equipment manufacturer identification registration request; and informs the parsing server of the corresponding relationship between the handle identification suffix code and the equipment manufacturer.
203、解析服务器对设备厂商分配发现服务器,记录所述handle标识后缀码与发现服务器的地址。203. The resolution server assigns a discovery server to the device manufacturer, and records the handle identifier suffix code and the address of the discovery server.
204、发现服务器找到设备厂商的信息服务器,记录handle标识后缀码与信息服务器的地址,向handle标识客户端反馈注册成功信息。204. The discovery server finds the information server of the device manufacturer, records the handle identifier suffix code and the address of the information server, and feeds back registration success information to the handle identifier client.
进一步,在本实施例中,信息服务器的区块链客户端将使用Solidity语言编写设备上传信息规则的智能合约,编译成EVM字节码;编译完成后,信息服务器把编译后的智能合约部署到区块链网络当中,并接收部署成功后返回的合约地址。Further, in this embodiment, the blockchain client of the information server will use the Solidity language to write the smart contract of the device upload information rules, and compile it into EVM bytecode; after the compilation is completed, the information server will deploy the compiled smart contract to In the blockchain network, and receive the contract address returned after successful deployment.
作为一个实施例,在把编译后的智能合约部署到区块链网络当中,接收部署成功后返回的合约地址步骤之后,还包括:As an embodiment, after deploying the compiled smart contract to the blockchain network and receiving the contract address returned after successful deployment, it also includes:
设备通过合约地址调用部署到区块链网络当中的智能合约,根据智能合约把上传信息写入区块链网络中。The device calls the smart contract deployed in the blockchain network through the contract address, and writes the uploaded information into the blockchain network according to the smart contract.
作为一个实施方式,上述设备为接入物联网的物理设备、或接入物联网的虚拟数字设备;区块链网络为运行在区块链平台上的公链网络,或运营者自行创建的私链网络;区块链网络通过共识机制、智能合约、加密签名算法和分布式数据库,实现设备上报信息的防篡改;上报信息包括上报元数据信息、或URL信息。As an implementation, the above-mentioned devices are physical devices connected to the Internet of Things, or virtual digital devices connected to the Internet of Things; the blockchain network is a public chain network running on a blockchain platform, or a private network created by the operator. Blockchain network; the blockchain network realizes the tamper-proof of the information reported by the device through the consensus mechanism, smart contract, encrypted signature algorithm and distributed database; the reported information includes the reported metadata information or URL information.
本技术方案将handle标识系统与区块链技术相结合,利用handle标识后缀码,保障网络数据安全。This technical solution combines the handle identification system with blockchain technology, and uses the handle identification suffix code to ensure network data security.
由于区块链是一种去中心化的、多方参与的、分布式账本技术,其底层一张P2P网络,区块链的数据稳定性和可靠性高,信息不可篡改,一旦信息经过验证并添加至区块链,就会永久存储起来,除非能够同时控制系统中超过51%的节点,否者单个节点对数据的修改是无效的。本技术方案通过与区块链技术相结合,利用区块链数据稳定性高、信息不可篡改等特性,保障了物联网数据的安全性,保障了物联网海量数据的安全和用户的隐私。Since the blockchain is a decentralized, multi-participating, distributed ledger technology, its bottom layer is a P2P network, the data stability and reliability of the blockchain are high, and the information cannot be tampered with. Once the information is verified and added To the blockchain, it will be permanently stored, unless more than 51% of the nodes in the system can be controlled at the same time, otherwise the modification of the data by a single node is invalid. This technical solution is combined with blockchain technology and utilizes the characteristics of high data stability and non-tamperable information of blockchain to ensure the security of IoT data, the security of massive IoT data and the privacy of users.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括存储器、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium, and the storage medium can include memory, disk or CD, etc.
最后应说明的是:本发明实施例公开的内容所揭露的仅为本发明较佳实施例而已,仅用于说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解;其依然可以对前述各项实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或替换,并不使相应的技术方案的本质脱离奔放各项实施例技术方案的精神和范围。Finally, it should be noted that: the disclosed content of the embodiments of the present invention is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, not to limit it; although the present invention is described with reference to the foregoing embodiments After a detailed description, those skilled in the art should understand; they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make The essence of the corresponding technical solutions deviates from the spirit and scope of the technical solutions of the various embodiments of Bunfang.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010294862.5A CN111524005B (en) | 2020-04-15 | 2020-04-15 | A blockchain-based handle identification system and data processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010294862.5A CN111524005B (en) | 2020-04-15 | 2020-04-15 | A blockchain-based handle identification system and data processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111524005A CN111524005A (en) | 2020-08-11 |
CN111524005B true CN111524005B (en) | 2023-08-08 |
Family
ID=71912040
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010294862.5A Active CN111524005B (en) | 2020-04-15 | 2020-04-15 | A blockchain-based handle identification system and data processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111524005B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112491855B (en) * | 2020-11-19 | 2023-04-07 | 中国联合网络通信集团有限公司 | Method and device for determining handle identifier analysis state |
CN112667928B (en) * | 2020-12-11 | 2024-05-24 | 北京中数创新科技股份有限公司 | Prefix and identification data secure subscription method and system based on Handle system |
CN112632064B (en) * | 2020-12-17 | 2024-07-26 | 北京中数创新科技股份有限公司 | Block chain enhancement method and system based on handle system |
CN113301185B (en) * | 2021-07-27 | 2021-10-15 | 深圳市数标国际科技有限公司 | Industrial Internet identification analysis system and method based on alliance block chain |
CN113596626B (en) * | 2021-08-24 | 2022-10-21 | 北京理工大学 | An intelligent plantar pressure detection system based on logo registration analysis |
CN114218607A (en) * | 2021-12-24 | 2022-03-22 | 杭州数梦工场科技有限公司 | Data processing method and device |
CN114329586B (en) * | 2021-12-24 | 2025-04-18 | 杭州数梦工场科技有限公司 | Data processing method and device |
CN114328984B (en) * | 2021-12-31 | 2024-04-12 | 北京迈高材云科技有限公司 | Real-time processing method and system for technological resource identification based on handle |
CN115146137A (en) * | 2022-07-29 | 2022-10-04 | 中国工商银行股份有限公司 | Blockchain-based data identification method and device, processor and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002060110A2 (en) * | 2001-01-25 | 2002-08-01 | David Sidman | Apparatus, method, and system for accessing digital rights management information |
CN110135194A (en) * | 2019-05-20 | 2019-08-16 | 北京邮电大学 | A management method for industrial Internet digital objects based on blockchain |
CN110268678A (en) * | 2017-02-14 | 2019-09-20 | 科因普拉格株式会社 | The method by the login of the authentication proxy user based on PKI and the server using it using intelligent contract and block chain database |
CN110941611A (en) * | 2019-11-06 | 2020-03-31 | 四川长虹电器股份有限公司 | Identification analysis system implementation method based on block chain technology and identification coding technology |
CN110955725A (en) * | 2019-11-25 | 2020-04-03 | 北京工业大学 | Industrial internet identification analysis root node data synchronization method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8914415B2 (en) * | 2010-01-29 | 2014-12-16 | International Business Machines Corporation | Serial and parallel methods for I/O efficient suffix tree construction |
-
2020
- 2020-04-15 CN CN202010294862.5A patent/CN111524005B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002060110A2 (en) * | 2001-01-25 | 2002-08-01 | David Sidman | Apparatus, method, and system for accessing digital rights management information |
CN110268678A (en) * | 2017-02-14 | 2019-09-20 | 科因普拉格株式会社 | The method by the login of the authentication proxy user based on PKI and the server using it using intelligent contract and block chain database |
CN110135194A (en) * | 2019-05-20 | 2019-08-16 | 北京邮电大学 | A management method for industrial Internet digital objects based on blockchain |
CN110941611A (en) * | 2019-11-06 | 2020-03-31 | 四川长虹电器股份有限公司 | Identification analysis system implementation method based on block chain technology and identification coding technology |
CN110955725A (en) * | 2019-11-25 | 2020-04-03 | 北京工业大学 | Industrial internet identification analysis root node data synchronization method |
Non-Patent Citations (1)
Title |
---|
Wenbo Wang et al.A survey on Consensus Mechanisms and Mining Stratety Management in Blockchain Networks.《IEEE Access》.2019,第7卷第22328-22370页. * |
Also Published As
Publication number | Publication date |
---|---|
CN111524005A (en) | 2020-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111524005B (en) | A blockchain-based handle identification system and data processing method | |
CN107431651B (en) | Life cycle management method and equipment for network service | |
US9843629B2 (en) | System and method for protocol support in a multitenant application server environment | |
TW527545B (en) | A method and system for software and hardware multiplicity | |
CN110138606B (en) | Container network configuration method and system | |
US20080103977A1 (en) | Digital rights management for distributed devices | |
CN102035815B (en) | Data acquisition method, access node and system | |
JP2011188486A (en) | Peer-to-peer graph management interface and method | |
CN103150154B (en) | The implementation method and device of a kind of application plug | |
CN109040337A (en) | A kind of information query method, Edge Server and information query system | |
JP3899076B2 (en) | Temporary network | |
CN103118073B (en) | Virtual machine data persistence storage system and method in cloud environment | |
CN113259453B (en) | Cross-chain interaction method and device | |
CN111752681A (en) | Request processing method, apparatus, server, and computer-readable storage medium | |
WO2023040450A1 (en) | Blockchain service network establishment | |
CN111026567A (en) | Blockchain-based handle identification coding system and method | |
WO2023040498A1 (en) | User service utilization | |
CN112965859A (en) | Data disaster recovery method and equipment based on IPFS cluster | |
CN113923232A (en) | Information synchronization method and device for block chain sub-network | |
CN114710350A (en) | Allocation method and device for callable resources | |
US20110153787A1 (en) | Information technology asset management | |
CN101304392A (en) | A parallel application service gateway, system and method for media asset management | |
CN114363162A (en) | Block chain log generation method and device, electronic equipment and storage medium | |
CN115225641B (en) | Client load balancing method and system for Kong adaptation Nacos | |
JP2025502904A (en) | DATA PROCESSING METHOD, APPARATUS, ELECTRONIC DEVICE, AND COMPUTER PROGRAM |
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 |