[go: up one dir, main page]

CN111241569B - A method, device and equipment for information processing - Google Patents

A method, device and equipment for information processing Download PDF

Info

Publication number
CN111241569B
CN111241569B CN202010329555.6A CN202010329555A CN111241569B CN 111241569 B CN111241569 B CN 111241569B CN 202010329555 A CN202010329555 A CN 202010329555A CN 111241569 B CN111241569 B CN 111241569B
Authority
CN
China
Prior art keywords
information
collection device
information collection
collection
binding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010329555.6A
Other languages
Chinese (zh)
Other versions
CN111241569A (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.)
Ant Blockchain Technology Shanghai Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
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 Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202010329555.6A priority Critical patent/CN111241569B/en
Priority to CN202110533023.9A priority patent/CN113221143B/en
Publication of CN111241569A publication Critical patent/CN111241569A/en
Application granted granted Critical
Publication of CN111241569B publication Critical patent/CN111241569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • Storage Device Security (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本说明书实施例公开了一种信息处理方法、装置及设备。方案包括:接收信息采集设备发送的加密后的采集信息;根据所述加密后的采集信息对应的信息采集设备标识,判断所述信息采集设备是否为预设信息采集设备;若所述信息采集设备为预设信息采集设备,则将所述加密后的采集信息上传至所述区块链系统。

Figure 202010329555

The embodiments of this specification disclose an information processing method, apparatus, and device. The scheme includes: receiving encrypted collection information sent by an information collection device; according to an information collection device identifier corresponding to the encrypted collection information, judging whether the information collection device is a preset information collection device; if the information collection device If it is a preset information collection device, upload the encrypted collection information to the blockchain system.

Figure 202010329555

Description

一种信息处理的方法、装置及设备A method, device and equipment for information processing

技术领域technical field

本申请涉及计算机技术领域,尤其涉及一种信息处理的方法、装置及设备。The present application relates to the field of computer technology, and in particular, to a method, apparatus, and device for information processing.

背景技术Background technique

随着计算机技术的发展,先进的技术给我们带来了便利,同样也带来了新的问题。例如,在仓储管理方面,传统的仓储管理一般主要依靠人工管理,例如,依靠人工清点货物数量、填写货物清单等,而随着科技水平的不断提高,目前通常可以使用扫码器、摄像头或传感器等设备对仓库中货物信息进行采集,可以减少了人工,提高数据采集的效率,但通常采集的信息是通过网络进行传输,在传输过程中可能会遭到非法攻击,威胁信息的安全性。With the development of computer technology, advanced technology has brought us convenience, but also brought new problems. For example, in terms of warehouse management, traditional warehouse management generally relies mainly on manual management, for example, relying on manual counting of the quantity of goods, filling in the list of goods, etc., and with the continuous improvement of the level of technology, it is usually possible to use barcode scanners, cameras or sensors. It can reduce labor and improve the efficiency of data collection. However, the information collected is usually transmitted through the network, which may be illegally attacked during the transmission process, threatening the security of the information.

因此,如何确保信息安全性是本领域亟待解决的技术问题。Therefore, how to ensure information security is an urgent technical problem to be solved in the art.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本申请实施例中提供了一种信息处理方法、装置及设备,可用于提高信息的安全性。In view of this, embodiments of the present application provide an information processing method, apparatus, and device, which can be used to improve the security of information.

为解决上述技术问题,本说明书实施例是这样实现的:In order to solve the above-mentioned technical problems, the embodiments of this specification are implemented as follows:

本说明书实施例中提供的一种信息处理方法,包括:An information processing method provided in the embodiments of this specification includes:

接收信息采集设备发送的加密后的采集信息;Receive the encrypted collection information sent by the information collection device;

根据所述加密后的采集信息对应的信息采集设备标识,判断所述信息采集设备是否为预设信息采集设备;According to the information collection device identifier corresponding to the encrypted collection information, determine whether the information collection device is a preset information collection device;

若所述信息采集设备为预设信息采集设备,则将所述加密后的采集信息上传至所述区块链系统。If the information collection device is a preset information collection device, upload the encrypted collection information to the blockchain system.

本说明书实施例中提供的一种信息处理方法,包括:An information processing method provided in the embodiments of this specification includes:

获取信息管理设备上传的加密后的采集信息;所述采集信息是信息采集设备采集后上传至所述信息管理设备的;Obtain the encrypted collection information uploaded by the information management device; the collection information is uploaded to the information management device after being collected by the information collection device;

对所述采集信息进行验签处理;Perform signature verification processing on the collected information;

将通过验签的所述加密后的采集信息保存至区块链。The encrypted collection information that has passed the signature verification is saved to the blockchain.

本说明书实施例中提供的一种信息处理方法,包括:An information processing method provided in the embodiments of this specification includes:

获取采集信息;obtain collection information;

对所述采集信息进行加密,得到加密后的采集信息;Encrypting the collection information to obtain encrypted collection information;

发送所述加密后的采集信息给信息管理设备;所述加密后的采集信息与信息采集设备标识相对应,所述信息采集设备标识用于所述信息管理设备判断所述信息采集设备为预设信息采集设备时,将所述加密后的采集信息上传至区块链系统。Sending the encrypted collection information to an information management device; the encrypted collection information corresponds to an information collection device identification, and the information collection device identification is used by the information management device to determine that the information collection device is preset When the information collection device is used, the encrypted collection information is uploaded to the blockchain system.

本说明书实施例中提供的一种信息处理装置,包括:An information processing apparatus provided in the embodiments of this specification includes:

采集信息接收模块,用于接收信息采集设备发送的加密后的采集信息;The collection information receiving module is used to receive the encrypted collection information sent by the information collection device;

采集设备判断模块,用于根据所述加密后的采集信息对应的信息采集设备标识,判断所述信息采集设备是否为预设信息采集设备;A collection device judgment module, configured to judge whether the information collection device is a preset information collection device according to the information collection device identifier corresponding to the encrypted collection information;

信息上链模块,用于若所述信息采集设备为预设信息采集设备,则将所述加密后的采集信息上传至所述区块链系统。The information uploading module is configured to upload the encrypted collection information to the blockchain system if the information collection device is a preset information collection device.

本说明书实施例中提供的一种信息处理装置,包括:An information processing apparatus provided in the embodiments of this specification includes:

采集信息获取模块,用于获取信息管理设备上传的加密后的采集信息;所述采集信息是信息采集设备采集后上传至所述信息管理设备的;an acquisition information acquisition module, configured to acquire the encrypted acquisition information uploaded by the information management device; the acquisition information is uploaded to the information management device after being acquired by the information acquisition device;

信息验签模块,用于对所述采集信息进行验签处理;an information signature verification module, configured to perform signature verification processing on the collected information;

信息保存模块,用于将通过验签的所述加密后的采集信息保存至区块链。The information saving module is used to save the encrypted collection information that has passed the signature verification to the blockchain.

本说明书实施例中提供的一种信息处理装置,包括:An information processing apparatus provided in the embodiments of this specification includes:

信息获取模块,用于获取采集信息;The information acquisition module is used to acquire the collection information;

信息加密模块,用于对所述采集信息进行加密,得到加密后的采集信息;an information encryption module, used for encrypting the collection information to obtain the encrypted collection information;

信息发送模块,用于发送所述加密后的采集信息给信息管理设备;所述加密后的采集信息与信息采集设备标识相对应,所述信息采集设备标识用于所述信息管理设备判断所述信息采集设备为预设信息采集设备,将所述加密后的采集信息上传至区块链系统。an information sending module, configured to send the encrypted collection information to an information management device; the encrypted collection information corresponds to an information collection device identifier, and the information collection device identifier is used by the information management device to determine the The information collection device is a preset information collection device, and uploads the encrypted collection information to the blockchain system.

本说明书实施例中提供的一种信息处理设备,包括:An information processing device provided in the embodiments of this specification includes:

至少一个处理器;以及,at least one processor; and,

与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,

所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:

接收信息采集设备发送的加密后的采集信息;Receive the encrypted collection information sent by the information collection device;

根据所述加密后的采集信息对应的信息采集设备标识,判断所述信息采集设备是否为预设信息采集设备;According to the information collection device identifier corresponding to the encrypted collection information, determine whether the information collection device is a preset information collection device;

若所述信息采集设备为预设信息采集设备,则将所述加密后的采集信息上传至所述区块链系统。If the information collection device is a preset information collection device, upload the encrypted collection information to the blockchain system.

本说明书实施例中提供的一种信息处理设备,包括:An information processing device provided in the embodiments of this specification includes:

至少一个处理器;以及,at least one processor; and,

与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,

所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:

获取信息管理设备上传的加密后的采集信息;所述采集信息是信息采集设备采集后上传至所述信息管理设备的;Obtain the encrypted collection information uploaded by the information management device; the collection information is uploaded to the information management device after being collected by the information collection device;

对所述采集信息进行验签处理;Perform signature verification processing on the collected information;

将通过验签的所述加密后的采集信息保存至区块链。The encrypted collection information that has passed the signature verification is saved to the blockchain.

本说明书实施例中提供的一种信息处理设备,包括:An information processing device provided in the embodiments of this specification includes:

至少一个处理器;以及,at least one processor; and,

与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,

所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:

获取采集信息;obtain collection information;

对所述采集信息进行加密,得到加密后的采集信息;Encrypting the collection information to obtain encrypted collection information;

发送所述加密后的采集信息给信息管理设备;所述加密后的采集信息与信息采集设备标识相对应,所述信息采集设备标识用于所述信息管理设备判断所述信息采集设备为预设信息采集设备时,将所述加密后的采集信息上传至区块链系统。Sending the encrypted collection information to an information management device; the encrypted collection information corresponds to an information collection device identification, and the information collection device identification is used by the information management device to determine that the information collection device is preset When the information collection device is used, the encrypted collection information is uploaded to the blockchain system.

本说明书实施例中采用的上述至少一个技术方案能够达到以下有益效果:The above-mentioned at least one technical solution adopted in the embodiments of this specification can achieve the following beneficial effects:

本说明书实施例中,信息采集设备将采集信息加密后传输给信息管理设备,可有效提高信息的安全性,减少因网络攻击造成的信息错误,并且信息管理设备对信息采集设备进行验证,保证只有预设信息采集设备的采集信息才能上传至区块链系统,可减少干扰信息,进一步提高信息的安全性,因此,本说明书实施例中的方案可以从多角度保证信息安全性,进而也可以提高区块链中信息的可信度。In the embodiment of this specification, the information collection device encrypts the collected information and transmits it to the information management device, which can effectively improve the security of the information and reduce information errors caused by network attacks, and the information management device verifies the information collection device to ensure that only Only the information collected by the preset information collection device can be uploaded to the blockchain system, which can reduce interference information and further improve the security of information. Therefore, the solutions in the embodiments of this specification can ensure information security from multiple perspectives, and can also improve the security of information. The credibility of information in the blockchain.

另外,本说明书实施例中利用信息管理设备将信息采集设备获取的采集信息上传至区块链系统,无需将信息采集设备上链,可降低信息上链的成本,也可减少区块链系统中设备的连接数量,提高区块链系统的工作效率。In addition, in the embodiment of this specification, the information management equipment is used to upload the collection information obtained by the information collection equipment to the blockchain system, and there is no need to upload the information collection equipment to the chain, which can reduce the cost of information uploading, and can also reduce the amount of time in the blockchain system. The number of devices connected to improve the work efficiency of the blockchain system.

附图说明Description of drawings

此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation of the present application. In the attached image:

图1为本说明书实施例中提供的一种信息处理方法的应用场景的示意图;1 is a schematic diagram of an application scenario of an information processing method provided in an embodiment of this specification;

图2为本说明书实施例中提供的一种信息处理方法的流程示意图;2 is a schematic flowchart of an information processing method provided in an embodiment of the present specification;

图3为本说明书实施例中提供的一种信息处理方法的时序图;3 is a sequence diagram of an information processing method provided in an embodiment of the present specification;

图4为本说明书实施例中提供的一种信息处理方法的流程示意图;4 is a schematic flowchart of an information processing method provided in an embodiment of this specification;

图5为本说明书实施例中提供的一种信息处理方法的流程示意图;5 is a schematic flowchart of an information processing method provided in an embodiment of the present specification;

图6为本说明书实施例中提供的一种信息处理装置的结构示意图;FIG. 6 is a schematic structural diagram of an information processing apparatus provided in an embodiment of this specification;

图7为本说明书实施例中提供的一种信息处理装置的结构示意图;FIG. 7 is a schematic structural diagram of an information processing apparatus provided in an embodiment of the present specification;

图8为本说明书实施例中提供的一种信息处理装置的结构示意图;FIG. 8 is a schematic structural diagram of an information processing apparatus provided in an embodiment of the present specification;

图9为本说明书实施例中提供的一种信息处理设备的结构示意图。FIG. 9 is a schematic structural diagram of an information processing device provided in an embodiment of the present specification.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objectives, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

以下结合附图,详细说明本申请各实施例中提供的技术方案。The technical solutions provided in the embodiments of the present application will be described in detail below with reference to the accompanying drawings.

图1为本说明书实施例中提供的一种信息处理方法的应用场景的示意图。如图1所示,整体架构中,主要包括被采集目标1、信息采集设备2、信息管理设备3以及区块链系统4。在实际应用中,被采集目标1可以包括仓库中存储的货物、设备中运行或存储的数据等可以被信息采集设备2采集的目标;信息采集设备2可以包括传感器、采集器、扫描器、摄像头等具有信息采集功能的设备;信息管理设备3可以是具有上链功能服务器类设备,可以将信息采集设备2采集的信息上传至区块链系统4,将采集的信息存储在区块链中。本说明书实施例中,信息采集设备2采集被采集目标1得到采集信息,将采集信息加密传输给信息管理设备3,提高了采集信息的安全性;为进一步确保接收到的信息的安全性,信息管理设备3还可以对接收到的采集信息进行验证,确定接收到的采集信息是由信息采集设备2发送的;并且信息管理设备3可以接收多个信息采集设备2的信息,将采集的信息聚合后上传到区块链系统4中,可减少上链设备的数量,降低上链成本,并且可以减少区块链系统中设备的连接数量,提高区块链系统的工作效率。FIG. 1 is a schematic diagram of an application scenario of an information processing method provided in an embodiment of the present specification. As shown in Figure 1, the overall architecture mainly includes a target to be collected 1, an information collection device 2, an information management device 3, and a blockchain system 4. In practical applications, the collected target 1 may include the goods stored in the warehouse, the data running or stored in the equipment, etc. that can be collected by the information collection device 2; the information collection device 2 may include sensors, collectors, scanners, cameras, etc. Such as equipment with information collection function; information management equipment 3 can be a server type equipment with on-chain function, which can upload the information collected by information collection equipment 2 to blockchain system 4, and store the collected information in the blockchain. In the embodiment of this specification, the information collection device 2 collects the collected target 1 to obtain the collected information, and encrypts and transmits the collected information to the information management device 3, thereby improving the security of the collected information; in order to further ensure the security of the received information, the information The management device 3 can also verify the received collection information, and determine that the received collection information is sent by the information collection device 2; and the information management device 3 can receive information from multiple information collection devices 2, and aggregate the collected information After uploading to the blockchain system 4, the number of devices on the chain can be reduced, the cost of on-chain can be reduced, the number of devices connected in the blockchain system can be reduced, and the work efficiency of the blockchain system can be improved.

图2为本说明书实施例提供的一种信息处理方法的流程示意图。从程序角度而言,流程的执行主体可以为搭载于服务器或终端的程序。从功能角度而言,流程的执行主体对应的硬件设备可以是信息管理设备。FIG. 2 is a schematic flowchart of an information processing method according to an embodiment of the present specification. From a program perspective, the execution body of the process may be a program mounted on a server or a terminal. From a functional point of view, the hardware device corresponding to the execution subject of the process may be an information management device.

如图2所示,该流程可以包括以下步骤:As shown in Figure 2, the process can include the following steps:

步骤202:接收信息采集设备发送的加密后的采集信息;Step 202: Receive the encrypted collection information sent by the information collection device;

实际应用中,信息采集设备通常可以采用蓝牙、无线、有线等传输方式将获取的采集信息传输给信息管理设备,还可以将采集信息加密后再进行传输,可减少网络攻击对采集信息的威胁,可提高信息的安全性。In practical applications, the information collection equipment can usually transmit the acquired information to the information management equipment by means of Bluetooth, wireless, wired and other transmission methods, and can also encrypt the collected information before transmitting, which can reduce the threat of network attacks to the collected information. Improves information security.

步骤204:根据所述加密后的采集信息对应的信息采集设备标识,判断所述信息采集设备是否为预设信息采集设备;Step 204: According to the information collection equipment identifier corresponding to the encrypted collection information, determine whether the information collection equipment is a preset information collection equipment;

实际应用中,加密后的采集信息中可以与信息采集设备标识相对应,具体的,加密后的采集信息中可以包含信息采集设备标识,信息采集设备标识也可以不包含于加密后的采集信息中,而是作为附加信息与加密后的采集信息一同发送给信息管理设备。所述信息采集设备标识可以用于指向发送采集信息的信息采集设备,其可以是信息采集设备的唯一标识符,如设备ID、设备序列号、MAC地址等,也可以是为信息采集设备预设的标识,如按照地理位置、排序等生成的标识信息,本说明书实施例中对信息采集设备标识的具体形式不作限定,只要能够将不同的信息采集设备区分,信息管理设备可以确定加密后的采集信息是由具体哪个信息采集设备发送的即可。In practical applications, the encrypted collection information may correspond to the identification of the information collection equipment. Specifically, the encrypted collection information may include the identification of the information collection equipment, and the identification of the information collection equipment may not be included in the encrypted collection information. , but sent to the information management device as additional information together with the encrypted collection information. The information collection device identifier can be used to point to the information collection device that sends the collection information, and it can be a unique identifier of the information collection device, such as device ID, device serial number, MAC address, etc., or it can be preset for the information collection device. For example, the identification information generated according to geographic location, sorting, etc., the specific form of the information collection device identification is not limited in the embodiments of this specification. As long as different information collection devices can be distinguished, the information management device can determine the encrypted collection device. The information can be sent by which specific information collection device.

实际应用中,为确保信息来源的可靠性,可以设置与信息管理设备对应的预设信息采集设备,信息管理设备可以将预设信息采集设备发送的采集信息上传至区块链系统,而对于预设信息采集设备之外的其他设备发送的采集信息不做上链处理,可以避免一些干扰设备发送的信息对真实采集信息的影响,提高信息来源的可靠性。例如,一些非法用户伪造了信息采集设备并伪造了采集信息,由于此信息采集设备是伪造的,是预设信息采集设备之外的设备,即使信息管理设备接收到此信息采集设备发送的伪造信息,也不会将伪造的信息上传至区块链系统,进一步保证信息的安全性。In practical applications, in order to ensure the reliability of the information source, a preset information collection device corresponding to the information management device can be set up, and the information management device can upload the collected information sent by the preset information collection device to the blockchain system, while for the preset information The collection information sent by other devices other than the information collection device is not processed on the chain, which can avoid the influence of the information sent by some interfering devices on the real collected information, and improve the reliability of the information source. For example, some illegal users forged information collection equipment and forged collection information. Since this information collection equipment is forged and is a device other than the preset information collection equipment, even if the information management equipment receives the forged information sent by this information collection equipment , and will not upload forged information to the blockchain system to further ensure the security of information.

步骤206:若所述信息采集设备为预设信息采集设备,则将所述加密后的采集信息上传至所述区块链系统。Step 206: If the information collection device is a preset information collection device, upload the encrypted collection information to the blockchain system.

实际应用中,信息管理设备可以将预设信息采集设备的采集信息上传至区块链系统,保证采集信息的真实有效性。In practical applications, the information management equipment can upload the collected information of the preset information collection equipment to the blockchain system to ensure the authenticity and validity of the collected information.

本说明书实施例中信息采集设备可以是直接进行信息采集或者获取的设备,例如,摄像头、传感器、扫描器等设备,其数量可以很多,甚至可达到上万个,例如,大型仓库中的每个货架中通常都会布置多个传感器或摄像头用于对货架中货物情况进行监测,而在大型仓库中货架的数量通常会有成百上千个,这样整个仓库中信息采集设备的数量就会很多,如果将其获取的采集数据直接上传到区块链中,需要将所有信息采集设备配置为可上链的设备,会增加成本,并且过多设备连接到区块链中,也会影响区块链对信息的处理效率。本说明书实施例中信息管理设备可以接收多个信息采集设备传输采集信息,利用信息管理设备将信息采集设备获取的采集信息聚合处理后,再上传到区块链中,可降低上链成本,提高区块链的处理效率,并且信息管理设备可以只将具有权限的信息采集设备发送的采集信息上传至区块链系统,可进一步保证上链信息的安全性。The information collection device in the embodiment of this specification may be a device that directly collects or acquires information, for example, a camera, a sensor, a scanner, and other devices, the number of which may be many, even tens of thousands, for example, each of the large warehouses Multiple sensors or cameras are usually arranged in the shelves to monitor the conditions of the goods in the shelves, and in a large warehouse there are usually hundreds or thousands of shelves, so the number of information collection devices in the entire warehouse will be large. If the acquired data is directly uploaded to the blockchain, all information acquisition devices need to be configured as devices that can be linked to the blockchain, which will increase the cost, and if too many devices are connected to the blockchain, it will also affect the blockchain. The efficiency of processing information. In the embodiment of this specification, the information management device can receive multiple information collection devices to transmit collection information, and the information management device can be used to aggregate and process the collection information obtained by the information collection device, and then upload it to the blockchain, which can reduce the cost of uploading the chain and improve the The processing efficiency of the block chain, and the information management equipment can only upload the collected information sent by the authorized information collection equipment to the block chain system, which can further ensure the security of the information on the chain.

本说明书实施例中,信息采集设备将采集信息加密后传输给信息管理设备,可有效提高信息的安全性,减少因网络攻击造成的信息错误,并且信息管理设备对信息采集设备进行验证,保证只有预设信息采集设备的采集信息才能上传至区块链系统,可减少干扰信息,进一步提高信息的安全性,因此,本说明书实施例中的方案可以从多角度保证信息安全性,进而也可以提高区块链中信息的可信度。In the embodiment of this specification, the information collection device encrypts the collected information and transmits it to the information management device, which can effectively improve the security of the information and reduce information errors caused by network attacks, and the information management device verifies the information collection device to ensure that only Only the information collected by the preset information collection device can be uploaded to the blockchain system, which can reduce interference information and further improve the security of information. Therefore, the solutions in the embodiments of this specification can ensure information security from multiple perspectives, and can also improve the security of information. The credibility of information in the blockchain.

另外,本说明书实施例中利用信息管理设备将信息采集设备获取的采集信息上传至区块链系统,无需将信息采集设备上链,可降低信息上链的成本,也可减少区块链系统中设备的连接数量,提高区块链系统的工作效率。In addition, in the embodiment of this specification, the information management equipment is used to upload the collection information obtained by the information collection equipment to the blockchain system, and there is no need to upload the information collection equipment to the chain, which can reduce the cost of information uploading, and can also reduce the amount of time in the blockchain system. The number of devices connected to improve the work efficiency of the blockchain system.

本说明书实施例中预设信息采集设备可以是满足预设条件的信息采集设备,也可以是与信息管理设备具有预设关系的信息采集设备,例如,将信息管理设备的设备列表中的信息采集设备设定为预设的信息采集设备,其中设备列表可以是预先设置的,也可以是根据与信息管理设备进行信息交互的信息采集设备生成的;又如,将某种型号的信息采集设备设定为预设的信息采集设备;又如,将与信息采集设备满足特定位置关系信息采集设备设定为预设的信息采集设备;又如,将与信息采集设备建立有绑定关系的信息采集设备设定为预设的信息采集设备,其中绑定关系可以理解为信息采集设备与信息管理设备互相进行了身份验证,两者之间允许进行信息交互。需要说明的是预信息采集设备的确定方式可以根据实际需要进行设定,这里不作具体限定。为更清楚的说明本说明书实施例中的方案,以预设信息采集设备为与信息采集设备建立有绑定关系的信息采集设备为例进行说明。The preset information collection device in the embodiment of this specification may be an information collection device that satisfies a preset condition, or an information collection device that has a preset relationship with the information management device. For example, the information in the device list of the information management device is collected. The device is set as a preset information collection device, and the device list can be preset or generated according to the information collection device that interacts with the information management device; set as a preset information collection device; another example, set an information collection device that satisfies a specific location relationship with the information collection device as a preset information collection device; another example, set up an information collection device that has a binding relationship with the information collection device The device is set as a preset information collection device, and the binding relationship can be understood as the mutual authentication of the information collection device and the information management device, and information exchange is allowed between the two. It should be noted that the determination method of the pre-information collection device may be set according to actual needs, which is not specifically limited here. In order to illustrate the solutions in the embodiments of the present specification more clearly, the preset information collection device is an information collection device that has a binding relationship with the information collection device as an example for description.

图3为本说明书实施例提供的一种信息处理方法的时序图,如图3所示,本说明书实施例中的信息处理方法可以包括绑定阶段和信息处理阶段。FIG. 3 is a sequence diagram of an information processing method provided by an embodiment of the present specification. As shown in FIG. 3 , the information processing method in the embodiment of the present specification may include a binding phase and an information processing phase.

其中,绑定阶段主要包括信息采集设备与信息管理设备建立绑定关系,信息管理设备可以对与其具有绑定关系的信息采集设备的采集信息进行上链处理,具体的绑定过程可以包括:信息采集设备可以向信息管理设备发送预先约定的第一绑定码,信息管理设备验证接收到的第一绑定码,验证通过后可向信息采集设备发送符合预定规则的第二验证码,信息采集设备可对第二验证码进行验证,验证通过则建立两者的绑定关系。The binding stage mainly includes establishing a binding relationship between the information acquisition device and the information management device, and the information management device can perform uplink processing on the information collected by the information acquisition device that has a binding relationship with it. The specific binding process may include: information The collection device can send a pre-agreed first binding code to the information management device, the information management device verifies the received first binding code, and after the verification is passed, it can send a second verification code that conforms to the predetermined rules to the information collection device. The device can verify the second verification code, and if the verification is passed, a binding relationship between the two is established.

信息处理阶段,主要是与信息管理设备建立绑定关系的信息采集设备将获取到的采集信息进行加密,将加密后的采集信息传输给信息管理设备,信息管理设备将接收到的加密后的采集信息上传至区块链系统。其中,信息采集设备可采用非对称加密方法对采集信息加密,并将公钥广播给信息管理设备,用于信息管理设备对加密后的采集信息进行验证。In the information processing stage, the information collection equipment that has established a binding relationship with the information management equipment encrypts the acquired collection information, transmits the encrypted collection information to the information management equipment, and the information management equipment receives the encrypted collection information. The information is uploaded to the blockchain system. The information collection device can encrypt the collected information by using an asymmetric encryption method, and broadcast the public key to the information management device, so that the information management device can verify the encrypted collected information.

本说明书实施例中可以采用密钥机制对采集信息加密,具体的可采用非对称密钥技术,基于密码学的算法,每个信息采集设备和信息管理设备都可以具有两个独立的密钥,一个是公钥,一个是私钥,公钥与私钥在数学上是相关的,公钥可以用于加密一段信息或者验证一个数字签名,私钥可以用来解密信息或者创建数字签名。在实际应用中,公钥不能反推得到私钥,所以公钥可以公开而不用担心信息的安全性,而私钥必须妥善保管,不得泄露,通常由私钥的所有者保管。信息的验证可以是私钥加工一段信息,得到一个数据签名,任何人都可以使用公钥来验证这个签名是不是属于签名人的,是不是未篡改的,使用私钥签名可以防止信息被篡改。In the embodiments of this specification, a key mechanism can be used to encrypt the collected information, and specifically, asymmetric key technology can be used. Based on cryptographic algorithms, each information collection device and information management device can have two independent keys. One is the public key and the other is the private key. The public key and the private key are mathematically related. The public key can be used to encrypt a piece of information or verify a digital signature. The private key can be used to decrypt information or create a digital signature. In practical applications, the public key cannot be reversed to obtain the private key, so the public key can be disclosed without worrying about the security of the information, and the private key must be kept properly and must not be leaked, usually by the owner of the private key. The verification of information can be to process a piece of information with the private key to obtain a data signature. Anyone can use the public key to verify whether the signature belongs to the signer and whether it has not been tampered with. Using the private key signature can prevent information from being tampered with.

说明书实施例中,所述接收信息采集设备发送的加密后的采集信息之前,还可以包括:In the embodiment of the specification, before the receiving the encrypted collection information sent by the information collection device, may further include:

接收所述信息采集设备发送的绑定请求;receiving a binding request sent by the information collection device;

基于所述绑定请求,建立与所述信息采集设备的所述绑定关系。Based on the binding request, the binding relationship with the information collection device is established.

实际应用中,信息管理设备与信息采集设备建立绑定关系,可有效避免信息管理设备接收到具有干扰性的采集信息,例如,非法用户对信息管理设备进行网络攻击时,通过虚拟的或非法连接的信息采集设备向信息管理设备传输虚假信息,由于信息管理设备没有与这类信息采集设备建立绑定关系,也就不会将这类信息采集设备发送的信息上传至区块链系统,可确保上传至区块链系统的信息是可靠的。In practical applications, the information management device establishes a binding relationship with the information collection device, which can effectively prevent the information management device from receiving interfering collection information. For example, when an illegal user attacks the information management device through a virtual or illegal connection The information collection equipment of the network transmits false information to the information management equipment. Since the information management equipment has not established a binding relationship with such information collection equipment, the information sent by such information collection equipment will not be uploaded to the blockchain system, ensuring that The information uploaded to the blockchain system is reliable.

其中,绑定请求可以包括第一绑定码,所述基于所述绑定请求,建立与所述信息采集设备的绑定关系,具体可以包括:The binding request may include a first binding code, and establishing a binding relationship with the information collection device based on the binding request may specifically include:

判断所述第一绑定码是否与预设绑定码相同;judging whether the first binding code is the same as the preset binding code;

若所述第一绑定码与所述预设绑定码相同,则将所述信息采集设备的信息采集设备标识确定为预设信息采集设备标识;所述预设信息采集设备标识为所述预设信息采集设备对应的用于区分不同预设信息采集设备的标识。If the first binding code is the same as the preset binding code, the information collection device identifier of the information collection device is determined as the preset information collection device identifier; the preset information collection device identifier is the The identifiers corresponding to the preset information collection devices are used to distinguish different preset information collection devices.

本说明书实施例中信息管理设备可以通过从信息采集设备获取第一绑定码的方式建立与信采集设备的绑定关系,实际应用中,信息采集设备可以通过操作信息采集设备的操作面板向信息管理设备发送第一绑定码,也可以通过扫描信息管理设备出示的二维码、条形码等码图像向信息管理设备发送第一绑定码信息管理设备还可以通过扫描信息管理设备出示的二维码、条形码等码图像获取第一绑定码,具体形式,这里不作限定,只要信息管理设备可以获得信息采集设备发送的第一绑定码即可。实际应用中,在信息管理设备与信息采集设备建立绑定关系时,可以约定绑定码,也可称为预设绑定码,信息采集设备向信息管理设备发送第一绑定码,信息管理设备可以判断接收到的绑定码是否与预设绑定码相同,如果相同则可以与信息采集设备建立绑定关系。In the embodiment of this specification, the information management device can establish a binding relationship with the information collection device by acquiring the first binding code from the information collection device. In practical applications, the information collection device can operate the operation panel of the information collection device. The device sends the first binding code, and can also send the first binding code to the information management device by scanning the QR code, barcode and other code images presented by the information management device. The information management device can also scan the QR code presented by the information management device. , barcode and other code images to obtain the first binding code, the specific form is not limited here, as long as the information management device can obtain the first binding code sent by the information collection device. In practical applications, when the information management device and the information collection device establish a binding relationship, a binding code may be agreed, which may also be called a preset binding code. The information collection device sends the first binding code to the information management device, and the information management The device can determine whether the received binding code is the same as the preset binding code, and if it is the same, it can establish a binding relationship with the information collection device.

其中,第一绑定码可以是数字、文字、符合等多种形式,也可以包含表征信息采集设备身份特征的信息,例如设备名称、设备型号等。例如,预设绑定码为“113355”,信息采集设备可以向信息管理设备发送“113355”,信息管理设备确定信息采集设备发送的是与预设绑定码相同的第一绑定码,则确定可以与信息采集设备建立绑定关系。又如,第一绑定码包含信息采集设备的身份标识,如设备的编号“adc……”,预设绑定码可以包括全部或者部分可绑定设备的身份标识,如预设绑定码为“adc”,表示信息管理设备可以与设备编号前三位为“adc”的信息采集设备进行绑定,信息管理设备可以将接收到的信息采集设备的身份标识与预设的可绑定设备的身份标识进行比对,若预设的可绑定设备的身份标识中包含接收到的信息采集设备的身份标识,则表示第一绑定码与预设绑定码相同,则确定可以与此信息采集设备建立绑定关系。需要说明的是,上述内容仅是对第一绑定码进行的举例说明,并不作为限定内容,第一绑定码可以根据实际需求设定,只要能够用于判断信息采集设备是否具有与信息管理设备进行绑定的权限即可。Wherein, the first binding code may be in various forms such as numbers, characters, matches, etc., and may also include information representing the identity characteristics of the information collection device, such as device name, device model, and the like. For example, the preset binding code is "113355", the information collection device can send "113355" to the information management device, and the information management device determines that the first binding code sent by the information collection device is the same as the preset binding code, then Make sure that a binding relationship can be established with the information collection device. For another example, the first binding code includes the identification of the information collection device, such as the serial number of the device "adc...", and the preset binding code may include all or part of the identification of the device that can be bound, such as the preset binding code It is "adc", which means that the information management device can be bound with the information collection device whose first three digits of the device number are "adc". The information management device can associate the received ID of the information collection device with the preset bindable device. If the preset identifier of the bindable device includes the received identifier of the information collection device, it means that the first binding code is the same as the preset binding code, then it is determined that the same The information collection device establishes a binding relationship. It should be noted that the above content is only an example of the first binding code, and is not intended to be limited. The first binding code can be set according to actual needs, as long as it can be used to determine whether the information collection device has the relevant information. You can manage the permissions for device binding.

本说明书实施例中预设信息采集设备标识可以是预设信息采集设备对应的设备标识,所述判断所述信息采集设备是否为预设信息采集设备,具体可以包括:The preset information collection device identifier in the embodiment of this specification may be a device identifier corresponding to the preset information collection device, and the judging whether the information collection device is the preset information collection device may specifically include:

判断所述信息采集设备的信息采集设备标识是否与所述预设信息采集设备标识相同。It is judged whether the information collection device identification of the information collection device is the same as the preset information collection device identification.

本说明书实施例中,若信息采集设备信息采集设备标识与预设信息采集设备标识,则可以确定所述信息采集设备为预设信息采集设备,信息管理设备可以将其发送的采集信息上传至区块链系统。In the embodiment of this specification, if the information collection device ID of the information collection device is the same as the preset information collection device ID, it can be determined that the information collection device is the preset information collection device, and the information management device can upload the collection information sent by it to the district Blockchain system.

在实际应用中,可以将预设信息采集设备对应的预设信息采集设备标识保存在信息采集设备绑定列表中,信息采集设备绑定列表中可以记录有预设信息采集设备对应的预设信息采集设备标识,也可以是所有与信息管理设备具有绑定关系的信息采集设备的信息采集设备标识。在判断信息采集设备是否为预设信息采集设备时,可以将加密后的采集信息对应的信息采集设备标识与信息采集设备绑定列表中的内容进行比对,若此信息采集设备标识存在于列表中,则表示信息采集设备为预设信息采集设备。In practical applications, the preset information collection device identifier corresponding to the preset information collection device may be saved in the information collection device binding list, and the information collection device binding list may record the preset information corresponding to the preset information collection device The collection device identifier may also be the information collection device identifiers of all information collection devices that have a binding relationship with the information management device. When judging whether the information collection device is a preset information collection device, the information collection device ID corresponding to the encrypted collection information can be compared with the content in the information collection device binding list. If the information collection device ID exists in the list , it means that the information collection device is the preset information collection device.

为进一步完善绑定关系,保证信息的安全性,所述则将所述信息采集设备的信息采集设备标识确定为预设信息采集设备标识之后,还可以包括:In order to further improve the binding relationship and ensure the security of information, after the information collection device identification of the information collection device is determined as the preset information collection device identification, it may further include:

按照预设规则,根据所述第一绑定码生成第二绑定码;According to a preset rule, generate a second binding code according to the first binding code;

将所述第二绑定码发送给所述信息采集设备,所述第二绑定码用于所述信息采集设备对所述信息管理设备进行验证。Sending the second binding code to the information collection device, where the second binding code is used by the information collection device to verify the information management device.

本说明书实施例中信息管理设备还可以按照预设规则,根据第一绑定码生成第二绑定码,反馈给信息采集设备,以便信息采集设备对信息管理设备进行验证,以确定此信息管理设备是接收到第一绑定码的信息管理设备,采用双方验证的方式,确保建立绑定关系的双方的合法性。例如,信息管理设备可以在第一绑定码的基础上添加特定信息构成第二绑定码,发送给信息采集设备,由于第一绑定码是由信息采集设备发送给信息管理设备的,收到第二绑定码的信息采集设备可以通过判断第二绑定码中是否包含之前发送给信息管理设备的第一绑定码对信息管理设备进行验证,若第二绑定码中包含之前发送给信息管理设备的第一绑定码,则表示此信息管理设备是信息采集设备想要进行信息传输的设备,可以与信息管理设备建立绑定关系,以便后续将采集信息传输给此信息管理设备。预设规则还可以是预设的算法,如,将第一绑定码与预设数值按照预设运算法则进行运算得到第二绑定码,信息采集设备接收到第二绑定码后可以进行逆运算来确定此信息管理设备是接收到第一绑定码的信息管理设备,等等。需要说明的是,本说明书实施例中预设规则可以根据实际需求进行设定,具体形式这里不作限定,只要能够用于信息采集设备对信息管理设备进行验证,完成双方验证即可。In the embodiment of this specification, the information management device can also generate a second binding code according to the first binding code according to preset rules, and feed it back to the information collection device, so that the information collection device can verify the information management device to determine the information management device. The device is an information management device that has received the first binding code, and adopts a two-party verification method to ensure the legitimacy of the two parties who establish the binding relationship. For example, the information management device can add specific information on the basis of the first binding code to form a second binding code, and send it to the information collection device. Since the first binding code is sent by the information collection device to the information management device, the receiving The information collection device to the second binding code can verify the information management device by judging whether the second binding code contains the first binding code previously sent to the information management device. The first binding code given to the information management device indicates that the information management device is the device that the information collection device wants to transmit information, and can establish a binding relationship with the information management device so that the collected information can be subsequently transmitted to the information management device . The preset rule can also be a preset algorithm. For example, the first binding code and the preset value are calculated according to the preset algorithm to obtain the second binding code. After receiving the second binding code, the information collection device can perform the operation. The inverse operation is performed to determine that this information management device is the information management device that received the first binding code, and so on. It should be noted that the preset rules in the embodiments of this specification can be set according to actual needs, and the specific form is not limited here, as long as it can be used by the information collection device to verify the information management device and complete the two-party verification.

本说明书实施例中,信息采集设备在接收到第二验证码后还可以向信息管理设备反馈表示绑定成功或者不成功的信息,以便信息管理设备确定是否与信息采集设备绑定成功。若信息管理设备没有收到或者在预设时间段内没有收到信息采集设备反馈的表示绑定成功的信息,则可确定此次信息管理设备拒绝了本次绑定或者本次绑定过程存在某些问题,此时信息管理设备也不会将信息采集设备发送的采集信息上传至区块链系统。In the embodiment of this specification, after receiving the second verification code, the information collection device may also feed back information indicating that the binding is successful or unsuccessful to the information management device, so that the information management device can determine whether the binding with the information collection device is successful. If the information management device does not receive or does not receive the information indicating that the binding is successful from the information collection device within a preset time period, it can be determined that the information management device has rejected the binding this time or that the binding process exists this time. For some problems, the information management device will not upload the collected information sent by the information collection device to the blockchain system at this time.

在实际应用中,在绑定过程中,还可以由信息管理设备向信息采集设备发起绑定请求,信息采集设备基于此绑定请求反馈给信息管理设备一反馈信息,此反馈信息中可以包含表征绑定请求的信息,也可以包含表征信息采集设备对应的设备标识的信息,信息管理设备基于此反馈信息建立与信息采集设备的绑定关系。在绑定过程中,绑定请求的发起方可以根据实际需求进行设定,这里不作具体限定。In practical applications, during the binding process, the information management device may also initiate a binding request to the information acquisition device, and the information acquisition device feeds back feedback information to the information management device based on the binding request, and the feedback information may include a representation The information of the binding request may also include information representing the device identification corresponding to the information collecting device, and the information management device establishes a binding relationship with the information collecting device based on the feedback information. During the binding process, the initiator of the binding request can be set according to actual requirements, which is not specifically limited here.

本说明书实施例中可以将表征与信息管理设备具有绑定关系的信息采集设备的身份标识的内容保存至信息管理设备中和/或区块链中,在将采集信息上传至区块链系统之前,可以将采集信息中表征信息采集设备的身份信息的内容与保存至信息管理设备中和/或区块链的表征与信息管理设备具有绑定关系的信息采集设备的身份标识的内容进行比对,判断采集信息是否为与信息管理设备具有绑定关系的设备发送的。当将表征与信息管理设备具有绑定关系的信息采集设备的身份标识的内容保存至区块链中时,还可以根据所述内容将采集信息存储至于所述内容对应的区块链中,以便后续对采集信息的查找。In the embodiment of this specification, the content representing the identity of the information collection device that has a binding relationship with the information management device may be stored in the information management device and/or in the blockchain, before uploading the collected information to the blockchain system. , the content of the identity information that characterizes the information collection device in the collection information can be compared with the content of the identity information of the information collection device that is stored in the information management device and/or the representation of the blockchain has a binding relationship with the information management device. , to determine whether the collected information is sent by a device that has a binding relationship with the information management device. When the content representing the identity of the information collection device that has a binding relationship with the information management device is stored in the blockchain, the collection information can also be stored in the blockchain corresponding to the content according to the content, so that Subsequent search for collected information.

为进一步保证上传至区块链的信息的安全性,信息管理设备在将采集信息上传至区块链之前还可对采集信息进行签名验证,具体的,所述将所述加密后的采集信息上传至区块链系统之前,还可以包括:In order to further ensure the security of the information uploaded to the blockchain, the information management device can also perform signature verification on the collected information before uploading the collected information to the blockchain. Specifically, the encrypted collection information is uploaded. Before the blockchain system, it can also include:

获取所述信息采集设备的所述信息采集设备标识;acquiring the information collection device identifier of the information collection device;

基于所述信息采集设备标识,查找所述信息采集设备对应的公钥;Searching for the public key corresponding to the information collection device based on the information collection device identifier;

基于所述公钥,对所述加密后的采集信息进行签名验证,用于判断所述加密后的采集信息是否为所述信息采集设备传输给所述信息管理设备的;Based on the public key, signature verification is performed on the encrypted collection information to determine whether the encrypted collection information is transmitted by the information collection device to the information management device;

若所述签名验证通过,则将所述加密后的采集信息上传至区块链系统。If the signature verification is passed, the encrypted collection information is uploaded to the blockchain system.

本说明书实施例中信息采集设备可以生成公私钥对,加密的采集信息可以是利用信息采集设备的私钥签名处理过的信息,信息采集设备可以将公钥广播给信息管理设备,因此,在将采集信息上传至区块链之前,信息管理设备或者服务器还可以根据信息采集设备的设备标识,确定所述信息采集设备对应的公钥,利用公钥对加密后的采集信息进行签名验证,可以用于判断信息管理设备接收到的加密后的采集信息是否是发送所述加密后的采集信息的信息采集设备发送的,进一步提高加密后的采集信息来源的可靠性。In the embodiments of this specification, the information collection device may generate a public-private key pair, the encrypted collection information may be information processed by using the private key of the information collection device to sign, and the information collection device may broadcast the public key to the information management device. Before the collection information is uploaded to the blockchain, the information management device or the server can also determine the public key corresponding to the information collection device according to the device identification of the information collection device, and use the public key to perform signature verification on the encrypted collection information, which can be used It is used to judge whether the encrypted collection information received by the information management device is sent by the information collection device that sent the encrypted collection information, so as to further improve the reliability of the encrypted collection information source.

本说明书实施例中信息管理设备也可以生成公私钥对,信息采集设备可以接收到信息管理设备广播的公钥。信息采集设备可以将获取到采集信息利用信息采集设备自身的私钥签名,然后利用接收到的信息管理设备的公钥加密,得到带有签名的加密后的采集信息;信息管理设备接收到所述加密后的采集信息后,可以利用信息管理设备自身的私钥对此加密后的采集信息进行解密,得到解密后的采集信息,还可以利用信息采集设备的公钥对其进行签名验证,验证是否此采集信息是否是信息采集设备发送的,是否被篡改。并且由于采集信息是利用信息管理设备的公钥加密处理的,只有信息管理设备的私钥才能解密,即使此加密后的采集信息被不法用户窃取,此不法用户也不能得到原始的采集信息,也可以保证信息不被泄露。In the embodiment of this specification, the information management device can also generate a public-private key pair, and the information collection device can receive the public key broadcast by the information management device. The information collection device can use the private key of the information collection device to sign the acquired collection information, and then encrypt it with the received public key of the information management device to obtain the encrypted collection information with the signature; After the encrypted collection information, the encrypted collection information can be decrypted using the private key of the information management device itself to obtain the decrypted collection information, and the public key of the information collection device can be used for signature verification to verify whether Whether the collected information is sent by the information collection device and whether it has been tampered with. And because the collected information is encrypted with the public key of the information management device, only the private key of the information management device can be decrypted. Even if the encrypted collected information is stolen by an unlawful user, the unlawful user cannot obtain the original collected information. Information can be guaranteed not to be leaked.

为进一步确保获取到的信息的安全性,本说明书实施例中,所述将所述加密后的采集信息上传至区块链系统之前,还可以包括:In order to further ensure the security of the obtained information, in the embodiment of this specification, before uploading the encrypted collection information to the blockchain system, the method may further include:

获取所述加密后的采集信息的时间戳;obtaining the timestamp of the encrypted collection information;

判断所述时间戳表示的时间信息与所述信息管理设备获取所述时间戳的时间的时间差值是否小于或等于预设时间差值;judging whether the time difference between the time information represented by the time stamp and the time when the information management device obtained the time stamp is less than or equal to a preset time difference;

若所述时间戳表示的时间信息与所述信息管理设备获取所述时间戳的时间的时间差值小于或等于所述预设时间差值,则将所述加密后的采集信息上传至区块链系统。If the time difference between the time information represented by the time stamp and the time when the information management device acquired the time stamp is less than or equal to the preset time difference, upload the encrypted collection information to the block chain system.

本说明书实施例中信息采集设备还可将获取的采集信息添加时间戳,信息管理设备可以通过验证时间戳来保证信息的安全性。例如,信息采集设备每10分钟获取一次信息,并将信息发送给信息管理设备,从而信息管理设备可以每10分钟接收到一次此信息采集设备的信息,当采集信息的时间戳中表征的时间信息与信息管理设备获取到所述时间戳的时间差值大于10分钟时,则表示此采集信息是之前的信息,可能是被重复处理的信息,也可能是非法用户进行重放攻击等网络攻击的信息,信息管理设备可以将这类信息筛选出来或者屏蔽掉或者删除掉,不将这些信息上传至区块链系统,可以避免将非法用户篡改或者伪造的信息上传至区块链,从而保证区块链系统中的信息时真实的信息,也保证了信息安全性。In the embodiment of this specification, the information collection device may also add a timestamp to the acquired collection information, and the information management device may verify the time stamp to ensure the security of the information. For example, the information collection device obtains information every 10 minutes and sends the information to the information management device, so that the information management device can receive the information of the information collection device every 10 minutes, when the time information represented in the time stamp of the collected information is When the time difference between the time stamp obtained by the information management device and the timestamp is greater than 10 minutes, it means that the collected information is the previous information, which may be the information that has been repeatedly processed, or may be the result of a network attack such as a replay attack by an illegal user. Information, information management equipment can screen out, block or delete such information, and do not upload this information to the blockchain system, which can avoid uploading tampered or forged information by illegal users to the blockchain, thereby ensuring the block chain. The information in the chain system is real information, which also ensures information security.

本说明书实施例中信息管理设备接收到的采集信息中可以包含获取所述采集信息的信息采集设备对应的信息采集设备标识,信息采集设备标识也可以作为附加信息与采集信息一同发送给信息管理设备,信息管理设备可以设定采集信息与信息采集设备的管理关系,在实际应用中,信息管理设备也可以有多个,多个信息管理设备获取的采集信息可以保存至同一个区块链系统中,为实现采集信息的追溯性,也可以将信息管理设备设置设备标识,根据此标识可以确定由此信息管理设备上传的采集信息。本说明书实施例中,信息管理设备可以当作是区块链系统的一个节点,所述方法,还可以包括:In the embodiment of this specification, the collection information received by the information management device may include an information collection device identifier corresponding to the information collection device that acquired the collection information, and the information collection device identifier may also be sent to the information management device as additional information together with the collection information , the information management device can set the management relationship between the collection information and the information collection device. In practical applications, there can also be multiple information management devices, and the collection information obtained by multiple information management devices can be stored in the same blockchain system. , in order to realize the traceability of the collected information, the information management device can also be set with a device identification, and the collected information uploaded by the information management device can be determined according to this identification. In the embodiment of this specification, the information management device may be regarded as a node of the blockchain system, and the method may further include:

获取根据所述加密后的采集信息生成的链上数据的哈希值;obtaining the hash value of the data on the chain generated according to the encrypted collection information;

生成所述哈希值、所述信息采集设备标识与信息管理设备标识之间的关联关系数据;所述信息管理设备标识为所述信息管理设备对应的用于区别不同信息管理设备的标识;generating the association relationship data between the hash value, the identification of the information collection device and the identification of the information management device; the identification of the information management device is the identification corresponding to the information management device and used to distinguish different information management devices;

存储所述关联关系数据。The association relationship data is stored.

在实际应用中,将信息保存至区块链时,可以生成信息相应的哈希(hash)值,将哈希值存储到相应的区块中。本说明书实施例中存储的关联关系数据中可以包含所述信息采集设备标识与信息管理设备标识之间的关联数据,在获得新的采集信息后,还可以根据关联关系将新采集信息存储在获得此信息的信息采集设备对应的信息采集设备标识指向的区块中,可以使采集信息按照采集设备进行分类存储;同样,当有多个信息管理设备时,也可以将信息管理设备对应的信息管理设备标识指向不同的区块,将不同的信息管理设备获得的采集信息保存至对应的区块中。In practical applications, when the information is saved to the blockchain, the corresponding hash value of the information can be generated, and the hash value can be stored in the corresponding block. The association relationship data stored in the embodiments of this specification may include association data between the information collection device identification and the information management device identification. After obtaining new collection information, the new collection information may also be stored in the obtained data according to the association relationship. In the block pointed to by the identification of the information collection equipment corresponding to the information collection equipment of this information, the collection information can be classified and stored according to the collection equipment; similarly, when there are multiple information management equipment, the information management equipment corresponding to the information management equipment can also be The device identifiers point to different blocks, and the collected information obtained by different information management devices is stored in the corresponding blocks.

在实际应用中,还可以通过创建快照库的方式进行信息存储,创建信息采集设备快照库,例如,信息采集设备的信息采集设备标识可以指向区块链系统中的采集设备快照库,采集设备快照库中存储有表征所有信息采集设备的标识,每个信息采集设备的标识还可以指向存储加密后的采集信息的区块或者地址;信息管理设备的信息管理设备标识可以指向区块链系统中的管理设备快照库,管理设备快照库中存储有所有信息管理设备的标识,每个信息管理设备的标识还可以指向存储有与信息管理设备具有绑定关系的信息采集设备的标识的区块或者地址,进而信息管理设备可以将加密后的采集信息保存至对应的区块或者地址中。In practical applications, information storage can also be performed by creating a snapshot library, and a snapshot library of information collection equipment can also be created. The library stores the identifiers representing all information collection devices, and the identifier of each information collection device can also point to the block or address where the encrypted collection information is stored; the information management device identifier of the information management device can point to the block chain system. Management device snapshot library, the management device snapshot library stores the identifiers of all information management devices, and the identifier of each information management device can also point to the block or address where the identifier of the information collection device that has a binding relationship with the information management device is stored. , and the information management device can save the encrypted collection information to the corresponding block or address.

实际应用中可以通过调用智能合约对采集信息上传至区块链系统,利用智能合约来维护信息处理的所有记录。其中智能合约可以包含多种逻辑函数,可以表征信息采集设备与信息管理设备的关联关系、信息采集设备与加密的采集信息对应的公钥的关联关系,等等。In practical applications, the collected information can be uploaded to the blockchain system by calling smart contracts, and all records of information processing can be maintained by using smart contracts. The smart contract can contain a variety of logical functions, which can represent the relationship between the information collection device and the information management device, the relationship between the information collection device and the public key corresponding to the encrypted collection information, and so on.

本说明书实施例中,所述采集信息具体可以包括图像采集设备采集的图像信息,以及所述图像信息中的目标物信息、目标物数量信息、目标物位置信息中至少一种信息。In the embodiment of this specification, the collection information may specifically include image information collected by an image collection device, and at least one of target object information, target object quantity information, and target object location information in the image information.

实际应用中,采集信息可以是图像信息,例如图片、视频等,还可以将图像信息进行处理,识别出其中包含的目标物信息、目标物数量信息、目标物位置信息中至少一种信息。例如,可以将摄像头拍摄的仓库货架存放货物的照片作为采集信息上传至区块链系统中,可以作为存证,以便后续使用;为更清楚的记录对货物情况,还可以对照片进行处理,识别出照片中具体货物的名称、数量、位置等信息,将识别出的信息上传至区块链系统中,以便对货物进行统计。In practical applications, the collected information may be image information, such as pictures, videos, etc., and the image information may also be processed to identify at least one of target information, target quantity information, and target position information contained therein. For example, photos of goods stored on warehouse shelves taken by cameras can be uploaded to the blockchain system as collection information, which can be used as certificates for subsequent use; in order to record the situation of the goods more clearly, the photos can also be processed and identified. The name, quantity, location and other information of the specific goods in the photo are uploaded, and the identified information is uploaded to the blockchain system for statistics of the goods.

本说明书实施例中,所述信息采集设备可以包括扫码模块,所述采集信息具体可以包括所述扫码模块采集的码信息。In the embodiment of this specification, the information collection device may include a code scanning module, and the collected information may specifically include code information collected by the code scanning module.

实际应用中,信息采集设备可以包括扫码模块,例如信息采集设备可以是是扫码枪等具有扫码功能的设备,扫码模块可以识别出码图像中的码信息,例如,存储在仓库中的货物通常会粘贴有二维码、条形码等码图像,码图像中可以记载有货物的名称、规格、产地、生产商、生产日期等信息,通过扫码模块,可以将这些信息识别出来,也可以借助信息管理模块将码图像中的码信息上传至区块链系统。需要说明的是,码图像的具体形式以及表征的具体码信息都是根据实际需要设定的,并且也可以根据实际需求,将码信息中的部分或者全部信息上传至区块链系统中,本说明书实施例对上述具体内容不作限定,只要能够满足需求即可。In practical applications, the information collection device may include a code scanning module. For example, the information collection device may be a code scanning device such as a code scanning gun. The code scanning module can identify the code information in the code image, for example, stored in a warehouse. The goods are usually pasted with code images such as QR codes and barcodes. The code images can record the name, specifications, origin, manufacturer, production date and other information of the goods. Through the code scanning module, these information can be identified. The code information in the code image can be uploaded to the blockchain system with the help of the information management module. It should be noted that the specific form of the code image and the specific code information represented are set according to actual needs, and part or all of the code information can also be uploaded to the blockchain system according to actual needs. The above-mentioned specific contents are not limited in the embodiments of the specification, as long as the requirements can be met.

本说明书实施例中的信息处理方法可以应用于仓储管理的场景,具体的,所述信息采集设备可以为用于进行仓储管理的采集货物信息的设备,所述货物信息可以包括货物的数量信息、名称信息、位置信息中的至少一种信息。The information processing method in the embodiment of this specification can be applied to the scenario of warehouse management. Specifically, the information collection device may be a device for collecting goods information for warehouse management, and the goods information may include quantity information of goods, At least one of name information and location information.

本说明书实施例中的信息处理方法还可以应用于其他场景,例如,用于健身房中健身器材本身以及健身器材中记录的用户信息等进行处理,等等。The information processing methods in the embodiments of this specification can also be applied to other scenarios, for example, for processing the fitness equipment itself in the gym and the user information recorded in the fitness equipment, and so on.

基于同样的原理,本说明书实施例还提供了一种信息处理方法,从程序角度而言,流程的执行主体可以为搭载于服务器或终端的程序。从功能角度而言,流程的执行主体对应的硬件设备可以是区块链系统。Based on the same principle, the embodiments of this specification also provide an information processing method. From a program perspective, the execution body of the process may be a program mounted on a server or a terminal. From a functional point of view, the hardware device corresponding to the execution body of the process can be a blockchain system.

如图4所示,该流程可以包括以下步骤:As shown in Figure 4, the process can include the following steps:

步骤402:获取信息管理设备上传的加密后的采集信息;所述采集信息是信息采集设备采集后上传至所述信息管理设备的;Step 402: Obtain the encrypted collection information uploaded by the information management device; the collection information is collected by the information collection device and uploaded to the information management device;

步骤404:对所述采集信息进行验签处理;Step 404: Perform signature verification processing on the collected information;

步骤406:将通过验签的所述加密后的采集信息保存至区块链。Step 406: Save the encrypted collection information that has passed the signature verification to the blockchain.

本说明书实施例中信息管理设备可以将加密的采集信息上传至区块链系统,从区块链系统的角度而言,可以获取信息管理设备上传的加密后的采集信息,还可以将对加密的采集信息进行验签,进而保证区块链中存储的是没有被篡改的安全信息。In the embodiments of this specification, the information management device can upload the encrypted collection information to the blockchain system. From the perspective of the blockchain system, the encrypted collection information uploaded by the information management device can be obtained, and the encrypted collection information can also be uploaded to the blockchain system. Collect information for signature verification, thereby ensuring that the security information stored in the blockchain is not tampered with.

其中,所述对所述采集信息进行验签处理,具体可以包括:Wherein, the process of performing signature verification on the collected information may specifically include:

确定所述信息采集设备的信息采集设备标识;determining the information collection device identifier of the information collection device;

基于所述信息采集设备标识,查找所述信息采集设备的公钥;Searching for the public key of the information collection device based on the information collection device identifier;

利用所述公钥对所述加密后的采集信息进行签名验证;Use the public key to perform signature verification on the encrypted collection information;

若所述签名验证通过,则调用智能合约将所述加密后的采集信息保存至区块链。If the signature verification is passed, the smart contract is called to save the encrypted collection information to the blockchain.

本说明书实施例中,区块链系统还可以对上传的信息进行签名验证,为保证链上信息的安全性,可以将通过签名验证的信息保存至区块链,具体的,可以利用预先创建的智能合约进行签名验证,调用合约的处理函数,确定信息采集设备的设备标识,进而确定与此信息采集设备对应的公钥,利用此公钥对包含签名的加密后的采集信息进行签名验证,若验证通过还可以调用智能合约将加密后的采集信息保存至区块链。In the embodiment of this specification, the blockchain system can also perform signature verification on the uploaded information. In order to ensure the security of the information on the chain, the information that has passed the signature verification can be saved to the blockchain. The smart contract performs signature verification, calls the processing function of the contract, determines the device identification of the information collection device, and then determines the public key corresponding to the information collection device, and uses this public key to perform signature verification on the encrypted collection information containing the signature. After the verification is passed, the smart contract can also be called to save the encrypted collection information to the blockchain.

实际应用中,智能合约可以预先生成,其可以包含多种逻辑处理函数,例如,本说明书实施例中的智能合约可以是用于记录采集信息的合约,具体可以包括指向数据快照库的逻辑函数,所述数据快照库可以存储采集信息的相关内容,区块链系统可以根据采集信息、信息采集设备、信息管理设备之间的对应关系,将采集信息对应保存至对应的数据快照库中,还可以将验签所需的公钥保存至数据快照库中;智能合约还可以包括指向设备快照库的逻辑函数,所述设备快照库可以存储信息采集设备以及信息管理设备的相关内容,例如可以存储信息采集设备的设备标识、信息管理设备的设备标识以及信息采集设备与信息管理设备的绑定关系等等。In practical applications, a smart contract can be pre-generated, and it can include a variety of logical processing functions. For example, the smart contract in the embodiment of this specification can be a contract used to record and collect information, and can specifically include a logical function that points to a data snapshot library. The data snapshot library can store the relevant content of the collected information, and the blockchain system can store the collected information in the corresponding data snapshot library according to the corresponding relationship among the collected information, the information collection equipment, and the information management equipment. Save the public key required for signature verification in the data snapshot library; the smart contract may also include a logic function pointing to the device snapshot library, which can store the relevant content of the information acquisition equipment and information management equipment, such as information The device identification of the collection device, the device identification of the information management device, and the binding relationship between the information collection device and the information management device, etc.

智能合约还可以基于预设的用于处理采集信息的智能合约模板创建,智能合约模板中可以记载用于处理采集信息的处理逻辑,其可以包括,用于将公钥、信息采集设备的设备信息、信息管理设备的设备信息以及采集信息存储至区块链中的存储逻辑,还可以包括用于从区块链中查询已存储的公钥、信息采集设备的设备信息、信息管理设备的设备信息以及采集信息的查询逻辑,还可以包括对存储的信息进行更新的逻辑,等等。需要说明的是本说明书实施例中智能合约可以根据实际需求进行创建,具体形式这里不作限定,只要能够满足信息处理的需求即可。The smart contract can also be created based on the preset smart contract template for processing the collected information. The smart contract template can record the processing logic for processing the collected information. , the device information of the information management device and the storage logic for storing the collected information in the blockchain, and can also include the stored public key, the device information of the information acquisition device, and the device information of the information management device from the blockchain. As well as the query logic for collecting information, it may also include logic for updating the stored information, and so on. It should be noted that the smart contract in the embodiment of this specification can be created according to actual needs, and the specific form is not limited here, as long as it can meet the needs of information processing.

基于同样的原理,本说明书实施例中还提供另一种信息处理方法,图5为本说明书实施例中提供的一种信息处理方法,从程序角度而言,流程的执行主体可以为搭载于服务器或终端的程序。从功能性角度而言,流程的执行主体对应的硬件设备可以是信息采集设备。Based on the same principle, another information processing method is also provided in the embodiment of this specification. FIG. 5 is an information processing method provided in the embodiment of this specification. or terminal programs. From a functional point of view, the hardware device corresponding to the execution subject of the process may be an information collection device.

如图5所示,所述方法可以包括:As shown in Figure 5, the method may include:

步骤502:获取采集信息;Step 502: acquire collection information;

步骤504:对所述采集信息进行加密,得到加密后的采集信息;Step 504: Encrypt the collection information to obtain encrypted collection information;

步骤506:发送所述加密后的采集信息给信息管理设备;所述加密后的采集信息与信息采集设备标识相对应,所述信息采集设备标识用于所述信息管理设备判断所述信息采集设备为预设信息采集设备,将所述加密后的采集信息上传至区块链系统。Step 506: Send the encrypted collection information to an information management device; the encrypted collection information corresponds to an information collection device identifier, and the information collection device identifier is used by the information management device to determine the information collection device In order to preset the information collection equipment, upload the encrypted collection information to the blockchain system.

本说明书实施例中信息采集设备可以将获取的采集信息加密传输给信息管理设备,以便信息管理设备将通过验证的信息上传至区块链系统。其中,信息采集设备可以是具有信息采集功能的设备,如扫码器、摄像头、传感器等,其可以包括同一种设备,也可以包括多种设备。In the embodiments of this specification, the information collection device can encrypt and transmit the acquired collection information to the information management device, so that the information management device uploads the verified information to the blockchain system. The information collection device may be a device with an information collection function, such as a code scanner, a camera, a sensor, etc., which may include the same device or multiple devices.

其中,所述发送所述加密后的采集信息给信息管理设备之前,还可以包括:Wherein, before the sending the encrypted collection information to the information management device, it may further include:

发送绑定请求给所述信息管理设备,以便所述信息管理设备与所述信息采集设备建立绑定关系。A binding request is sent to the information management device, so that the information management device establishes a binding relationship with the information collection device.

其中,所述绑定请求包括第一绑定码,所述发送绑定请求给所述信息管理设备,具体可以包括:The binding request includes a first binding code, and the sending the binding request to the information management device may specifically include:

发送所述第一绑定码给所述信息管理设备,以便所述信息采集设备将所述信息采集设备的信息采集设备标识确定为预设信息采集设备标识。The first binding code is sent to the information management device, so that the information collection device determines the information collection device identification of the information collection device as the preset information collection device identification.

其中,所述发送第一绑定码给所述信息管理设备之后,还可以包括:Wherein, after the sending the first binding code to the information management device, it may further include:

接收所述信息管理设备发送的第二绑定码,所述第二绑定码为所述信息管理设备在所述第一绑定码的基础上按照预设规则生成的,用于对所述信息管理设备进行验证;Receive a second binding code sent by the information management device, where the second binding code is generated by the information management device according to a preset rule on the basis of the first binding code, and is used for Information management equipment for verification;

判断所述第二绑定码中是否包含表征所述第一绑定码的信息,得到绑定判断结果;Judging whether the second binding code contains information representing the first binding code, and obtaining a binding judgment result;

若所述绑定判断结果表示所述第二绑定码中包含表征所述第一绑定码的信息,则确定与所述信息管理设备建立绑定关系。If the binding judgment result indicates that the second binding code includes information representing the first binding code, it is determined to establish a binding relationship with the information management device.

其中,本说明书实施例中所述方法还可以包括:Wherein, the method described in the embodiments of this specification may also include:

发送信息采集设备标识给所述信息管理设备,以便所述信息管理设备基于所述信息采集设备标识查找所述信息采集设备对应的公钥。The information collection device identification is sent to the information management device, so that the information management device searches for the public key corresponding to the information collection device based on the information collection device identification.

实际应用中,所述信息采集设备标识可以在发送第一绑定码时发送给信息管理设备,还可以在给信息管理设备反馈绑定成功的信息时发送,还可以广播公钥时将信息擦剂设备标识一同进行广播,等等,具体方式这里不作限定,只要能够使信息管理设备获得即可。信息管理设备可以对获得的信息采集设备标识进行保存,并建立信息采集设备标识与信息采集设备广播的公钥之间的对应关系,以便能够根据信息采集设备标识确定与其对应的公钥。In practical applications, the information collection device identifier can be sent to the information management device when the first binding code is sent, and can also be sent when the information about the successful binding is fed back to the information management device, and the information can be erased when broadcasting the public key. broadcast together with the agent device identification, etc. The specific method is not limited here, as long as the information management device can obtain it. The information management device can save the obtained identification of the information collection device, and establish a correspondence between the identification of the information collection device and the public key broadcast by the information collection device, so that the corresponding public key can be determined according to the identification of the information collection device.

其中,所述获取采集信息之后,还可以包括:Wherein, after the acquisition of the collection information, it may also include:

对所述采集信息添加时间戳,所述时间戳表征所述采集信息被采集的时间,用于所述信息管理设备对所述采集信息进行验证。A timestamp is added to the collected information, where the timestamp represents the time when the collected information was collected, and is used by the information management device to verify the collected information.

在实际应用中,可采用非对称加密算法对采集信息进行签名和加密。本说明书实施例中可以将采集信息添加时间戳信息,利用信息采集设备的私钥进行签名,将签名后的添加有时间戳的采集信息加密后发送给信息管理设备,信息管理设备可以利用接收到的信息采集设备公钥对添加有时间戳的采集信息进行验签。在实际应用中,信息采集设备还可以将采集的信息签名后再添加时间戳信息,再进行加密处理等。需要说明的是,上述内容仅是为了更清楚的说明本说明书实施例的方案,对时间戳信息相关内容进行的举例说明,在实际应用中,还可以采用其他方式添加时间戳以及获取时间戳,具体方式这里不作限定,只要能够利用时间戳对所述采集信息进行验证即可。In practical applications, an asymmetric encryption algorithm can be used to sign and encrypt the collected information. In the embodiment of this specification, time stamp information can be added to the collection information, the private key of the information collection device can be used to sign, and the signed collection information with time stamps can be encrypted and sent to the information management device. The information management device can use the received The public key of the information collection device verifies the signature of the collection information added with the timestamp. In practical applications, the information collection device can also sign the collected information, add timestamp information, and then perform encryption processing. It should be noted that the above content is only for the purpose of more clearly explaining the solutions of the embodiments of this specification, and the related content of the time stamp information is exemplified. In practical applications, other methods may be used to add time stamps and obtain time stamps. The specific manner is not limited here, as long as the time stamp can be used to verify the collected information.

本说明书实施例中,所述采集信息具体可以包括图像采集设备采集的图像信息,以及所述图像信息中的目标物信息、目标物数量信息、目标物位置信息中至少一种信息。In the embodiment of this specification, the collection information may specifically include image information collected by an image collection device, and at least one of target object information, target object quantity information, and target object location information in the image information.

本说明书实施例中,所述信息采集设备可以包括扫码模块,所述采集信息具体可以包括所述扫码模块采集的码信息。In the embodiment of this specification, the information collection device may include a code scanning module, and the collected information may specifically include code information collected by the code scanning module.

本说明书实施例中,所述信息采集设备可以为用于进行仓储管理的采集货物信息的设备,所述货物信息包括货物的数量信息、名称信息、位置信息中的至少一种信息。In the embodiment of this specification, the information collecting device may be a device for collecting cargo information for warehouse management, where the cargo information includes at least one of quantity information, name information, and location information of the cargo.

基于同样的思路,本说明书实施例还提供了上述方法对应的装置。图6为本说明书实施例提供的对应于图2的一种信息处理装置的结构示意图。如图6所示,该装置可以包括:Based on the same idea, the embodiments of the present specification also provide a device corresponding to the above method. FIG. 6 is a schematic structural diagram of an information processing apparatus corresponding to FIG. 2 according to an embodiment of the present specification. As shown in Figure 6, the apparatus may include:

采集信息接收模块602,用于接收信息采集设备发送的加密后的采集信息;The collection information receiving module 602 is configured to receive the encrypted collection information sent by the information collection device;

采集设备判断模块604,用于根据所述加密后的采集信息对应的信息采集设备标识,判断所述信息采集设备是否为预设信息采集设备;A collection device determination module 604, configured to determine whether the information collection device is a preset information collection device according to the information collection device identifier corresponding to the encrypted collection information;

信息上链模块606,用于若所述信息采集设备为预设信息采集设备,则将所述加密后的采集信息上传至所述区块链系统。The information uploading module 606 is configured to upload the encrypted collection information to the blockchain system if the information collection device is a preset information collection device.

其中,所述采集信息接收模块,还可以用于:Wherein, the collection information receiving module can also be used for:

接收所述信息采集设备发送的绑定请求;receiving a binding request sent by the information collection device;

基于所述绑定请求,建立与所述信息采集设备的绑定关系。Based on the binding request, a binding relationship with the information collection device is established.

其中,所述绑定请求包括第一绑定码,所述基于所述绑定请求,建立与所述信息采集设备的绑定关系,具体可以包括:The binding request includes a first binding code, and establishing a binding relationship with the information collection device based on the binding request may specifically include:

判断所述第一绑定码是否与预设绑定码相同;judging whether the first binding code is the same as the preset binding code;

若所述第一绑定码与所述预设绑定码相同,则将所述信息采集设备的信息采集设备标识确定为预设信息采集设备标识;所述预设信息采集设备标识为所述预设信息采集设备对应的用于区分不同所述预设信息采集设备的标识。If the first binding code is the same as the preset binding code, the information collection device identifier of the information collection device is determined as the preset information collection device identifier; the preset information collection device identifier is the The identifiers corresponding to the preset information collection devices are used to distinguish different preset information collection devices.

其中,所述采集信息接收模块,还可以用于:Wherein, the collection information receiving module can also be used for:

按照预设规则,根据所述第一绑定码生成第二绑定码;According to a preset rule, generate a second binding code according to the first binding code;

将所述第二绑定码发送给所述信息采集设备,所述第二绑定码用于所述信息采集设备对所述信息管理设备进行验证。Sending the second binding code to the information collection device, where the second binding code is used by the information collection device to verify the information management device.

基于同样的思路,本说明书实施例还提供了上述方法对应的装置。图7为本说明书实施例提供的对应于图4的一种信息处理装置的结构示意图。如图7所示,该装置可以包括:Based on the same idea, the embodiments of the present specification also provide a device corresponding to the above method. FIG. 7 is a schematic structural diagram of an information processing apparatus corresponding to FIG. 4 according to an embodiment of the present specification. As shown in Figure 7, the apparatus may include:

采集信息获取模块702,用于获取信息管理设备上传的加密后的采集信息;所述采集信息是信息采集设备采集后上传至所述信息管理设备的;A collection information obtaining module 702, configured to obtain encrypted collection information uploaded by the information management device; the collection information is collected by the information collection device and uploaded to the information management device;

信息验签模块704,用于对所述采集信息进行验签处理;An information signature verification module 704, configured to perform signature verification processing on the collected information;

信息保存模块706,用于将通过验签的所述加密后的采集信息保存至区块链。The information saving module 706 is configured to save the encrypted collection information that has passed the signature verification to the blockchain.

其中,所述信息验签模块,具体可以用于:Wherein, the information signature verification module can be specifically used for:

确定所述信息采集设备的信息采集设备标识;determining the information collection device identifier of the information collection device;

基于所述信息采集设备标识,查找所述信息采集设备的公钥;Searching for the public key of the information collection device based on the information collection device identifier;

利用所述公钥对所述加密后的采集信息进行签名验证;Use the public key to perform signature verification on the encrypted collection information;

若所述签名验证通过,则调用智能合约将所述加密后的采集信息保存至区块链。If the signature verification is passed, the smart contract is called to save the encrypted collection information to the blockchain.

基于同样的思路,本说明书实施例还提供了上述方法对应的装置。图8为本说明书实施例提供的对应于图5的一种信息处理装置的结构示意图。如图8所示,该装置可以包括:Based on the same idea, the embodiments of the present specification also provide a device corresponding to the above method. FIG. 8 is a schematic structural diagram of an information processing apparatus corresponding to FIG. 5 according to an embodiment of the present specification. As shown in Figure 8, the apparatus may include:

信息获取模块802,用于获取采集信息;an information acquisition module 802, configured to acquire collection information;

信息加密模块804,用于对所述采集信息进行加密,得到加密后的采集信息;an information encryption module 804, configured to encrypt the collection information to obtain encrypted collection information;

信息发送模块806,用于发送所述加密后的采集信息给信息管理设备;所述加密后的采集信息与信息采集设备标识相对应,所述信息采集设备标识用于所述信息管理设备判断所述信息采集设备为预设信息采集设备时,将所述加密后的采集信息上传至区块链系统。An information sending module 806 is configured to send the encrypted collection information to an information management device; the encrypted collection information corresponds to an information collection device identifier, and the information collection device identifier is used by the information management device to determine the information. When the information collection device is a preset information collection device, upload the encrypted collection information to the blockchain system.

其中,所述信息获取模块,还可以用于:Wherein, the information acquisition module can also be used for:

发送所述第一绑定码给所述信息管理设备,以便所述信息采集设备将所述信息采集设备的信息采集设备标识确定为预设信息采集设备标识。The first binding code is sent to the information management device, so that the information collection device determines the information collection device identification of the information collection device as the preset information collection device identification.

其中,所述信息获取模块,还可以用于:Wherein, the information acquisition module can also be used for:

接收所述信息管理设备发送的第二绑定码,所述第二绑定码为所述信息管理设备在所述第一绑定码的基础上按照预设规则生成的,用于所述信息采集设备对所述信息管理设备进行验证;Receive a second binding code sent by the information management device, where the second binding code is generated by the information management device according to a preset rule on the basis of the first binding code, and is used for the information The collection device verifies the information management device;

判断所述第二绑定码中是否包含表征所述第一绑定码的信息,得到绑定判断结果;Judging whether the second binding code contains information representing the first binding code, and obtaining a binding judgment result;

若所述绑定判断结果表示所述第二绑定码中包含表征所述第一绑定码的信息,则确定与所述信息管理设备建立绑定关系。If the binding judgment result indicates that the second binding code includes information representing the first binding code, it is determined to establish a binding relationship with the information management device.

基于同样的思路,本说明书实施例还提供了上述方法对应的设备。图9为本说明书实施例提供的一种信息处理设备的结构示意图,图9所示的设备可以执行上述图2、图4和图5所示方法中至少一种方法。Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method. FIG. 9 is a schematic structural diagram of an information processing device according to an embodiment of the present specification. The device shown in FIG. 9 can execute at least one of the methods shown in FIG. 2 , FIG. 4 , and FIG. 5 .

当图9中所述设备与图2所示方法对应时,设备900可以包括:When the device shown in FIG. 9 corresponds to the method shown in FIG. 2 , the device 900 may include:

至少一个处理器910;以及,at least one processor 910; and,

与所述至少一个处理器通信连接的存储器930;其中,a memory 930 in communication with the at least one processor; wherein,

所述存储器930存储有可被所述至少一个处理器910执行的指令920,所述指令被所述至少一个处理器910执行,以使所述至少一个处理器910能够:The memory 930 stores instructions 920 executable by the at least one processor 910, the instructions being executed by the at least one processor 910 to enable the at least one processor 910 to:

接收信息采集设备发送的加密后的采集信息;Receive the encrypted collection information sent by the information collection device;

根据所述加密后的采集信息对应的信息采集设备标识,判断所述信息采集设备是否为预设信息采集设备;According to the information collection device identifier corresponding to the encrypted collection information, determine whether the information collection device is a preset information collection device;

若所述信息采集设备为预设信息采集设备,则将所述加密后的采集信息上传至所述区块链系统。If the information collection device is a preset information collection device, upload the encrypted collection information to the blockchain system.

当图9中所述设备与图4所示方法对应时,设备900可以包括:When the device shown in FIG. 9 corresponds to the method shown in FIG. 4 , the device 900 may include:

至少一个处理器910;以及,at least one processor 910; and,

与所述至少一个处理器通信连接的存储器930;其中,a memory 930 in communication with the at least one processor; wherein,

所述存储器930存储有可被所述至少一个处理器910执行的指令920,所述指令被所述至少一个处理器910执行,以使所述至少一个处理器910能够:The memory 930 stores instructions 920 executable by the at least one processor 910, the instructions being executed by the at least one processor 910 to enable the at least one processor 910 to:

获取信息管理设备上传的加密后的采集信息;所述采集信息是信息采集设备采集后上传至所述信息管理设备的;Obtain the encrypted collection information uploaded by the information management device; the collection information is uploaded to the information management device after being collected by the information collection device;

对所述采集信息进行验签处理;Perform signature verification processing on the collected information;

将通过验签的所述加密后的采集信息保存至区块链。The encrypted collection information that has passed the signature verification is saved to the blockchain.

当图9中所述设备与图5所示方法对应时,设备900可以包括:When the device shown in FIG. 9 corresponds to the method shown in FIG. 5 , the device 900 may include:

至少一个处理器910;以及,at least one processor 910; and,

与所述至少一个处理器通信连接的存储器930;其中,a memory 930 in communication with the at least one processor; wherein,

所述存储器930存储有可被所述至少一个处理器910执行的指令920,所述指令被所述至少一个处理器910执行,以使所述至少一个处理器910能够:The memory 930 stores instructions 920 executable by the at least one processor 910, the instructions being executed by the at least one processor 910 to enable the at least one processor 910 to:

获取采集信息;obtain collection information;

对所述采集信息进行加密,得到加密后的采集信息;Encrypting the collection information to obtain encrypted collection information;

发送所述加密后的采集信息给信息管理设备;所述加密后的采集信息与信息采集设备标识相对应,所述信息采集设备标识用于所述信息管理设备判断所述信息采集设备为预设信息采集设备时,将所述加密后的采集信息上传至区块链系统。Sending the encrypted collection information to an information management device; the encrypted collection information corresponds to an information collection device identification, and the information collection device identification is used by the information management device to determine that the information collection device is preset When the information collection device is used, the encrypted collection information is uploaded to the blockchain system.

本说明书实施例中还可以提供一种计算机可读介质,其上存储有计算机可读指令,所述计算机可读指令可被处理器执行以实现上述与图2、图4和图5所示的至少一种方法中对应的信息处理方法。The embodiments of the present specification may further provide a computer-readable medium, on which computer-readable instructions are stored, and the computer-readable instructions can be executed by a processor to implement the above-mentioned and those shown in FIG. 2 , FIG. 4 , and FIG. 5 . Corresponding information processing method in at least one method.

上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve desirable results. Additionally, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

本说明书实施例提供的装置、设备、非易失性计算机存储介质与方法是对应的,因此,装置、设备、非易失性计算机存储介质也具有与对应方法类似的有益技术效果,由于上面已经对方法的有益技术效果进行了详细说明,因此,这里不再赘述对应装置、设备、非易失性计算机存储介质的有益技术效果。The apparatuses, devices, and non-volatile computer storage media provided in the embodiments of this specification correspond to the methods. Therefore, the apparatuses, devices, and non-volatile computer storage media also have beneficial technical effects similar to those of the corresponding methods. The beneficial technical effects of the method are described in detail, therefore, the beneficial technical effects of the corresponding apparatus, equipment, and non-volatile computer storage medium will not be repeated here.

在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device, PLD)(例如现场可编程门阵列(Field Programmable GateArray,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware DescriptionLanguage)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(RubyHardware Description Language)等,目前最普遍使用的是VHDL(Very-High-SpeedIntegrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, an improvement in a technology could be clearly differentiated between improvements in hardware (for example, improvements in circuit structures such as diodes, transistors, switches, etc.) or improvements in software (improvements in method flow). However, with the development of technology, the improvement of many methods and processes today can be regarded as a direct improvement of the hardware circuit structure. Designers almost get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by hardware entity modules. For example, a Programmable Logic Device (PLD) such as a Field Programmable Gate Array (FPGA) is an integrated circuit whose logical function is determined by the user programming the device. It is programmed by the designer to "integrate" a digital system on a PLD without having to ask the chip manufacturer to design and manufacture a dedicated integrated circuit chip. And, instead of making integrated circuit chips by hand, these days, most of this programming is done using "logic compiler" software, which is similar to the software compilers used in program development and writing, but before compiling The original code also has to be written in a specific programming language, which is called Hardware Description Language (HDL), and there is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language) , AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (RubyHardware Description Language), etc. The most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. It should also be clear to those skilled in the art that a hardware circuit for implementing the logic method process can be easily obtained by simply programming the method process in the above-mentioned several hardware description languages and programming it into the integrated circuit.

控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20 以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller may be implemented in any suitable manner, for example, the controller may take the form of eg a microprocessor or processor and a computer readable medium storing computer readable program code (eg software or firmware) executable by the (micro)processor , logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers, examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that, in addition to implementing the controller in the form of pure computer-readable program code, the controller can be implemented as logic gates, switches, application-specific integrated circuits, programmable logic controllers and embedded devices by logically programming the method steps. The same function can be realized in the form of a microcontroller, etc. Therefore, such a controller can be regarded as a hardware component, and the devices included therein for realizing various functions can also be regarded as a structure within the hardware component. Or even, the means for implementing various functions can be regarded as both a software module implementing a method and a structure within a hardware component.

上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules or units described in the above embodiments may be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.

为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above device, the functions are divided into various units and described respectively. Of course, when implementing the present application, the functions of each unit may be implemented in one or more software and/or hardware.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block in the flowcharts and/or block diagrams, and combinations of flows and/or blocks in the flowcharts and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in one or more of the flowcharts and/or one or more blocks of the block diagrams.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions An apparatus implements the functions specified in a flow or flows of the flowcharts and/or a block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in one or more of the flowcharts and/or one or more blocks of the block diagrams.

在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带式磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridges, tape-based disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed, or which are inherent to such a process, method, article of manufacture, or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture, or device that includes the element.

本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.

本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to the partial descriptions of the method embodiments.

以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above descriptions are merely examples of the present application, and are not intended to limit the present application. Various modifications and variations of this application are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of the claims of this application.

Claims (23)

1.一种信息处理方法,包括:1. An information processing method, comprising: 信息管理设备接收信息采集设备发送的加密后的采集信息;所述信息采集设备包括用于进行仓储管理的采集货物信息的设备;The information management equipment receives the encrypted collection information sent by the information collection equipment; the information collection equipment includes equipment for collecting goods information for warehouse management; 根据所述加密后的采集信息对应的信息采集设备标识,判断所述信息采集设备是否为预设信息采集设备;所述信息采集设备标识包括设备ID、设备序列号中至少一种;所述预设信息采集设备是与所述信息管理设备具有绑定关系的设备;所述绑定关系为所述信息采集设备与所述信息管理设备完成双方验证后确定的,具体包括:所述信息管理设备接收所述信息采集设备发送的第一绑定码;判断所述第一绑定码是否与预设绑定码相同;若所述第一绑定码与所述预设绑定码相同,将所述信息采集设备的信息采集设备标识确定为预设信息采集设备标识;按照预设规则,根据所述第一绑定码生成第二绑定码;将所述第二绑定码发送给所述信息采集设备,所述第二绑定码用于所述信息采集设备对所述信息管理设备进行验证,若验证通过,则所述信息采集设备与所述信息管理设备建立所述绑定关系;其中,所述按照预设规则,根据所述第一绑定码生成第二绑定码,具体包括:在所述第一绑定码的基础上添加特定信息构成所述第二绑定码;According to the information collection device identification corresponding to the encrypted collection information, it is determined whether the information collection device is a preset information collection device; the information collection device identification includes at least one of a device ID and a device serial number; It is assumed that the information collection device is a device that has a binding relationship with the information management device; the binding relationship is determined after the information collection device and the information management device complete mutual verification, and specifically includes: the information management device Receive the first binding code sent by the information collection device; determine whether the first binding code is the same as the preset binding code; if the first binding code is the same as the preset binding code, use the The information collection device identification of the information collection device is determined as a preset information collection device identification; according to a preset rule, a second binding code is generated according to the first binding code; and the second binding code is sent to the the information collection device, the second binding code is used for the information collection device to verify the information management device, and if the verification is passed, the information collection device establishes the binding relationship with the information management device ; wherein, generating a second binding code according to the first binding code according to a preset rule specifically includes: adding specific information on the basis of the first binding code to form the second binding code ; 若所述信息采集设备为预设信息采集设备,则将所述加密后的采集信息上传至区块链系统;所述区块链系统不包括所述信息采集设备。If the information collection device is a preset information collection device, upload the encrypted collection information to the blockchain system; the blockchain system does not include the information collection device. 2.根据权利要求1所述的方法,所述判断所述信息采集设备是否为预设信息采集设备,具体包括:2. The method according to claim 1, wherein the judging whether the information collection device is a preset information collection device specifically comprises: 判断所述信息采集设备的信息采集设备标识是否与所述预设信息采集设备标识相同。It is judged whether the information collection device identification of the information collection device is the same as the preset information collection device identification. 3.根据权利要求1所述的方法,所述将所述加密后的采集信息上传至区块链系统之前,还包括:3. The method according to claim 1, before uploading the encrypted collection information to the blockchain system, further comprising: 获取所述信息采集设备的所述信息采集设备标识;acquiring the information collection device identifier of the information collection device; 基于所述信息采集设备标识,查找所述信息采集设备的公钥;Searching for the public key of the information collection device based on the information collection device identifier; 基于所述公钥,对所述加密后的采集信息进行签名验证,用于判断所述加密后的采集信息是否为所述信息采集设备传输给所述信息管理设备的;Based on the public key, signature verification is performed on the encrypted collection information to determine whether the encrypted collection information is transmitted by the information collection device to the information management device; 若所述签名验证通过,则将所述加密后的采集信息上传至区块链系统。If the signature verification is passed, the encrypted collection information is uploaded to the blockchain system. 4.根据权利要求1所述的方法,所述将所述加密后的采集信息上传至区块链系统之前,还包括:4. The method according to claim 1, before uploading the encrypted collection information to the blockchain system, further comprising: 获取所述加密后的采集信息的时间戳;obtaining the timestamp of the encrypted collection information; 判断所述时间戳表示的时间与所述信息管理设备获取所述时间戳的时间的时间差值是否小于或等于预设时间差值;Determine whether the time difference between the time indicated by the time stamp and the time when the information management device obtains the time stamp is less than or equal to a preset time difference; 若所述时间戳表示的时间与所述信息管理设备获取所述时间戳的时间的时间差值小于或等于所述预设时间差值,则将所述加密后的采集信息上传至区块链系统。If the time difference between the time indicated by the time stamp and the time when the information management device obtained the time stamp is less than or equal to the preset time difference, upload the encrypted collection information to the blockchain system. 5.根据权利要求1所述的方法,还包括:5. The method of claim 1, further comprising: 获取根据所述加密后的采集信息生成的链上数据的哈希值;obtaining the hash value of the data on the chain generated according to the encrypted collection information; 生成所述哈希值、所述信息采集设备标识与信息管理设备标识之间的关联关系数据;generating the association relationship data between the hash value, the identification of the information collection device and the identification of the information management device; 存储所述关联关系数据。The association relationship data is stored. 6.根据权利要求1所述的方法,所述采集信息具体包括图像采集设备采集的图像信息,以及所述图像信息中的目标物信息、目标物数量信息、目标物位置信息中至少一种信息。6 . The method according to claim 1 , wherein the collection information specifically includes image information collected by an image collection device, and at least one of target object information, target object quantity information, and target object position information in the image information. 7 . . 7.根据权利要求1所述的方法,所述信息采集设备包括扫码模块,所述采集信息具体包括所述扫码模块采集的码信息。7 . The method according to claim 1 , wherein the information collection device comprises a code scanning module, and the collected information specifically includes code information collected by the code scanning module. 8 . 8.根据权利要求1所述的方法,所述信息采集设备为用于进行仓储管理的采集货物信息的设备,所述货物信息包括货物的数量信息、名称信息、位置信息中的至少一种信息。8 . The method according to claim 1 , wherein the information collecting device is a device for collecting cargo information for warehouse management, and the cargo information includes at least one of quantity information, name information, and location information of the cargo. 9 . . 9.一种信息处理方法,包括:9. An information processing method, comprising: 区块链系统获取信息管理设备上传的加密后的采集信息;所述采集信息是信息采集设备采集后上传至所述信息管理设备的;所述信息采集设备包括用于进行仓储管理的采集货物信息的设备;所述信息采集设备是与所述信息管理设备具有绑定关系的设备;所述绑定关系为所述信息采集设备与所述信息管理设备完成双方验证后确定的,具体包括:所述信息管理设备接收所述信息采集设备发送的第一绑定码;判断所述第一绑定码是否与预设绑定码相同;若所述第一绑定码与所述预设绑定码相同,将所述信息采集设备的信息采集设备标识确定为预设信息采集设备标识;按照预设规则,根据所述第一绑定码生成第二绑定码;将所述第二绑定码发送给所述信息采集设备,所述第二绑定码用于所述信息采集设备对所述信息管理设备进行验证,若验证通过,则所述信息采集设备与所述信息管理设备建立所述绑定关系;其中,所述信息采集设备标识包括设备ID、设备序列号中至少一种;所述区块链系统不包括所述信息采集设备;其中,所述按照预设规则,根据所述第一绑定码生成第二绑定码,具体包括:在所述第一绑定码的基础上添加特定信息构成所述第二绑定码;The blockchain system obtains the encrypted collection information uploaded by the information management equipment; the collection information is collected by the information collection equipment and uploaded to the information management equipment; the information collection equipment includes the collection goods information used for warehouse management The information collection device is a device that has a binding relationship with the information management device; the binding relationship is determined after the information collection device and the information management device complete the mutual verification, and specifically includes: The information management device receives the first binding code sent by the information collection device; determines whether the first binding code is the same as the preset binding code; if the first binding code is bound with the preset If the code is the same, the information collection device identification of the information collection device is determined as the preset information collection device identification; according to the preset rule, a second binding code is generated according to the first binding code; the second binding code is The second binding code is used by the information collection device to verify the information management device. If the verification is passed, the information collection device and the information management device establish a relationship wherein, the information collection device identification includes at least one of a device ID and a device serial number; the blockchain system does not include the information collection device; wherein, according to preset rules, according to the Generating a second binding code from the first binding code specifically includes: adding specific information on the basis of the first binding code to form the second binding code; 对所述采集信息进行验签处理;Perform signature verification processing on the collected information; 将通过验签的所述加密后的采集信息保存至区块链。The encrypted collection information that has passed the signature verification is saved to the blockchain. 10.根据权利要求9所述的方法,所述对所述采集信息进行验签处理,具体包括:10. The method according to claim 9, wherein the processing of signature verification on the collected information specifically comprises: 确定所述信息采集设备的信息采集设备标识;determining the information collection device identifier of the information collection device; 基于所述信息采集设备标识,查找所述信息采集设备的公钥;Searching for the public key of the information collection device based on the information collection device identifier; 利用所述公钥对所述加密后的采集信息进行签名验证;Use the public key to perform signature verification on the encrypted collection information; 若所述签名验证通过,则调用智能合约将所述加密后的采集信息保存至区块链。If the signature verification is passed, the smart contract is called to save the encrypted collection information to the blockchain. 11.一种信息处理方法,包括:11. An information processing method, comprising: 获取采集信息;obtain collection information; 对所述采集信息进行加密,得到加密后的采集信息;Encrypting the collection information to obtain encrypted collection information; 发送所述加密后的采集信息给信息管理设备;所述加密后的采集信息与信息采集设备标识相对应,所述信息采集设备标识用于所述信息管理设备判断信息采集设备为预设信息采集设备时,将所述加密后的采集信息上传至区块链系统;所述信息采集设备包括用于进行仓储管理的采集货物信息的设备;所述信息采集设备标识包括设备ID、设备序列号中至少一种;所述区块链系统不包括所述信息采集设备;所述预设信息采集设备是与所述信息管理设备具有绑定关系的设备;所述绑定关系为所述信息采集设备与所述信息管理设备完成双方验证后确定的,具体包括:所述信息管理设备接收所述信息采集设备发送的第一绑定码;判断所述第一绑定码是否与预设绑定码相同;若所述第一绑定码与所述预设绑定码相同,将所述信息采集设备的信息采集设备标识确定为预设信息采集设备标识;按照预设规则,根据所述第一绑定码生成第二绑定码;将所述第二绑定码发送给所述信息采集设备,所述第二绑定码用于所述信息采集设备对所述信息管理设备进行验证,若验证通过,则所述信息采集设备与所述信息管理设备建立所述绑定关系;其中,所述按照预设规则,根据所述第一绑定码生成第二绑定码,具体包括:在所述第一绑定码的基础上添加特定信息构成所述第二绑定码。Sending the encrypted collection information to an information management device; the encrypted collection information corresponds to an information collection device identification, and the information collection device identification is used by the information management device to determine that the information collection device is preset information collection When the equipment is installed, upload the encrypted collection information to the blockchain system; the information collection equipment includes equipment for collecting cargo information for warehouse management; the information collection equipment identification includes equipment ID, equipment serial number At least one; the blockchain system does not include the information collection device; the preset information collection device is a device that has a binding relationship with the information management device; the binding relationship is the information collection device Determined after completing mutual verification with the information management device, specifically including: the information management device receives a first binding code sent by the information collection device; determining whether the first binding code is the same as a preset binding code If the first binding code is the same as the preset binding code, determine the information collection device identification of the information collection device as the preset information collection device identification; according to the preset rules, according to the first The binding code generates a second binding code; the second binding code is sent to the information collection device, and the second binding code is used by the information collection device to verify the information management device. If the verification is passed, the information collection device establishes the binding relationship with the information management device; wherein the generating a second binding code according to the first binding code according to a preset rule specifically includes: The second binding code is formed by adding specific information on the basis of the first binding code. 12.根据权利要求11所述的方法,还包括:12. The method of claim 11, further comprising: 发送信息采集设备标识给所述信息管理设备,以便所述信息管理设备基于所述信息采集设备标识查找所述信息采集设备的公钥。The information collection device identification is sent to the information management device, so that the information management device searches for the public key of the information collection device based on the information collection device identification. 13.根据权利要求11所述的方法,所述获取采集信息之后,还包括:13. The method according to claim 11, after said acquiring the collection information, further comprising: 对所述采集信息添加时间戳,所述时间戳表征所述采集信息被采集的时间,用于所述信息管理设备对所述采集信息进行验证。A timestamp is added to the collected information, where the timestamp represents the time when the collected information was collected, and is used by the information management device to verify the collected information. 14.根据权利要求11所述的方法,所述采集信息具体包括图像采集设备采集的图像信息,以及所述图像信息中的目标物信息、目标物数量信息、目标物位置信息中至少一种信息。14 . The method according to claim 11 , wherein the collection information specifically includes image information collected by an image collection device, and at least one of target object information, target object quantity information, and target object position information in the image information. 15 . . 15.根据权利要求11所述的方法,所述信息采集设备包括扫码模块,所述采集信息具体包括所述扫码模块采集的码信息。15 . The method according to claim 11 , wherein the information collection device comprises a code scanning module, and the collected information specifically includes code information collected by the code scanning module. 16 . 16.根据权利要求11所述的方法,所述信息采集设备为用于进行仓储管理的采集货物信息的设备,所述货物信息包括货物的数量信息、名称信息、位置信息中的至少一种信息。16. The method according to claim 11, wherein the information collecting device is a device for collecting cargo information for warehouse management, and the cargo information includes at least one of quantity information, name information, and location information of the cargo. . 17.一种信息处理装置,包括:17. An information processing device, comprising: 采集信息接收模块,用于接收信息采集设备发送的加密后的采集信息;所述信息采集设备包括用于进行仓储管理的采集货物信息的设备;a collection information receiving module for receiving encrypted collection information sent by an information collection device; the information collection device includes a device for collecting cargo information for warehouse management; 采集设备判断模块,用于根据所述加密后的采集信息对应的信息采集设备标识,判断所述信息采集设备是否为预设信息采集设备;所述信息采集设备标识包括设备ID、设备序列号中至少一种;所述预设信息采集设备是与信息管理设备具有绑定关系的设备;所述绑定关系为所述信息采集设备与所述信息管理设备完成双方验证后确定的,具体包括:所述信息管理设备接收所述信息采集设备发送的第一绑定码;判断所述第一绑定码是否与预设绑定码相同;若所述第一绑定码与所述预设绑定码相同,将所述信息采集设备的信息采集设备标识确定为预设信息采集设备标识;按照预设规则,根据所述第一绑定码生成第二绑定码;将所述第二绑定码发送给所述信息采集设备,所述第二绑定码用于所述信息采集设备对所述信息管理设备进行验证,若验证通过,则所述信息采集设备与所述信息管理设备建立所述绑定关系;其中,所述按照预设规则,根据所述第一绑定码生成第二绑定码,具体包括:在所述第一绑定码的基础上添加特定信息构成所述第二绑定码;A collection device judgment module, configured to judge whether the information collection device is a preset information collection device according to the information collection device identification corresponding to the encrypted collection information; the information collection device identification includes the device ID and the device serial number. At least one; the preset information collection device is a device that has a binding relationship with an information management device; the binding relationship is determined after the information collection device and the information management device complete mutual verification, and specifically includes: The information management device receives the first binding code sent by the information collection device; determines whether the first binding code is the same as the preset binding code; if the first binding code is the same as the preset binding code; If the fixed codes are the same, the information collection device identification of the information collection equipment is determined as the preset information collection equipment identification; according to the preset rules, a second binding code is generated according to the first binding code; the second binding code is The fixed code is sent to the information collection device, and the second binding code is used for the information collection device to verify the information management device. If the verification is passed, the information collection device and the information management device are established. The binding relationship; wherein the generating a second binding code according to the first binding code according to a preset rule specifically includes: adding specific information on the basis of the first binding code to form the second binding code; 信息上链模块,用于若所述信息采集设备为预设信息采集设备,则将所述加密后的采集信息上传至区块链系统,所述区块链系统不包括所述信息采集设备。The information uploading module is used for uploading the encrypted collection information to a blockchain system if the information collection device is a preset information collection device, and the blockchain system does not include the information collection device. 18.一种信息处理装置,包括:18. An information processing device, comprising: 采集信息获取模块,用于获取信息管理设备上传的加密后的采集信息;所述采集信息是信息采集设备采集后上传至所述信息管理设备的;所述信息采集设备包括用于进行仓储管理的采集货物信息的设备;所述信息采集设备是与所述信息管理设备具有绑定关系的设备;所述绑定关系为所述信息采集设备与所述信息管理设备完成双方验证后确定的,具体包括:所述信息管理设备接收所述信息采集设备发送的第一绑定码;判断所述第一绑定码是否与预设绑定码相同;若所述第一绑定码与所述预设绑定码相同,将所述信息采集设备的信息采集设备标识确定为预设信息采集设备标识;按照预设规则,根据所述第一绑定码生成第二绑定码;将所述第二绑定码发送给所述信息采集设备,所述第二绑定码用于所述信息采集设备对所述信息管理设备进行验证,若验证通过,则所述信息采集设备与所述信息管理设备建立所述绑定关系;其中,所述信息采集设备标识包括设备ID、设备序列号中至少一种;获取所述加密后的采集信息的区块链系统不包括所述信息采集设备;其中,所述按照预设规则,根据所述第一绑定码生成第二绑定码,具体包括:在所述第一绑定码的基础上添加特定信息构成所述第二绑定码;The acquisition information acquisition module is used to acquire the encrypted acquisition information uploaded by the information management equipment; the acquisition information is collected by the information acquisition equipment and then uploaded to the information management equipment; the information acquisition equipment includes a storage device for warehouse management A device for collecting cargo information; the information collecting device is a device that has a binding relationship with the information management device; the binding relationship is determined after the information collecting device and the information management device complete the mutual verification, specifically The method includes: receiving, by the information management device, a first binding code sent by the information collecting device; judging whether the first binding code is the same as a preset binding code; if the first binding code is the same as the preset binding code; Assuming that the binding codes are the same, the information collection device identification of the information collection device is determined as the preset information collection device identification; according to the preset rules, a second binding code is generated according to the first binding code; The second binding code is sent to the information collection device, and the second binding code is used by the information collection device to verify the information management device. If the verification is passed, the information collection device and the information management device The device establishes the binding relationship; wherein, the information collection device identifier includes at least one of a device ID and a device serial number; the blockchain system that obtains the encrypted collection information does not include the information collection device; wherein , the generating a second binding code according to the first binding code according to a preset rule specifically includes: adding specific information on the basis of the first binding code to form the second binding code; 信息验签模块,用于对所述采集信息进行验签处理;an information signature verification module, configured to perform signature verification processing on the collected information; 信息保存模块,用于将通过验签的所述加密后的采集信息保存至区块链。The information saving module is used to save the encrypted collection information that has passed the signature verification to the blockchain. 19.根据权利要求18所述的装置,所述信息验签模块,具体用于:19. The device according to claim 18, the information verification module is specifically used for: 确定所述信息采集设备的信息采集设备标识;determining the information collection device identifier of the information collection device; 基于所述信息采集设备标识,查找所述信息采集设备的公钥;Searching for the public key of the information collection device based on the information collection device identifier; 利用所述公钥对所述加密后的采集信息进行签名验证;Use the public key to perform signature verification on the encrypted collection information; 若所述签名验证通过,则调用智能合约将所述加密后的采集信息保存至区块链。If the signature verification is passed, the smart contract is called to save the encrypted collection information to the blockchain. 20.一种信息处理装置,包括:20. An information processing device, comprising: 信息获取模块,用于获取采集信息;The information acquisition module is used to acquire the collection information; 信息加密模块,用于对所述采集信息进行加密,得到加密后的采集信息;an information encryption module, used for encrypting the collection information to obtain the encrypted collection information; 信息发送模块,用于发送所述加密后的采集信息给信息管理设备;所述加密后的采集信息与信息采集设备标识相对应,所述信息采集设备标识用于所述信息管理设备判断信息采集设备为预设信息采集设备时,将所述加密后的采集信息上传至区块链系统;所述信息采集设备包括用于进行仓储管理的采集货物信息的设备;所述信息采集设备标识包括设备ID、设备序列号中至少一种;所述区块链系统不包括所述信息采集设备;所述预设信息采集设备是与所述信息管理设备具有绑定关系的设备;所述绑定关系为所述信息采集设备与所述信息管理设备完成双方验证后确定的,具体包括:所述信息管理设备接收所述信息采集设备发送的第一绑定码;判断所述第一绑定码是否与预设绑定码相同;若所述第一绑定码与所述预设绑定码相同,将所述信息采集设备的信息采集设备标识确定为预设信息采集设备标识;按照预设规则,根据所述第一绑定码生成第二绑定码;将所述第二绑定码发送给所述信息采集设备,所述第二绑定码用于所述信息采集设备对所述信息管理设备进行验证,若验证通过,则所述信息采集设备与所述信息管理设备建立所述绑定关系;其中,所述按照预设规则,根据所述第一绑定码生成第二绑定码,具体包括:在所述第一绑定码的基础上添加特定信息构成所述第二绑定码。an information sending module for sending the encrypted collection information to an information management device; the encrypted collection information corresponds to an information collection device identification, and the information collection device identification is used by the information management device to determine information collection When the equipment is a preset information collection equipment, upload the encrypted collection information to the blockchain system; the information collection equipment includes equipment for collecting goods information for warehouse management; the information collection equipment identification includes equipment At least one of ID and device serial number; the blockchain system does not include the information collection device; the preset information collection device is a device that has a binding relationship with the information management device; the binding relationship It is determined after the information collection device and the information management device complete the mutual verification, and specifically includes: the information management device receives the first binding code sent by the information collection device; judges whether the first binding code is is the same as the preset binding code; if the first binding code is the same as the preset binding code, the information collection device identification of the information collection device is determined as the preset information collection device identification; according to the preset rules , generate a second binding code according to the first binding code; send the second binding code to the information collection device, where the second binding code is used by the information collection device for the information The management device performs verification, and if the verification is passed, the information collection device establishes the binding relationship with the information management device; wherein the second binding is generated according to the first binding code according to a preset rule The code specifically includes: adding specific information on the basis of the first binding code to form the second binding code. 21.一种信息处理设备,包括:21. An information processing device, comprising: 至少一个处理器;以及,at least one processor; and, 与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein, 所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: 接收信息采集设备发送的加密后的采集信息;所述信息采集设备包括用于进行仓储管理的采集货物信息的设备;receiving encrypted collection information sent by an information collection device; the information collection device includes a device for collecting cargo information for warehouse management; 根据所述加密后的采集信息对应的信息采集设备标识,判断所述信息采集设备是否为预设信息采集设备;所述信息采集设备标识包括设备ID、设备序列号中至少一种;所述预设信息采集设备是与信息管理设备具有绑定关系的设备;所述绑定关系为所述信息采集设备与所述信息管理设备完成双方验证后确定的,具体包括:所述信息管理设备接收所述信息采集设备发送的第一绑定码;判断所述第一绑定码是否与预设绑定码相同;若所述第一绑定码与所述预设绑定码相同,将所述信息采集设备的信息采集设备标识确定为预设信息采集设备标识;按照预设规则,根据所述第一绑定码生成第二绑定码;将所述第二绑定码发送给所述信息采集设备,所述第二绑定码用于所述信息采集设备对所述信息管理设备进行验证,若验证通过,则所述信息采集设备与所述信息管理设备建立所述绑定关系;其中,所述按照预设规则,根据所述第一绑定码生成第二绑定码,具体包括:在所述第一绑定码的基础上添加特定信息构成所述第二绑定码;According to the information collection device identification corresponding to the encrypted collection information, it is determined whether the information collection device is a preset information collection device; the information collection device identification includes at least one of a device ID and a device serial number; It is assumed that the information collection device is a device that has a binding relationship with the information management device; the binding relationship is determined after the information collection device and the information management device complete the mutual verification, which specifically includes: the information management device receives the information. the first binding code sent by the information collection device; determine whether the first binding code is the same as the preset binding code; if the first binding code is the same as the preset binding code, use the The information collection device identifier of the information collection device is determined to be a preset information collection device identifier; according to a preset rule, a second binding code is generated according to the first binding code; and the second binding code is sent to the information a collection device, the second binding code is used for the information collection device to verify the information management device, and if the verification is passed, the information collection device establishes the binding relationship with the information management device; wherein , the generating a second binding code according to the first binding code according to a preset rule specifically includes: adding specific information on the basis of the first binding code to form the second binding code; 若所述信息采集设备为预设信息采集设备,则将所述加密后的采集信息上传至区块链系统,所述区块链系统不包括所述信息采集设备。If the information collection device is a preset information collection device, upload the encrypted collection information to the blockchain system, and the blockchain system does not include the information collection device. 22.一种信息处理设备,包括:22. An information processing device, comprising: 至少一个处理器;以及,at least one processor; and, 与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein, 所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: 获取信息管理设备上传的加密后的采集信息;所述采集信息是信息采集设备采集后上传至所述信息管理设备的;所述信息采集设备包括用于进行仓储管理的采集货物信息的设备;所述信息采集设备是与所述信息管理设备具有绑定关系的设备;所述绑定关系为所述信息采集设备与所述信息管理设备完成双方验证后确定的,具体包括:所述信息管理设备接收所述信息采集设备发送的第一绑定码;判断所述第一绑定码是否与预设绑定码相同;若所述第一绑定码与所述预设绑定码相同,将所述信息采集设备的信息采集设备标识确定为预设信息采集设备标识;按照预设规则,根据所述第一绑定码生成第二绑定码;将所述第二绑定码发送给所述信息采集设备,所述第二绑定码用于所述信息采集设备对所述信息管理设备进行验证,若验证通过,则所述信息采集设备与所述信息管理设备建立所述绑定关系;其中,所述信息采集设备标识包括设备ID、设备序列号中至少一种;获取所述加密后的采集信息的区块链系统不包括所述信息采集设备;其中,所述按照预设规则,根据所述第一绑定码生成第二绑定码,具体包括:在所述第一绑定码的基础上添加特定信息构成所述第二绑定码;Obtain the encrypted collection information uploaded by the information management equipment; the collection information is collected by the information collection equipment and uploaded to the information management equipment; the information collection equipment includes equipment for collecting goods information for warehouse management; The information collection device is a device that has a binding relationship with the information management device; the binding relationship is determined after the information collection device and the information management device complete mutual verification, and specifically includes: the information management device Receive the first binding code sent by the information collection device; determine whether the first binding code is the same as the preset binding code; if the first binding code is the same as the preset binding code, use the The information collection device identification of the information collection device is determined as a preset information collection device identification; according to a preset rule, a second binding code is generated according to the first binding code; and the second binding code is sent to the the information collection device, the second binding code is used for the information collection device to verify the information management device, and if the verification is passed, the information collection device establishes the binding relationship with the information management device ; wherein, the identification of the information collection device includes at least one of a device ID and a device serial number; the blockchain system that obtains the encrypted collection information does not include the information collection device; wherein, according to preset rules , generating a second binding code according to the first binding code, which specifically includes: adding specific information on the basis of the first binding code to form the second binding code; 对所述采集信息进行验签处理;Perform signature verification processing on the collected information; 将通过验签的所述加密后的采集信息保存至区块链。The encrypted collection information that has passed the signature verification is saved to the blockchain. 23.一种信息处理设备,包括:23. An information processing device, comprising: 至少一个处理器;以及,at least one processor; and, 与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein, 所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: 获取采集信息;obtain collection information; 对所述采集信息进行加密,得到加密后的采集信息;Encrypting the collection information to obtain encrypted collection information; 发送所述加密后的采集信息给信息管理设备;所述加密后的采集信息与信息采集设备标识相对应,所述信息采集设备标识用于所述信息管理设备判断信息采集设备为预设信息采集设备时,将所述加密后的采集信息上传至区块链系统;所述信息采集设备包括用于进行仓储管理的采集货物信息的设备;所述信息采集设备标识包括设备ID、设备序列号中至少一种;所述区块链系统不包括所述信息采集设备;所述预设信息采集设备是与所述信息管理设备具有绑定关系的设备;所述绑定关系为所述信息采集设备与所述信息管理设备完成双方验证后确定的,具体包括:所述信息管理设备接收所述信息采集设备发送的第一绑定码;判断所述第一绑定码是否与预设绑定码相同;若所述第一绑定码与所述预设绑定码相同,将所述信息采集设备的信息采集设备标识确定为预设信息采集设备标识;按照预设规则,根据所述第一绑定码生成第二绑定码;将所述第二绑定码发送给所述信息采集设备,所述第二绑定码用于所述信息采集设备对所述信息管理设备进行验证,若验证通过,则所述信息采集设备与所述信息管理设备建立所述绑定关系;其中,所述按照预设规则,根据所述第一绑定码生成第二绑定码,具体包括:在所述第一绑定码的基础上添加特定信息构成所述第二绑定码。Sending the encrypted collection information to an information management device; the encrypted collection information corresponds to an information collection device identification, and the information collection device identification is used by the information management device to determine that the information collection device is preset information collection When the equipment is installed, upload the encrypted collection information to the blockchain system; the information collection equipment includes equipment for collecting cargo information for warehouse management; the information collection equipment identification includes equipment ID, equipment serial number At least one; the blockchain system does not include the information collection device; the preset information collection device is a device that has a binding relationship with the information management device; the binding relationship is the information collection device Determined after completing mutual verification with the information management device, specifically including: the information management device receives a first binding code sent by the information collection device; determining whether the first binding code is the same as a preset binding code If the first binding code is the same as the preset binding code, determine the information collection device identification of the information collection device as the preset information collection device identification; according to the preset rules, according to the first The binding code generates a second binding code; the second binding code is sent to the information collection device, and the second binding code is used by the information collection device to verify the information management device. If the verification is passed, the information collection device establishes the binding relationship with the information management device; wherein the generating a second binding code according to the first binding code according to a preset rule specifically includes: The second binding code is formed by adding specific information on the basis of the first binding code.
CN202010329555.6A 2020-04-24 2020-04-24 A method, device and equipment for information processing Active CN111241569B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010329555.6A CN111241569B (en) 2020-04-24 2020-04-24 A method, device and equipment for information processing
CN202110533023.9A CN113221143B (en) 2020-04-24 2020-04-24 A method, device and equipment for information processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010329555.6A CN111241569B (en) 2020-04-24 2020-04-24 A method, device and equipment for information processing

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202110533023.9A Division CN113221143B (en) 2020-04-24 2020-04-24 A method, device and equipment for information processing

Publications (2)

Publication Number Publication Date
CN111241569A CN111241569A (en) 2020-06-05
CN111241569B true CN111241569B (en) 2021-03-30

Family

ID=70864760

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202010329555.6A Active CN111241569B (en) 2020-04-24 2020-04-24 A method, device and equipment for information processing
CN202110533023.9A Active CN113221143B (en) 2020-04-24 2020-04-24 A method, device and equipment for information processing

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202110533023.9A Active CN113221143B (en) 2020-04-24 2020-04-24 A method, device and equipment for information processing

Country Status (1)

Country Link
CN (2) CN111241569B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111753109A (en) * 2020-07-07 2020-10-09 吴边 Online data report uploading system and information display platform adopting same
CN112465516B (en) * 2021-02-02 2021-04-20 腾讯科技(深圳)有限公司 Block chain network-based device management method, related device and storage medium
CN112966044B (en) * 2021-02-26 2022-09-02 支付宝(杭州)信息技术有限公司 Data storage method and system of IOT (input/output) equipment based on block chain
CN115150795A (en) * 2021-03-30 2022-10-04 中国移动通信有限公司研究院 Information filtering method, Bluetooth antenna and IoT data platform
CN112798333A (en) * 2021-03-31 2021-05-14 江西省生态环境科学研究与规划院 Sampling drill bit for soil remediation, soil information system and information management method
CN113722766A (en) * 2021-09-01 2021-11-30 宁波大学科学技术学院 Operation mechanism of product trusted data chain
CN114186290A (en) * 2021-12-16 2022-03-15 珠海格力电器股份有限公司 Blockchain-based data reporting method and device and processor
CN114500574A (en) * 2021-12-24 2022-05-13 山东浪潮工业互联网产业股份有限公司 Monitoring method, device and medium for improving grain depot safety based on block chain
CN115001851B (en) * 2022-07-15 2023-04-25 深圳市信润富联数字科技有限公司 Data acquisition docking method, device, equipment and storage medium
CN116684207B (en) * 2023-08-03 2023-10-20 杭州字节方舟科技有限公司 Method, device, equipment and medium for processing monitoring data based on blockchain

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106973054A (en) * 2017-03-29 2017-07-21 山东超越数控电子有限公司 A kind of operating system login authentication method and system based on credible platform
CN110535647A (en) * 2018-05-25 2019-12-03 上海诚频信息科技合伙企业(有限合伙) Believable data transmission method, system, electronic equipment, storage medium

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7143287B2 (en) * 2004-10-21 2006-11-28 International Business Machines Corporation Method and system for verifying binding of an initial trusted device to a secured processing system
US7934096B2 (en) * 2007-07-27 2011-04-26 Microsoft Corporation Integrity protected smart card transaction
CN104283885B (en) * 2014-10-14 2017-07-28 中国科学院信息工程研究所 A kind of implementation method of many SP secure bindings based on intelligent terminal local authentication
CN104834868A (en) * 2015-04-28 2015-08-12 一铂有限公司 Electronic data protection method, device and terminal equipment
CN105975868A (en) * 2016-04-29 2016-09-28 杭州云象网络技术有限公司 Block chain-based evidence preservation method and apparatus
CN107404477A (en) * 2017-06-30 2017-11-28 海航创新科技研究有限公司 Container operation data sending method and device, method of reseptance and device
CN109302415B (en) * 2018-11-09 2019-11-01 四川虹微技术有限公司 A kind of authentication method, block chain node and storage medium
CN109559136B (en) * 2018-11-28 2021-03-09 中国医学科学院药用植物研究所 Information management system and method
CN110011793A (en) * 2019-04-03 2019-07-12 上海中商网络股份有限公司 Anti-fake data processing method of tracing to the source, device, equipment and medium
CN110247965A (en) * 2019-06-13 2019-09-17 食品安全与营养(贵州)信息科技有限公司 A kind of storage method and system of the IoT data-storage system based on block chain
US11277406B2 (en) * 2019-06-28 2022-03-15 Intel Corporation MTS-based mutual-authenticated remote attestation
CN110324358B (en) * 2019-07-31 2020-05-05 北京中安国通科技有限公司 Video data management and control authentication method, module, equipment and platform
CN110503362A (en) * 2019-08-01 2019-11-26 深圳市珍久库科技有限公司 A kind of intelligent repository management method and system based on block chain
CN110474782A (en) * 2019-09-16 2019-11-19 湖南新云网科技有限公司 A kind of method for remote management of smart machine, device, equipment and storage medium
CN110808959A (en) * 2019-10-10 2020-02-18 深圳创链数据科技有限公司 Intelligent equipment data acquisition system and method based on block chain
CN110827028B (en) * 2019-11-07 2023-08-29 湖北邮电规划设计有限公司 Block chain-based data acquisition transaction system and method
CN110995710B (en) * 2019-12-05 2021-12-07 江苏恒宝智能系统技术有限公司 Smart home authentication method based on eUICC
CN111047313B (en) * 2020-03-12 2020-12-04 支付宝(杭州)信息技术有限公司 Scan code payment, information transmission and key management method, device and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106973054A (en) * 2017-03-29 2017-07-21 山东超越数控电子有限公司 A kind of operating system login authentication method and system based on credible platform
CN110535647A (en) * 2018-05-25 2019-12-03 上海诚频信息科技合伙企业(有限合伙) Believable data transmission method, system, electronic equipment, storage medium

Also Published As

Publication number Publication date
CN113221143B (en) 2024-11-19
CN113221143A (en) 2021-08-06
CN111241569A (en) 2020-06-05

Similar Documents

Publication Publication Date Title
CN111241569B (en) A method, device and equipment for information processing
CN111932426B (en) A method, device and device for identity management based on trusted hardware
CN111047313B (en) Scan code payment, information transmission and key management method, device and device
JP5196883B2 (en) Information security apparatus and information security system
US8661262B2 (en) User authentication system, terminal used in the same, authentication verification device, and program
CN111062715B (en) Method, device and device for scanning code payment, information transmission and generation of payment code
CN110543510B (en) Bill data processing method, device, storage medium and computer equipment
JP2013243667A (en) Content encryption device and method based on identifier of storage device
CN114465790B (en) Method, device and equipment for processing IP content library service
CN111193597B (en) Transmission method, device, equipment and system capable of verifying statement
CN110858249A (en) A kind of database file encryption method, decryption method and related device
CN103647636A (en) Method and device for safe access to data
CN108564363B (en) Transaction processing method, server, client and system
CN111314066A (en) Block chain-based data transfer method, terminal and computer-readable storage medium
CN115130075A (en) Digital signature method and device, electronic equipment and storage medium
Zhang et al. Digital image copyright protection method based on blockchain and zero trust mechanism
CN111259452A (en) Data management method based on block chain and related device
CN107133517B (en) Data recovery method based on data encryption and calculation in memory
CN113792346B (en) Trusted data processing method, device and equipment
JP6755539B2 (en) Methods and equipment for publishing copyrighted works on networks
Salas A secure framework for OTA smart device ecosystems using ECC encryption and biometrics
CN104915607B (en) A kind of code data processing and exchange method based on mobile terminal
CN110807640A (en) Method and device for recording copyright information
CN115758475A (en) Resource data aggregation method and device, computer equipment and storage medium
CN111130788B (en) Data processing method and system, data reading method and iSCSI server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20241113

Address after: Room 803, floor 8, No. 618 Wai Road, Huangpu District, Shanghai 200010

Patentee after: Ant blockchain Technology (Shanghai) Co.,Ltd.

Country or region after: China

Address before: 310000 801-11 section B, 8th floor, 556 Xixi Road, Xihu District, Hangzhou City, Zhejiang Province

Patentee before: Alipay (Hangzhou) Information Technology Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right