Movatterモバイル変換


[0]ホーム

URL:


CN110555129A - space image data interaction method and device based on alliance chain - Google Patents

space image data interaction method and device based on alliance chain
Download PDF

Info

Publication number
CN110555129A
CN110555129ACN201910759010.6ACN201910759010ACN110555129ACN 110555129 ACN110555129 ACN 110555129ACN 201910759010 ACN201910759010 ACN 201910759010ACN 110555129 ACN110555129 ACN 110555129A
Authority
CN
China
Prior art keywords
data
image data
tracing
interaction
space image
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.)
Granted
Application number
CN201910759010.6A
Other languages
Chinese (zh)
Other versions
CN110555129B (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.)
Guilin University of Electronic Technology
Original Assignee
Guilin University of Electronic Technology
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 Guilin University of Electronic TechnologyfiledCriticalGuilin University of Electronic Technology
Priority to CN201910759010.6ApriorityCriticalpatent/CN110555129B/en
Publication of CN110555129ApublicationCriticalpatent/CN110555129A/en
Application grantedgrantedCritical
Publication of CN110555129BpublicationCriticalpatent/CN110555129B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明提出用应,应用于多个服务器之间的数据交互,重点对空间影像数据进行数据交互的安全问题进行优化,其中方法包括:在需要进行数据交互的多个服务器之间建立共识机制,实现各个服务器的数据同步与验证;对各个服务器的空间影像数据进行编码;对预先进行编码过的数据进行跨库溯源;利用网格编码调制技术建立的数据检索方法对空间影像数据进行检索,以完成多个服务器的空间影像数据之间的交互。本发明通过基于联盟链的空间影像数据检索溯源的快速实用拜占庭容错共识算法来对空间影像数据进行快速检索并溯源,实现数据的可追溯性快速检索。

The application proposed by the present invention is applied to data interaction between multiple servers, focusing on optimizing the security issues of data interaction of spatial image data, wherein the method includes: establishing a consensus mechanism among multiple servers that need to perform data interaction, Realize the data synchronization and verification of each server; encode the spatial image data of each server; trace the source of the pre-encoded data across databases; use the data retrieval method established by the grid coding modulation technology to retrieve the spatial image data to Complete the interaction between the spatial image data of multiple servers. The invention uses a fast and practical Byzantine fault-tolerant consensus algorithm based on alliance chain-based spatial image data retrieval and traceability to quickly retrieve and trace the spatial image data, thereby realizing traceable and fast retrieval of data.

Description

Translated fromChinese
一种基于联盟链的空间影像数据交互方法及装置A method and device for spatial image data interaction based on alliance chain

技术领域technical field

本发明属于网络通信技术领域,具体涉及一种基于联盟链的空间影像数据交互方法及装 置。The invention belongs to the technical field of network communication, and in particular relates to a space image data interaction method and device based on an alliance chain.

背景技术Background technique

当今大规模数据收集面临着隐私风险,因频发的隐私数据泄露问题,数据安全越来越受 到大家的重视,数据库中存放的空间影像数据,由于涉及了大量位置信息等敏感信息,因此 需要格外注重此类型数据的安全问题,同时由于空间影像数据的数据量庞大,数据间关联性 不强,缺乏一套统一的管理机制,这对数据使用与管理方面造成了影响,在查询时耗时效率 低,因此增加了影像预处理对其进行编码和添加索引机制,方便空间影像数据统一高效的管 理和数据交互。现如今,包含丰富空间影像数据的地理信息平台众多,各平台间又缺乏一套 高效安全的交互体系,这极大的阻碍了技术的发展。Today's large-scale data collection is facing privacy risks. Due to the frequent leakage of private data, data security has attracted more and more attention. The spatial image data stored in the database involves a large amount of sensitive information such as location information, so special attention is required. Pay attention to the security issues of this type of data. At the same time, due to the huge amount of spatial image data, the correlation between data is not strong, and there is a lack of a unified management mechanism, which has an impact on data use and management, and time-consuming efficiency in querying. Therefore, image preprocessing is added to encode it and an indexing mechanism is added to facilitate unified and efficient management of spatial image data and data interaction. Nowadays, there are many geographic information platforms that contain rich spatial image data, and there is a lack of an efficient and safe interaction system among the platforms, which greatly hinders the development of technology.

发明内容Contents of the invention

鉴于以上所述现有技术的缺点,本发明的目的在于提供一种基于联盟链的空间影像数据 交互方法及装置。In view of the shortcomings of the prior art described above, the purpose of the present invention is to provide a method and device for spatial image data interaction based on alliance chains.

为实现上述目的及其他相关目的,本发明提供一种基于联盟链的空间影像数据交互方法, 应用于多个服务器之间的数据交互,多个服务器之间采用统一的检索方法,该数据交互方法 包括:In order to achieve the above purpose and other related purposes, the present invention provides a space image data interaction method based on alliance chain, which is applied to data interaction between multiple servers, and a unified retrieval method is adopted between multiple servers. The data interaction method include:

在需要进行数据交互的多个服务器之间建立共识机制,实现各个服务器的数据同步与验 证;Establish a consensus mechanism among multiple servers that need to interact with data to realize data synchronization and verification of each server;

对各个服务器的空间影像数据进行编码;Encode the spatial image data of each server;

对预先进行编码过的数据进行跨库溯源;Cross-database traceability of pre-encoded data;

利用网格编码调制技术建立的数据检索方法对空间影像数据进行检索,以完成多个服务 器的空间影像数据之间的交互。The spatial image data is retrieved by using the data retrieval method established by the trellis coding modulation technology to complete the interaction between the spatial image data of multiple servers.

可选地,每个服务器包括主节点和从属于所述主节点的多个从节点,所述建立共识机制 包括:Optionally, each server includes a master node and a plurality of slave nodes subordinate to the master node, and the consensus establishment mechanism includes:

快速提案与交互阶段:由需要进行数据交互的服务器的主节点产生提案信息,并将待交 互区块信息放入公共区域;Rapid proposal and interaction stage: the master node of the server that needs to interact with data generates proposal information, and puts the block information to be interacted into the public area;

数据同步阶段:将数据交换方放入到公共区域中的待交互区块信息进行同步,同步后的信 息被发送至从节点;Data synchronization stage: Synchronize the block information to be exchanged by the data exchange party in the public area, and the synchronized information is sent to the slave node;

验证阶段:在从节点收到同步后的待交互区块信息,对所述从节点进行验证,如果合法 则验证成功,从节点将消息发送至主节点。Verification phase: After the slave node receives the synchronized block information to be interacted with, the slave node is verified. If it is legal, the verification is successful, and the slave node sends the message to the master node.

可选地,所述对各个服务器的空间影像数据进行编码,包括:Optionally, said encoding the spatial image data of each server includes:

对图像进行预处理,生成二进制编码,将数据库中的空间影像数据之间建立网格单元对 应关系,该二进制编码包括有空间信息;The image is preprocessed to generate a binary code, and a grid unit correspondence relationship is established between the spatial image data in the database, and the binary code includes spatial information;

建立数据之间的索引表;Create an index table between data;

对所述二进制编码进行匹配;matching said binary code;

对检索获得编码数据进行解码处理。Decode the retrieved coded data.

可选地,所述对预先进行编码过的空间影像数据进行跨库溯源,包括:Optionally, the cross-database traceability of the pre-encoded spatial image data includes:

Step1.由服务器首先提出查询区块数据请求;Step1. The server first proposes a query block data request;

Step2.对所要查询的区块数据进行是否跨库判断;Step2. Determine whether the block data to be queried is cross-database;

Step3.如果跨库则需对其建立共识机制,提出共识请求并读取区块头hash值,以交易表 为基础生成交易索引表,所述交易索引表记录用户状态信息,包括用户的ID、数据交互记录、 信用度、是否在线进行数据交互;Step3. If cross-library, it is necessary to establish a consensus mechanism, put forward a consensus request and read the hash value of the block header, and generate a transaction index table based on the transaction table. The transaction index table records user status information, including user ID, data Interaction record, credit, whether to conduct data interaction online;

Step4.对该区块数据进行验证,如果是空间影像数据则,按照溯源机制进行溯源;所述 溯源机制为:进入数据库获取当前区块空间影像数据后对用户ID进行登记,并获取所述用户 状态信息,通过对其信用度的判断决定是否可以读取空间影像数据;Step4. Verify the block data, if it is spatial image data, trace the source according to the traceability mechanism; the traceability mechanism is: register the user ID after entering the database to obtain the current block spatial image data, and obtain the user Status information, by judging its credibility to determine whether the spatial image data can be read;

Step5通过验证后获得授权读取空间影像数据,根据空间影像数据索引机制快速读取空 间影像数据;Step5 is authorized to read the spatial image data after passing the verification, and quickly read the spatial image data according to the spatial image data index mechanism;

Step6.若追溯完成后即退出,若未追溯完成则根据前一区块ID追溯到相应区块并继续追 溯;Step6. If the traceback is completed, exit, if the traceback is not completed, trace back to the corresponding block according to the previous block ID and continue to trace;

Step7.对于非跨库数据可直接获取当前区块的数据,并对数据进行判定,如果是空间影 像数据,则按照Step4中提到的溯源机制进行溯源,并依次执行Step5和Step6实现对空间 影像数据读取的追踪。Step7. For non-cross-database data, you can directly obtain the data of the current block and judge the data. If it is spatial image data, trace the source according to the traceability mechanism mentioned in Step4, and execute Step5 and Step6 in sequence to realize the spatial image data Tracking of data reads.

为实现上述目的及其他相关目的,本发明还提供一种基于联盟链的空间影像数据交互装 置,应用于多个服务器之间的数据交互,多个服务器之间采用统一的检索方法,该装置包括:In order to achieve the above purpose and other related purposes, the present invention also provides a space image data interaction device based on alliance chain, which is applied to data interaction between multiple servers, and a unified retrieval method is adopted between multiple servers. The device includes :

创建模块,用于在需要进行数据交互的多个服务器之间建立共识机制,实现各个服务器 的数据同步与验证;Create a module to establish a consensus mechanism between multiple servers that need to interact with data, and realize data synchronization and verification of each server;

编码模块,用于对各个服务器的空间影像数据进行编码;An encoding module, configured to encode the spatial image data of each server;

溯源模块,用于对预先进行编码过的数据进行跨库溯源;Traceability module, used for cross-database traceability of pre-encoded data;

交互模块,用于利用网格编码调制技术建立的数据检索方法对空间影像数据进行检索, 以完成多个服务器的空间影像数据之间的交互。The interaction module is used for retrieving the spatial image data by using the data retrieval method established by the trellis coding modulation technology, so as to complete the interaction between the spatial image data of multiple servers.

可选地,每个服务器包括主节点和从属于所述主节点的多个从节点,所述建立共识机制 包括:Optionally, each server includes a master node and a plurality of slave nodes subordinate to the master node, and the consensus establishment mechanism includes:

快速提案与交互阶段:由需要进行数据交互的服务器的主节点产生提案信息,并将待交 互区块信息放入公共区域;Rapid proposal and interaction stage: the master node of the server that needs to interact with data generates proposal information, and puts the block information to be interacted into the public area;

数据同步阶段:将数据交换方放入到公共区域中的待交互区块信息进行同步,同步后的信 息被发送至从节点;Data synchronization stage: Synchronize the block information to be exchanged by the data exchange party in the public area, and the synchronized information is sent to the slave node;

验证阶段:在从节点收到同步后的待交互区块信息,对所述从节点进行验证,如果合法 则验证成功,从节点将消息发送至主节点。Verification phase: After the slave node receives the synchronized block information to be interacted with, the slave node is verified. If it is legal, the verification is successful, and the slave node sends the message to the master node.

可选地,所述对各个服务器的空间影像数据进行编码,包括:Optionally, said encoding the spatial image data of each server includes:

对图像进行预处理,生成二进制编码,该二进制编码包括有空间信息;Preprocessing the image to generate a binary code that includes spatial information;

建立数据之间的索引表;Create an index table between data;

对所述二进制编码进行匹配;matching said binary code;

对检索获得编码数据进行解码处理,实现对空间影像数据的读取。Decode the retrieved encoded data to realize the reading of spatial image data.

可选地,所述对预先进行编码过的空间影像数据进行跨库溯源,包括:Optionally, the cross-database traceability of the pre-encoded spatial image data includes:

Step1.由服务器首先提出查询区块数据请求;Step1. The server first proposes a query block data request;

Step2.对所要查询的区块数据进行是否跨库判断;Step2. Determine whether the block data to be queried is cross-database;

Step3.如果跨库则需对其建立共识机制,提出共识请求并读取区块头hash值,以交易表 为基础生成交易索引表,所述交易索引表记录用户状态信息,包括用户的ID、数据交互记录、 信用度、是否在线进行数据交互;Step3. If cross-library, it is necessary to establish a consensus mechanism, put forward a consensus request and read the hash value of the block header, and generate a transaction index table based on the transaction table. The transaction index table records user status information, including user ID, data Interaction record, credit, whether to conduct data interaction online;

Step4.对该区块数据进行验证,如果是空间影像数据则,按照溯源机制进行溯源;所述 溯源机制为:进入数据库获取当前区块空间影像数据后对用户ID进行登记,并获取所述用户 状态信息,通过对其信用度的判断决定是否可以读取空间影像数据;Step4. Verify the block data, if it is spatial image data, trace the source according to the traceability mechanism; the traceability mechanism is: register the user ID after entering the database to obtain the current block spatial image data, and obtain the user Status information, by judging its credibility to determine whether the spatial image data can be read;

Step5.通过验证后获得授权读取空间影像数据,根据索引机制快速读取空间影像数据;Step5. Obtain the authorization to read the spatial image data after passing the verification, and quickly read the spatial image data according to the index mechanism;

Step6.若追溯完成后即退出,若未追溯完成则根据前一区块ID追溯到相应区块并继续追 溯;Step6. If the traceback is completed, exit, if the traceback is not completed, trace back to the corresponding block according to the previous block ID and continue to trace;

Step7.对于非跨库数据可直接获取当前区块的数据,并对数据进行判定,如果是空间影 像数据,则按照Step4中提到的溯源机制进行溯源,并依次执行Step5和Step6实现对空间 影像数据读取的追踪。Step7. For non-cross-database data, you can directly obtain the data of the current block and judge the data. If it is spatial image data, trace the source according to the traceability mechanism mentioned in Step4, and execute Step5 and Step6 in sequence to realize the spatial image data Tracking of data reads.

为实现上述目的及其他相关目的,本发明还提供一种电子终端,包括:In order to achieve the above purpose and other related purposes, the present invention also provides an electronic terminal, including:

存储器,用于存储计算机程序;memory for storing computer programs;

处理器,用于执行所述存储器存储的计算机程序,以使所述设备执行所述的方法。a processor, configured to execute the computer program stored in the memory, so that the device executes the method.

为实现上述目的及其他相关目的,本发明还提供一种计算机可读存储介质,存储计算机 程序,所述计算机程序被处理器运行时执行所述的方法。To achieve the above object and other related objects, the present invention also provides a computer-readable storage medium storing a computer program, and the computer program executes the method when executed by a processor.

如上所述,本发明的一种基于联盟链的空间影像数据交互方法及装置,具有以下有益效 果:As mentioned above, an alliance chain-based space image data interaction method and device of the present invention has the following beneficial effects:

本发明通过基于联盟链的空间影像数据检索溯源的快速实用拜占庭容错共识算法来对空 间影像数据进行快速检索并溯源,实现数据的可追溯性快速检索。The present invention uses a fast and practical Byzantine fault-tolerant consensus algorithm based on alliance chain-based spatial image data retrieval and traceability to quickly retrieve and trace spatial image data, and realize data traceability and rapid retrieval.

附图说明Description of drawings

为了进一步阐述本发明所描述的内容,下面结合附图对本发明的具体实施方式作进一步 详细的说明。应当理解,这些附图仅作为典型示例,而不应看作是对本发明的范围的限定。In order to further illustrate the content described in the present invention, the specific implementation manners of the present invention will be described in further detail below in conjunction with the accompanying drawings. It should be understood that these drawings are only typical examples and should not be considered as limiting the scope of the present invention.

图1为一实施例一种基于联盟链的空间影像数据交互方法的流程图;Fig. 1 is a flow chart of an embodiment of a space image data interaction method based on alliance chain;

图2为一实施例一种基于联盟链的空间影像数据交互方法中共识机制的示意图;Fig. 2 is a schematic diagram of a consensus mechanism in an embodiment of an alliance chain-based space image data interaction method;

图3为另一实施例一种基于联盟链的空间影像数据交互方法中共识机制的示意图;FIG. 3 is a schematic diagram of a consensus mechanism in a space image data interaction method based on alliance chain in another embodiment;

图4为一实施例一种基于联盟链的空间影像数据交互方法中主从节点状态转换图;Fig. 4 is a master-slave node state transition diagram in an embodiment of a space image data interaction method based on alliance chain;

图5为一实施例一种基于联盟链的空间影像数据交互方法中空间影像数据溯源示意图。FIG. 5 is a schematic diagram of spatial image data traceability in an alliance chain-based spatial image data interaction method according to an embodiment.

具体实施方式Detailed ways

以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露 的内容轻易地了解本发明的其他优点与功效。本发明还可以通过另外不同的具体实施方式加 以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精 神下进行各种修饰或改变。需说明的是,在不冲突的情况下,以下实施例及实施例中的特征 可以相互组合。Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, in the case of no conflict, the following embodiments and the features in the embodiments can be combined with each other.

需要说明的是,以下实施例中所提供的图示仅以示意方式说明本发明的基本构想,遂图 式中仅显示与本发明中有关的组件而非按照实际实施时的组件数目、形状及尺寸绘制,其实 际实施时各组件的型态、数量及比例可为一种随意的改变,且其组件布局型态也可能更为复 杂。It should be noted that the diagrams provided in the following embodiments are only schematically illustrating the basic ideas of the present invention, and only the components related to the present invention are shown in the diagrams rather than the number, shape and shape of the components in actual implementation. Dimensional drawing, the type, quantity and proportion of each component can be changed arbitrarily during actual implementation, and the component layout type may also be more complicated.

首先,在需要进行数据交互的服务器之间建立一种共识机制,通过改进的拜占庭算法—— 快速实用拜占庭容错共识机制(FPBFT)实现了在共同合约内的各个数据库的数据的同步与验 证,然后,对预先进行编码过的空间影像数据进行跨库溯源。对空间影像数据需要事先进行 “预编码-制定索引表-统一检索方法”的处理,这样即可实现对需要保密的空间影像数据基 于联盟链共享,并且能够有效的防御攻击者对空间影像数据的篡改、伪造等安全隐患,可以 完整的记录数据流转、运作过程,防止保密的空间影像数据被泄露。最后利用网格编码技术 建立的空间影像数据检索方法,完成对空间影像数据的检索,完成跨库数据交互。First, a consensus mechanism is established between servers that need to interact with data, and the data synchronization and verification of each database in the common contract are realized through the improved Byzantine algorithm - Fast Practical Byzantine Fault Tolerant Consensus Mechanism (FPBFT), and then , to trace the source of the pre-encoded spatial image data across databases. Spatial image data needs to be processed in advance by "precoding-creating an index table-unified retrieval method", so that the spatial image data that needs to be kept secret can be shared based on the alliance chain, and it can effectively defend against attackers' access to the spatial image data. Tampering, forgery and other safety hazards can completely record data transfer and operation process to prevent confidential space image data from being leaked. Finally, the spatial image data retrieval method established by grid coding technology is used to complete the retrieval of spatial image data and complete the cross-database data interaction.

如图1所示,本实施例提供一种基于联盟链的空间影像数据交互方法,包括以下步骤:As shown in Figure 1, this embodiment provides a space image data interaction method based on alliance chain, including the following steps:

S1在需要进行数据交互的多个服务器之间建立共识机制,实现各个服务器的数据同步与 验证;S1 establishes a consensus mechanism between multiple servers that need to interact with data to realize data synchronization and verification of each server;

S2对各个服务器的空间影像数据进行编码;S2 encodes the spatial image data of each server;

S3对预先进行编码过的数据进行跨库溯源;S3 conducts cross-database traceability on pre-encoded data;

S4利用网格编码调制技术建立的数据检索方法对空间影像数据进行检索,以完成多个服 务器的空间影像数据之间的交互。S4 uses the data retrieval method established by the trellis coding modulation technology to retrieve the spatial image data to complete the interaction between the spatial image data of multiple servers.

以下以两个服务器间进行数据交互进行具体说明。The data exchange between two servers will be described in detail below.

本发明提出的一种基于联盟链的跨库空间影像数据检索溯源的快速实用拜占庭容错共识 算法,将用网格编码后的空间影像数据进行统一检索方法设计,并将其与数据溯源相结合, 建立一种空间影像数据快速检索与溯源机制。本算法由共识机制、空间影像数据溯源和跨库 数据交互部分组成,其中共识机制由改进的实用拜占庭共识容错机制——快速实用拜占庭容 错算法所提出的数学模型组成。FPBFT算法流程如图2,图3所示。A fast and practical Byzantine fault-tolerant consensus algorithm for retrieval and traceability of cross-library space image data based on the alliance chain proposed by the present invention uses grid-encoded spatial image data for unified retrieval method design, and combines it with data traceability, Establish a rapid retrieval and traceability mechanism for spatial image data. This algorithm is composed of a consensus mechanism, spatial image data traceability and cross-database data interaction. The consensus mechanism is composed of an improved practical Byzantine consensus fault-tolerant mechanism - a mathematical model proposed by a fast practical Byzantine fault-tolerant algorithm. The FPBFT algorithm flow chart is shown in Figure 2 and Figure 3.

集群中涉及两种节点:主节点两个(master1,master2),分别代表数据库A和数据库B 的管理员,从节点三个(slave1,slave2,slave3)代表两个数据库中的数据。两种节点的 集合用R表示,且集合R中最大能容忍的恶意节点数为f,则集合R大小须满足公式:There are two kinds of nodes involved in the cluster: two master nodes (master1, master2), representing administrators of database A and database B respectively, and three slave nodes (slave1, slave2, slave3) representing data in the two databases. The set of two kinds of nodes is denoted by R, and the maximum number of malicious nodes that can be tolerated in the set R is f, then the size of the set R must satisfy the formula:

|R|≥3f+1 (1)|R|≥3f+1 (1)

本发明改进了实用拜占庭容错共识算法的流程,将原有的单节点广播改为双节点广播, 这样两个数据库可同时进行广播。两客户端同时进行面向全网广播附上签名的交易数据,提 高了广播效率,更快速。原有的拜占庭容错共识算法主节点随意选取,存在正确性问题,严 重降低了系统效率。故本发明提出两客户端直接进行主节点选举,双方按照最长链原则进行 主节点选举,保证了正确性的同时还提高了系统的运行效率,减少不必要的通信开销。之后 设立数据同步过程,将双方数据进行一次同步,最后将从节点的数据进行验证,验证通过即 所选的主节点成为新的主节点,继续进行下一轮共识机制。假设全网节点数为N,则完成一 次三阶段共识过程,总共需要进行消息传递的次数Z为:The present invention improves the flow of the practical Byzantine fault-tolerant consensus algorithm, and changes the original single-node broadcast to dual-node broadcast, so that two databases can broadcast at the same time. The two clients broadcast the signed transaction data to the whole network at the same time, which improves the broadcast efficiency and is faster. The master node of the original Byzantine fault-tolerant consensus algorithm is randomly selected, and there is a problem of correctness, which seriously reduces the efficiency of the system. Therefore, the present invention proposes that the two clients directly elect the master node, and both parties elect the master node according to the principle of the longest chain, which not only ensures the correctness, but also improves the operating efficiency of the system and reduces unnecessary communication overhead. Afterwards, a data synchronization process is set up to synchronize the data of both parties once, and finally the data of the slave node is verified. If the verification is passed, the selected master node becomes the new master node and continues to the next round of consensus mechanism. Assuming that the number of nodes in the entire network is N, then a three-stage consensus process is completed, and the total number of times Z required for message delivery is:

Z=N2-N (2)Z=N2 -N (2)

改进后的快速实用拜占庭容错共识机制,两个主节点的总通信次数N(N-1)比原算法的通 信次数降低,极大地减少了通信开销。省略了单独进行验证数据同步性与对数据进行验证的 步骤,简化改进后的算法极大地节省了查询时间,提高系统效率。With the improved fast and practical Byzantine fault-tolerant consensus mechanism, the total communication times N(N-1) of the two master nodes is lower than that of the original algorithm, which greatly reduces the communication overhead. The steps of separately verifying data synchronization and verifying data are omitted, and the simplified and improved algorithm greatly saves query time and improves system efficiency.

快速实用拜占庭容错共识算法具体步骤如下:The specific steps of the fast and practical Byzantine fault-tolerant consensus algorithm are as follows:

Step1.快速提案与交互阶段:双方主节点产生提案信息,并将待交互区块信息放入公共 区域。图2和图3所表示的即为对不同数据库的主节点设置不同位置,由于主节点位置不同 因而在快速提案与交互与验证阶段所产生的通信路径也不同,从而可以区分出不同数据库的 访问者。Step1. Quick proposal and interaction stage: The master nodes of both parties generate proposal information and put the block information to be interacted into the public area. Figure 2 and Figure 3 show that different positions are set for the master nodes of different databases. Due to the different positions of the master nodes, the communication paths generated in the fast proposal and interaction and verification stages are also different, so that the access of different databases can be distinguished By.

Step2.数据同步阶段:双方将公共区待交互的区块数据进行同步,保证该区块信息可共 同访问。Step2. Data synchronization stage: Both parties synchronize the block data to be interacted in the public area to ensure that the block information can be accessed together.

Step3.验证阶段:从节点收到主节点的数据区块之后,对其进行验证,考察其是否合法, 如果合法则验证成功,从节点将消息发送至主节点。Step3. Verification phase: After receiving the data block from the master node, the slave node verifies it to check whether it is legal. If it is legal, the verification succeeds, and the slave node sends the message to the master node.

利用区块链的特性可以验证区块合法性,验证阶段,监督待定主节点在数据同步阶段是 否合法。如不合法将重新选举主节点。Utilizing the characteristics of the blockchain can verify the legality of the block, and in the verification phase, monitor whether the pending master node is legal in the data synchronization phase. If it is illegal, the master node will be re-elected.

在一实施例中,还建立了一套主从节点状态转换机制,有效改善系统灵活性,可以记录 主从节点变更以及节点路径的选择匹配方式。主从节点状态转换图如图4所示。In one embodiment, a set of master-slave node state transition mechanism is also established, which can effectively improve system flexibility, and can record master-slave node changes and node path selection and matching methods. The master-slave node state transition diagram is shown in Figure 4.

视图编号用整数v表示,请求编号用整数n表示,视图变更或遇新的请求时,v+1,n+1, 且在一个视图中,n必须满足在水线之间:The view number is represented by an integer v, and the request number is represented by an integer n. When a view changes or a new request is encountered, v+1, n+1, and in a view, n must be between the waterlines:

H≥n≥h (3)H≥n≥h (3)

在主从节点状态转换机制中,对主节点进行验证,并在验证后对数据进行分步处理,减 少数据在同步过程中因网络所带来的一致性问题,并且降低了数据被非本地数据库访问者篡 改和伪造的风险。在选举后增加了合法性检验,减免了待定从节点在同步过程中存在的安全 性问题,并增进了系统的鲁棒性,可以在待定主节点存在安全问题的时候及时进行重新选举。In the master-slave node state transition mechanism, the master node is verified, and the data is processed step by step after verification, which reduces the consistency problem caused by the network during the data synchronization process, and reduces the data being transferred by the non-local database. Risk of visitor tampering and forgery. After the election, the legality check is added, which reduces the security problems of the pending slave nodes during the synchronization process, and improves the robustness of the system, and can be re-elected in time when the pending master nodes have security problems.

具体算法流程:Specific algorithm flow:

Step1.若系统有主节点,则直接进行主节点判定,选取路径。若没有主节点,需要选举, 此时所有节点为searching状态,选举出主节点,选中的主节点处于undetermined状态。Step1. If the system has a master node, then directly determine the master node and select the path. If there is no master node, an election is required. At this time, all nodes are in the searching state, and the master node is elected, and the selected master node is in the undetermined state.

Step2.对选举出的主节点进行验证,只有超过2f+1的从节点验证通过才为正式主节点, 主节点状态变为mastering,之后对其数据库所属进行判断,是master1还是master2,根据 不同的数据库选择不同路径。Step2. Verify the elected master node. Only the slave nodes exceeding 2f+1 pass the verification to become the official master node. The state of the master node changes to mastering, and then judges whether its database belongs to master1 or master2, according to different The database chooses a different path.

对各个服务器的空间影像数据进行编码过程,如图5所示,包括:预编码,索引表,统 一检索方法,解码读取数据四部分组成。The process of encoding the spatial image data of each server, as shown in Figure 5, consists of four parts: pre-encoding, index table, unified retrieval method, and decoding and reading data.

Step1.空间影像数据预编码过程是基于GeoSOT全球剖分网格的编码方式,利用四叉树剖 分形式形成含有空间信息的二进制编码,该编码方式可以将数据库中的空间影像数据之间建 立网格单元对应关系,根据数据都具有的区域特征,将其区域范围以剖分网格单元进行表达。Step1. The pre-coding process of spatial image data is based on the coding method of GeoSOT global subdivision grid, which uses the quadtree subdivision form to form a binary code containing spatial information. This coding method can establish a network between the spatial image data in the database. According to the regional characteristics of the data, the corresponding relationship between the grid units is expressed by subdividing the grid units.

Step2.建立数据之间的索引表,网格编码的检索可以通过匹配编码来实现,由于step1 对图像的预处理生成的编码,可以直接对二进制编码进行匹配,这样可以实现空间影像数据 查询的简化,省时高效。Step2. Establish an index table between the data. The retrieval of the grid code can be realized by matching the code. Since the code generated by the preprocessing of the image in step1 can directly match the binary code, this can realize the simplification of the spatial image data query. , time-saving and efficient.

Step3.统一的检索方法,运用多类型的一维二进制编码计算取代原有的复杂空间关系判 断,省去了大量的经纬度计算,可以有效提高检索效率,节省系统开销。Step3. The unified retrieval method uses multi-type one-dimensional binary code calculations to replace the original complex spatial relationship judgments, which saves a lot of longitude and latitude calculations, which can effectively improve retrieval efficiency and save system overhead.

在数据库之间建立一种统一的检索方法以实现敏感数据——空间影像数据的高效检索, 简化检索操作,避免了因数据库之间存在不同的检索方式导致的因检索过程复杂占用过多的 存储资源,加重系统开销。Establish a unified retrieval method between databases to achieve efficient retrieval of sensitive data—spatial image data, simplify retrieval operations, and avoid excessive storage due to the complexity of the retrieval process caused by different retrieval methods between databases resources, increasing system overhead.

Step4.用户将检索后获得的是编码数据,需对其进行解码处理,实现对空间影像数据的 读取。Step4. The user will obtain encoded data after retrieval, which needs to be decoded to realize the reading of spatial image data.

对预先进行编码过的空间影像数据进行跨库溯源,流程如图5所示。The process of cross-database traceability for pre-encoded spatial image data is shown in Figure 5.

针对两个数据库之间数据交互的场景,首先明确只对涉及到跨库的空间影像数据进行溯 源,而本地用户的其数据因为不涉密在本地数据库即可直接进行访问,但是对于空间影像数 据的访问会对其进行溯源,记录下所用访问者的信息,这样可以实时追踪数据流转情况,如 若发生数据篡改及泄露状况可及时溯源到是谁泄露的数据是哪个客户端发生的问题。跨库数 据交互时,只针对敏感的涉密的空间影像数据进行追溯,对非涉密数据可以直接读取,实现 跨库之间快速的数据交互模式。For the scenario of data interaction between two databases, first of all, it is clear that only the spatial image data involving cross-databases is traced, and the data of local users can be directly accessed in the local database because it is not confidential, but for spatial image data The access will be traced to the source, and the information of the visitors used will be recorded, so that the data flow can be tracked in real time. In the event of data tampering and leakage, the source can be traced in time to who leaked the data and which client caused the problem. When cross-database data interaction, only sensitive and confidential spatial image data are traced, and non-confidential data can be directly read, realizing a fast data interaction mode between cross-databases.

空间影像数据溯源具体实施步骤如下:The specific implementation steps of spatial image data traceability are as follows:

Step1.由服务器首先提出查询区块数据请求。Step1. The server first proposes a query block data request.

Step2.对所要查询的数据进行是否跨库判断。Step2. Determine whether the data to be queried is cross-database.

根据主节点起始位置可判断是否跨库,不同数据库主节点的起始点是不同的,通信路径 也不相同。According to the starting position of the master node, it can be judged whether it is cross-database. The starting point of the master node of different databases is different, and the communication path is also different.

Step3.如果跨库则需对其建立共识机制,提出共识请求并读取区块头hash值,以交易表 为基础生成交易索引表以便后续数据交互,该表记录用户状态信息,包括用户的ID,数据交 互记录,信用度,是否在线进行数据交互。Step3. If cross-library, it is necessary to establish a consensus mechanism, make a consensus request and read the hash value of the block header, and generate a transaction index table based on the transaction table for subsequent data interaction. This table records user status information, including user ID, Data interaction record, credit degree, and whether data interaction is performed online.

Step4.对该区块数据进行验证,如果是空间影像数据则进行后续溯源步骤,非涉密的空 间影像数据则可直接读取。溯源步骤具体包括:进入数据库获取当前区块空间影像数据后对 用户ID进行登记,并从step3中所述的交易索引表中获取用户的状态信息,通过对其信用度 的判断决定是否可以读取空间影像数据。Step4. Verify the block data. If it is spatial image data, follow-up traceability steps. Non-confidential spatial image data can be read directly. The traceability steps specifically include: register the user ID after entering the database to obtain the image data of the current block space, and obtain the user’s status information from the transaction index table described in step3, and determine whether the space can be read by judging its credit Image data.

Step5.通过step4的验证后获得授权读取空间影像数据,根据空间影像数据索引机制快 速读取空间影像数据。Step5. Obtain the authorization to read the spatial image data after passing the verification of step4, and quickly read the spatial image data according to the spatial image data indexing mechanism.

索引机制:采用GeoSOT全球剖分网格,对数据库中的遥感空间影像数据实现整度、整分、 整秒的四叉树剖分,产生具有空间意义的二进制编码,将不同数据库中的空间影像数据根据 空间范围建立与网格单元的对应关系,根据数据都具有的区域特征,将其区域范围以剖分网 格单元进行表达,实现不同数据库空间影像数据在逻辑上统一管理。建立数据之间的索引表, 网格编码的检索可以通过匹配编码来实现,由于生成的二进制编码,可以直接对编码进行匹 配,这样可以实现空间影像数据查询的简化,省时高效。不同数据之间通过网格编码将含有 位置信息的空间影像数据建立关联,当进行检索时,即转化为空间网格检索,进而实现“数 据-网格(编码过程)-数据(解码过程)”的关联度检索方法,从而实现对空间影像数据的 检索。编码索引表字段设计如表1所示。Indexing mechanism: GeoSOT is used to subdivide the grid globally to realize quadtree subdivision of whole degree, whole minute and whole second for the remote sensing spatial image data in the database, generate binary codes with spatial significance, and combine the spatial images in different databases The corresponding relationship between the data and the grid unit is established according to the spatial range, and the regional range of the data is expressed by dividing the grid unit according to the regional characteristics of the data, so as to realize the logical unified management of the spatial image data of different databases. The index table between the data is established, and the retrieval of the grid code can be realized by matching the code. Due to the generated binary code, the code can be directly matched, which can realize the simplification of the spatial image data query, save time and be efficient. The spatial image data containing location information is associated with different data through grid coding. When searching, it is converted into a spatial grid retrieval, and then realizes "data-grid (encoding process)-data (decoding process)" Relevance retrieval method, so as to realize the retrieval of spatial image data. The field design of the coding index table is shown in Table 1.

具体索引步骤为:The specific indexing steps are:

设计编码索引表;Design coding index table;

输入查询区域;Enter the query field;

简化输入网格编码集;Simplify the input grid encoding set;

在已排序的编码索引表中将符合要求的网格编码条目取出;Take out the grid coding entries that meet the requirements in the sorted coding index table;

对取出的数据条目,根据其对应数据表及ID找到对应数据。For the retrieved data entry, find the corresponding data according to its corresponding data table and ID.

表1编码索引表字段设计Table 1 Coding index table field design

Step6.追溯完成后即退出系统,如若未追溯完成则根据前一区块ID追溯到相应区块并继 续追溯。Step6. After the traceback is completed, exit the system. If the traceback is not completed, trace back to the corresponding block according to the previous block ID and continue to trace.

Step7.对于非跨库数据可直接获取当前区块的数据,并对数据进行判定,如果是空间影 像数据需要按照step4中提到的溯源机制进行溯源,并依次执行step5和step6实现对空间 影像数据读取的追踪。Step7. For non-cross-database data, you can directly obtain the data of the current block and judge the data. If it is spatial image data, you need to trace the source according to the traceability mechanism mentioned in step4, and execute step5 and step6 in sequence to realize the spatial image data. Read trace.

本发明通过基于联盟链的空间影像数据检索溯源的快速实用拜占庭容错共识算法来对空 间影像数据进行快速检索并溯源,实现数据的可追溯性快速检索。The present invention uses a fast and practical Byzantine fault-tolerant consensus algorithm based on alliance chain-based spatial image data retrieval and traceability to quickly retrieve and trace spatial image data, and realize data traceability and fast retrieval.

在另一实施例中,提共一种基于联盟链的空间影像数据交互装置,应用于多个服务器之 间的数据交互,该装置包括:In another embodiment, a space image data interaction device based on alliance chain is provided, which is applied to data interaction between multiple servers, and the device includes:

创建模块,用于在需要进行数据交互的多个服务器之间建立共识机制,实现各个服务器 的数据同步与验证;Create a module to establish a consensus mechanism between multiple servers that need to interact with data, and realize data synchronization and verification of each server;

编码模块,用于对各个服务器的空间影像数据进行编码;An encoding module, configured to encode the spatial image data of each server;

溯源模块,用于对预先进行编码过的数据进行跨库溯源;Traceability module, used for cross-database traceability of pre-encoded data;

交互模块,用于利用网格编码调制技术建立的数据检索方法对空间影像数据进行检索, 以完成多个服务器的空间影像数据之间的交互。The interaction module is used for retrieving the spatial image data by using the data retrieval method established by the trellis coding modulation technology, so as to complete the interaction between the spatial image data of multiple servers.

在一实施例中,每个服务器包括主节点和从属于所述主节点的多个从节点,所述建立共 识机制包括:In one embodiment, each server includes a master node and a plurality of slave nodes subordinate to the master node, and the consensus establishment mechanism includes:

快速提案与交互阶段:由需要进行数据交互的服务器的主节点产生提案信息,并将待交 互区块信息放入公共区域;Rapid proposal and interaction stage: the master node of the server that needs to interact with data generates proposal information, and puts the block information to be interacted into the public area;

数据同步阶段:将数据交换方放入到公共区域中的待交互区块信息进行同步,同步后的信 息被发送至从节点;Data synchronization stage: Synchronize the block information to be exchanged by the data exchange party in the public area, and the synchronized information is sent to the slave node;

验证阶段:在从节点收到同步后的待交互区块信息,对所述从节点进行验证,如果合法 则验证成功,从节点将消息发送至主节点。Verification phase: After the slave node receives the synchronized block information to be interacted with, the slave node is verified. If it is legal, the verification is successful, and the slave node sends the message to the master node.

于一实施例中,所述对各个服务器的空间影像数据进行编码,包括:In one embodiment, said encoding the spatial image data of each server includes:

对图像进行预处理,生成二进制编码,该二进制编码包括有空间信息;Preprocessing the image to generate a binary code that includes spatial information;

建立数据之间的索引表;Create an index table between data;

对所述二进制编码进行匹配;matching said binary code;

Step3.统一的检索方法,运用多类型的一维二进制编码计算取代原有的复杂空间关系判 断,省去了大量的经纬度计算,可以有效提高检索效率,节省系统开销。Step3. The unified retrieval method uses multi-type one-dimensional binary code calculations to replace the original complex spatial relationship judgments, which saves a lot of longitude and latitude calculations, which can effectively improve retrieval efficiency and save system overhead.

在数据库之间建立一种统一的检索方法以实现敏感数据——空间影像数据的高效检索, 简化检索操作,避免了因数据库之间存在不同的检索方式导致的因检索过程复杂占用过多的 存储资源,加重系统开销。Establish a unified retrieval method between databases to achieve efficient retrieval of sensitive data—spatial image data, simplify retrieval operations, and avoid excessive storage due to the complexity of the retrieval process caused by different retrieval methods between databases resources, increasing system overhead.

对检索获得编码数据进行解码处理,实现对空间影像数据的读取。Decode the retrieved encoded data to realize the reading of spatial image data.

于一实施例中,所述对预先进行编码过的空间影像数据进行跨库溯源,包括:In one embodiment, the cross-database traceability of the pre-encoded spatial image data includes:

Step1.由服务器首先提出查询区块数据请求;Step1. The server first proposes a query block data request;

Step2.对所要查询的区块数据进行是否跨库判断;Step2. Determine whether the block data to be queried is cross-database;

Step3.如果跨库则需对其建立共识机制,提出共识请求并读取区块头hash值,以交易表 为基础生成交易索引表,所述交易索引表记录用户状态信息,包括用户的ID、数据交互记录、 信用度、是否在线进行数据交互;Step3. If cross-library, it is necessary to establish a consensus mechanism, put forward a consensus request and read the hash value of the block header, and generate a transaction index table based on the transaction table. The transaction index table records user status information, including user ID, data Interaction record, credit, whether to conduct data interaction online;

Step4.对该区块数据进行验证,如果是空间影像数据则,按照溯源机制进行溯源;所述 溯源机制为:进入数据库获取当前区块空间影像数据后对用户ID进行登记,并获取所述用户 状态信息,通过对其信用度的判断决定是否可以读取空间影像数据;Step4. Verify the block data, if it is spatial image data, trace the source according to the traceability mechanism; the traceability mechanism is: register the user ID after entering the database to obtain the current block spatial image data, and obtain the user Status information, by judging its credibility to determine whether the spatial image data can be read;

step5通过验证后获得授权读取空间影像数据,根据空间影像数据索引机制快速读取空 间影像数据。Step5 is authorized to read the spatial image data after passing the verification, and quickly read the spatial image data according to the spatial image data index mechanism.

索引机制:采用GeoSOT全球剖分网格,对数据库中的遥感空间影像数据实现整度、整分、 整秒的四叉树剖分,产生具有空间意义的二进制编码,将不同数据库中的空间影像数据根据 空间范围建立与网格单元的对应关系,根据数据都具有的区域特征,将其区域范围以剖分网 格单元进行表达,实现不同数据库空间影像数据在逻辑上统一管理。建立数据之间的索引表, 网格编码的检索可以通过匹配编码来实现,由于生成的二进制编码,可以直接对编码进行匹 配,这样可以实现空间影像数据查询的简化,省时高效。不同数据之间通过网格编码将含有 位置信息的空间影像数据建立关联,当进行检索时,即转化为空间网格检索,进而实现“数 据-网格(编码过程)-数据(解码过程)”的关联度检索方法,从而实现对空间影像数据的 检索。编码索引表字段设计如表1所示。Indexing mechanism: GeoSOT is used to subdivide the grid globally to realize quadtree subdivision of whole degree, whole minute and whole second for the remote sensing spatial image data in the database, generate binary codes with spatial significance, and combine the spatial images in different databases The corresponding relationship between the data and the grid unit is established according to the spatial range, and the regional range of the data is expressed by dividing the grid unit according to the regional characteristics of the data, so as to realize the logical unified management of the spatial image data of different databases. The index table between the data is established, and the retrieval of the grid code can be realized by matching the code. Due to the generated binary code, the code can be directly matched, which can realize the simplification of the spatial image data query, save time and be efficient. The spatial image data containing location information is associated with different data through grid coding. When searching, it is converted into a spatial grid retrieval, and then realizes "data-grid (encoding process)-data (decoding process)" Relevance retrieval method, so as to realize the retrieval of spatial image data. The field design of the coding index table is shown in Table 1.

具体索引步骤为:The specific indexing steps are:

设计编码索引表;Design coding index table;

输入查询区域;Enter the query field;

简化输入网格编码集;Simplify the input grid encoding set;

在已排序的编码索引表中将符合要求的网格编码条目取出;Take out the grid coding entries that meet the requirements in the sorted coding index table;

对取出的数据条目,根据其对应数据表及ID找到对应数据。For the retrieved data entry, find the corresponding data according to its corresponding data table and ID.

表1编码索引表字段设计Table 1 Coding index table field design

Step6.若追溯完成后即退出,若未追溯完成则根据前一区块ID追溯到相应区块并继续追 溯;Step6. If the traceback is completed, exit, if the traceback is not completed, trace back to the corresponding block according to the previous block ID and continue to trace;

Step7.对于非跨库数据可直接获取当前区块的数据,并对数据进行判定,如果是空间影 像数据,则按照step4中提到的溯源机制进行溯源,并依次执行step5和step6实现对空间 影像数据读取的追踪。Step7. For non-cross-database data, you can directly obtain the data of the current block and judge the data. If it is spatial image data, trace the source according to the traceability mechanism mentioned in step4, and execute step5 and step6 in sequence to realize the spatial image data Tracking of data reads.

需要说明的是,由于装置部分的实施例与方法部分的实施例相互对应,因此装置部分的 实施例的内容请参见方法部分的实施例的描述,这里暂不赘述。It should be noted that, since the embodiment of the device part corresponds to the embodiment of the method part, please refer to the description of the embodiment of the method part for the content of the embodiment of the device part, and details will not be repeated here.

本发明还提供一种存储介质,存储计算机程序,所述计算机程序被处理器运行时执行前 述的方法。The present invention also provides a storage medium storing a computer program, and the computer program executes the aforementioned method when executed by a processor.

本发明还提供一种电子终端,包括:The present invention also provides an electronic terminal, including:

存储器,用于存储计算机程序;memory for storing computer programs;

处理器,用于执行所述存储器存储的计算机程序,以使所述设备执行前述的方法。A processor, configured to execute the computer program stored in the memory, so that the device executes the aforementioned method.

所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代 码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机 程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只 读存储器(ROM,Read-Only Memory)、随机存取存储器((RAM,Random AccessMemory)、电载 波信号、电信信号以及软件分发介质等。The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM, Read-Only Memory) , random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.

所述处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处 理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用 处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor can be a central processing unit (Central Processing Unit, CPU), and can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), on-site Programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor, or the processor can be any conventional processor, and the like.

所述存储器可以是内部存储单元或外部存储设备,例如插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字卡(Secure Digital,SD),闪存卡(Flash Card)等。进一步地, 所述存储器还可以既包括内部存储单元,也包括外部存储设备。所述存储器用于存储所述计 算机程序以及其他程序和数据。所述存储器还可以用于暂时地存储己经输出或者将要输出的 数据。The memory may be an internal storage unit or an external storage device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital card (Secure Digital, SD), a flash memory card (Flash Card) and the like. Further, the memory may also include both an internal storage unit and an external storage device. The memory is used to store the computer program as well as other programs and data. The memory can also be used to temporarily store data that has been output or will be output.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、 模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、 模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部 或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单 元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采 用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体 名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的 具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units, Completion of modules means that the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit, and the above-mentioned integrated units may adopt hardware It can also be implemented in the form of software functional units. In addition, the specific names of each functional unit and module are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the above system, reference may be made to the corresponding process in the foregoing method embodiments, and details will not be repeated here.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部 分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For the part that is not detailed or recorded in a certain embodiment, you can refer to the relevant descriptions of other embodiments.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算 法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件 还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每 个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范 围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

在本发明所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其 它的方式实现。例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,所述模块 或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单 元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点, 所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的 间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal equipment and method may be implemented in other ways. For example, the device/terminal device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units Or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

上述实施例仅例示性说明本发明的原理及其功效,而非用于限制本发明。任何熟悉此技 术的人士皆可在不违背本发明的精神及范畴下,对上述实施例进行修饰或改变。因此,举凡 所属技术领域中具有通常知识者在未脱离本发明所揭示的精神与技术思想下所完成的一切等 效修饰或改变,仍应由本发明的权利要求所涵盖。The above-mentioned embodiments only illustrate the principles and effects of the present invention, but are not intended to limit the present invention. Any person familiar with this technology can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by those skilled in the art without departing from the spirit and technical ideas disclosed in the present invention should still be covered by the claims of the present invention.

Claims (10)

CN201910759010.6A2019-08-162019-08-16Space image data interaction method and device based on alliance chainActiveCN110555129B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910759010.6ACN110555129B (en)2019-08-162019-08-16Space image data interaction method and device based on alliance chain

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910759010.6ACN110555129B (en)2019-08-162019-08-16Space image data interaction method and device based on alliance chain

Publications (2)

Publication NumberPublication Date
CN110555129Atrue CN110555129A (en)2019-12-10
CN110555129B CN110555129B (en)2022-02-18

Family

ID=68737613

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910759010.6AActiveCN110555129B (en)2019-08-162019-08-16Space image data interaction method and device based on alliance chain

Country Status (1)

CountryLink
CN (1)CN110555129B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111369266A (en)*2020-03-032020-07-03珠海市一堂科技有限公司Technological product source tracing method based on block chain
CN111586168A (en)*2020-05-062020-08-25恒宝股份有限公司Waterline height changing and setting method
CN112487459A (en)*2020-12-102021-03-12浙江大学德清先进技术与产业研究院Remote sensing metadata chaining method based on alliance chain

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106991164A (en)*2017-03-312017-07-28北京京东金融科技控股有限公司Method, device and electronic equipment that finance data is handled are used for based on block chain
CN106991612A (en)*2017-03-312017-07-28北京京东金融科技控股有限公司Method, device and the electronic equipment shared for finance data
CN107657553A (en)*2017-09-212018-02-02浙江惠码科技有限公司A kind of electronic contract generation method based on alliance's chain, information anti-fake method of tracing to the source
US20180276668A1 (en)*2017-03-242018-09-27Alibaba Group Holding LimitedMethod and apparatus for consensus verification
CN109766673A (en)*2019-01-182019-05-17四川大学 A consortium audio and video copyright blockchain system and method for uploading audio and video copyright to the chain
CN109784916A (en)*2018-12-122019-05-21广东工业大学A method of ether mill common recognition mechanism that improving PBFT is applied to alliance's chain
CN109872156A (en)*2019-03-112019-06-11赛迪(青岛)区块链研究院有限公司A kind of alliance's chain common recognition system and method
US10326802B1 (en)*2018-12-042019-06-18Xage Security, Inc.Centrally managing data for orchestrating and managing user accounts and access control and security policies remotely across multiple devices

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20180276668A1 (en)*2017-03-242018-09-27Alibaba Group Holding LimitedMethod and apparatus for consensus verification
CN106991164A (en)*2017-03-312017-07-28北京京东金融科技控股有限公司Method, device and electronic equipment that finance data is handled are used for based on block chain
CN106991612A (en)*2017-03-312017-07-28北京京东金融科技控股有限公司Method, device and the electronic equipment shared for finance data
CN107657553A (en)*2017-09-212018-02-02浙江惠码科技有限公司A kind of electronic contract generation method based on alliance's chain, information anti-fake method of tracing to the source
US10326802B1 (en)*2018-12-042019-06-18Xage Security, Inc.Centrally managing data for orchestrating and managing user accounts and access control and security policies remotely across multiple devices
CN109784916A (en)*2018-12-122019-05-21广东工业大学A method of ether mill common recognition mechanism that improving PBFT is applied to alliance's chain
CN109766673A (en)*2019-01-182019-05-17四川大学 A consortium audio and video copyright blockchain system and method for uploading audio and video copyright to the chain
CN109872156A (en)*2019-03-112019-06-11赛迪(青岛)区块链研究院有限公司A kind of alliance's chain common recognition system and method

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
RUZHI XU 等: "Design of Network Media’s Digital Rights Management Scheme Based on Blockchain Technology", 《INTERNATIONAL SYMPOSIUM ON AUTONOMOUS DECENTRALIZED SYSTEM》*
WENTAO FU 等: "Spatial Image Data Traceability and Interaction Mechanism Based on Alliance Chain", 《SOFTWARE ENGINEERING AND SERVICE SCIENCE》*
乔蕊 等: "基于联盟链的物联网动态数据溯源机制", 《软件学报》*
李剑锋: "基于拜占庭容错机制的区块链共识算法研究与应用", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》*
李莉 等: "基于区块链的数字版权交易系统", 《网络与信息安全学报》*
马俊鹏 等: "智能信息化时代的时空信息研究", 《导航定位学报》*

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111369266A (en)*2020-03-032020-07-03珠海市一堂科技有限公司Technological product source tracing method based on block chain
CN111586168A (en)*2020-05-062020-08-25恒宝股份有限公司Waterline height changing and setting method
CN111586168B (en)*2020-05-062022-04-08恒宝股份有限公司Waterline height changing and setting method
CN112487459A (en)*2020-12-102021-03-12浙江大学德清先进技术与产业研究院Remote sensing metadata chaining method based on alliance chain
CN112487459B (en)*2020-12-102023-08-04浙江大学德清先进技术与产业研究院Remote sensing metadata uplink method based on alliance chain

Also Published As

Publication numberPublication date
CN110555129B (en)2022-02-18

Similar Documents

PublicationPublication DateTitle
CN108681966B (en) A method and device for information supervision based on blockchain
US20230316273A1 (en)Data processing method and apparatus, computer device, and storage medium
US20210027289A1 (en)Asset transaction method, storage medium, and computer device
CN110225095B (en)Data processing method, device and system
CN112307501B (en)Big data system based on block chain technology, storage method and using method
CN112804218A (en)Data processing method, device and equipment based on block chain and storage medium
CN110555129A (en)space image data interaction method and device based on alliance chain
CN112000632B (en) Ciphertext sharing method, medium, sharing client and system
CN118690396B (en)Data storage method and system based on block chain
CN114826736B (en)Information sharing method, device, equipment and storage medium
CN113011960A (en)Block chain-based data access method, device, medium and electronic equipment
CN114528582A (en)Data processing method, device and equipment based on block chain and computer storage medium
CN117036023A (en)Method, system, equipment and medium for identifying abnormal transaction network in meta universe
CN112069529B (en)Block chain-based volume management method and device, computer and storage medium
CN115270193B (en)Data file secure sharing method and device based on block chain and collaborative synchronization
Li et al.BEIR: A blockchain-based encrypted image retrieval scheme
CN118521455B (en) Multi-trigger mode traceable federated learning model protection method, system and device
CN115098893A (en)Data storage method and device based on block chain
WO2021012732A1 (en)Blockchain-based information verification apparatus and method, and storage medium
CN117909937A (en) A method and system for activating an operating system or software
CN114793237B (en) Smart city data sharing method, equipment and medium based on block chain technology
CN112487065A (en)Data retrieval method and device
CN116055144A (en) Data security analysis method, device, equipment and storage based on internet of things
CN115934832A (en) Trusted sharing method of measurement test data based on block chain
Weixian et al.Design of collaborative control scheme between on-chain and off-chain power data

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
EE01Entry into force of recordation of patent licensing contract

Application publication date:20191210

Assignee:Guangxi Huantai Aerospace Technology Co.,Ltd.

Assignor:GUILIN University OF ELECTRONIC TECHNOLOGY

Contract record no.:X2022450000392

Denomination of invention:A method and device for spatial image data interaction based on alliance chain

Granted publication date:20220218

License type:Common License

Record date:20221226

EE01Entry into force of recordation of patent licensing contract

[8]ページ先頭

©2009-2025 Movatter.jp