CN111241569A - Information processing method, device and equipment - Google Patents

Information processing method, device and equipment Download PDF

Info

Publication number
CN111241569A
CN111241569A CN202010329555.6A CN202010329555A CN111241569A CN 111241569 A CN111241569 A CN 111241569A CN 202010329555 A CN202010329555 A CN 202010329555A CN 111241569 A CN111241569 A CN 111241569A
Authority
CN
China
Prior art keywords
information
acquisition
equipment
binding
encrypted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010329555.6A
Other languages
Chinese (zh)
Other versions
CN111241569B (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.)
Alipay Hangzhou Information Technology 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/CN113221143A/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)

Abstract

The embodiment of the specification discloses an information processing method, device and equipment. The scheme comprises the following steps: receiving encrypted acquisition information sent by information acquisition equipment; judging whether the information acquisition equipment is preset information acquisition equipment or not according to the information acquisition equipment identification corresponding to the encrypted acquisition information; and if the information acquisition equipment is preset information acquisition equipment, uploading the encrypted acquisition information to the block chain system.

Description

Information processing method, device and equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, and a device for processing information.
Background
With the development of computer technology, advanced technology brings convenience to people and also brings new problems. For example, in the aspect of warehousing management, traditional warehousing management generally mainly depends on manual management, for example, the quantity of goods is checked manually, goods lists are filled in, and with the continuous improvement of the technological level, the goods information in a warehouse can be collected by using equipment such as a code scanner, a camera or a sensor, so that the labor can be reduced, the efficiency of data collection is improved, but the information collected usually is transmitted through a network, and illegal attacks can be suffered in the transmission process, and the safety of the information is threatened.
Therefore, how to ensure the information security is a technical problem to be solved urgently in the field.
Disclosure of Invention
In view of this, embodiments of the present application provide an information processing method, an information processing apparatus, and information processing equipment, which can be used to improve information security.
In order to solve the above technical problem, the embodiments of the present specification are implemented as follows:
an information processing method provided in an embodiment of the present specification includes:
receiving encrypted acquisition information sent by information acquisition equipment;
judging whether the information acquisition equipment is preset information acquisition equipment or not according to the information acquisition equipment identification corresponding to the encrypted acquisition information;
and if the information acquisition equipment is preset information acquisition equipment, uploading the encrypted acquisition information to the block chain system.
An information processing method provided in an embodiment of the present specification includes:
acquiring encrypted acquisition information uploaded by information management equipment; the collected information is uploaded to the information management equipment after being collected by the information collection equipment;
carrying out signature checking processing on the acquired information;
and storing the encrypted acquisition information passing the signature verification to a block chain.
An information processing method provided in an embodiment of the present specification includes:
acquiring acquisition information;
encrypting the acquisition information to obtain encrypted acquisition information;
sending the encrypted acquisition information to information management equipment; the encrypted acquisition information corresponds to an information acquisition equipment identifier, and the information acquisition equipment identifier is used for uploading the encrypted acquisition information to a block chain system when the information management equipment judges that the information acquisition equipment is preset information acquisition equipment.
An information processing apparatus provided in an embodiment of the present specification includes:
the acquisition information receiving module is used for receiving the encrypted acquisition information sent by the information acquisition equipment;
the acquisition equipment judgment module is used for judging whether the information acquisition equipment is preset information acquisition equipment or not according to the information acquisition equipment identification corresponding to the encrypted acquisition information;
and the information chaining module is used for uploading the encrypted acquisition information to the block chain system if the information acquisition equipment is preset information acquisition equipment.
An information processing apparatus provided in an embodiment of the present specification includes:
the acquisition information acquisition module is used for acquiring the encrypted acquisition information uploaded by the information management equipment; the collected information is uploaded to the information management equipment after being collected by the information collection equipment;
the information label checking module is used for checking the collected information;
and the information storage module is used for storing the encrypted acquisition information passing the signature verification to the block chain.
An information processing apparatus provided in an embodiment of the present specification includes:
the information acquisition module is used for acquiring the acquired information;
the information encryption module is used for encrypting the acquisition information to obtain the encrypted acquisition information;
the information sending module is used for sending the encrypted acquisition information to the information management equipment; the encrypted acquisition information corresponds to an information acquisition equipment identifier, and the information acquisition equipment identifier is used for the information management equipment to judge that the information acquisition equipment is a preset information acquisition equipment and upload the encrypted acquisition information to the block chain system.
An information processing apparatus provided in an embodiment of the present specification includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
receiving encrypted acquisition information sent by information acquisition equipment;
judging whether the information acquisition equipment is preset information acquisition equipment or not according to the information acquisition equipment identification corresponding to the encrypted acquisition information;
and if the information acquisition equipment is preset information acquisition equipment, uploading the encrypted acquisition information to the block chain system.
An information processing apparatus provided in an embodiment of the present specification includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring encrypted acquisition information uploaded by information management equipment; the collected information is uploaded to the information management equipment after being collected by the information collection equipment;
carrying out signature checking processing on the acquired information;
and storing the encrypted acquisition information passing the signature verification to a block chain.
An information processing apparatus provided in an embodiment of the present specification includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring acquisition information;
encrypting the acquisition information to obtain encrypted acquisition information;
sending the encrypted acquisition information to information management equipment; the encrypted acquisition information corresponds to an information acquisition equipment identifier, and the information acquisition equipment identifier is used for uploading the encrypted acquisition information to a block chain system when the information management equipment judges that the information acquisition equipment is preset information acquisition equipment.
The at least one technical scheme adopted in the embodiment of the specification can achieve the following beneficial effects:
in the embodiment of the specification, the information acquisition device encrypts the acquired information and transmits the encrypted information to the information management device, so that the information security can be effectively improved, information errors caused by network attacks are reduced, the information management device verifies the information acquisition device, and ensures that only the acquired information of the preset information acquisition device can be uploaded to the block chain system, interference information can be reduced, and the information security is further improved.
In addition, in the embodiment of the present specification, the information management device is used to upload the acquisition information acquired by the information acquisition device to the blockchain system, and there is no need to chain the information acquisition device, which can reduce the cost of information chain, reduce the number of connections of devices in the blockchain system, and improve the working efficiency of the blockchain system.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic diagram of an application scenario of an information processing method provided in an embodiment of the present specification;
fig. 2 is a schematic flow chart of an information processing method provided in an embodiment of the present specification;
fig. 3 is a timing chart of an information processing method provided in an embodiment of the present specification;
fig. 4 is a flowchart illustrating an information processing method provided in an embodiment of the present specification;
fig. 5 is a flowchart illustrating an information processing method provided in an embodiment of the present specification;
fig. 6 is a schematic structural diagram of an information processing apparatus provided in an embodiment of the present specification;
fig. 7 is a schematic structural diagram of an information processing apparatus provided in an embodiment of the present specification;
fig. 8 is a schematic structural diagram of an information processing apparatus provided in an embodiment of the present specification;
fig. 9 is a schematic structural diagram of an information processing apparatus provided in an embodiment of the present specification.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The technical solutions provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an application scenario of an information processing method provided in an embodiment of this specification. As shown in fig. 1, the overall architecture mainly includes an object 1, an information collecting device 2, an information managing device 3, and a blockchain system 4. In practical application, the collected target 1 may include a target such as goods stored in a warehouse, data operated or stored in a device, and the like, which can be collected by the information collecting device 2; the information acquisition device 2 may include a sensor, an acquirer, a scanner, a camera, and other devices having an information acquisition function; the information management device 3 may be a server-type device with uplink function, and may upload the information collected by the information collection device 2 to the blockchain system 4, and store the collected information in the blockchain. In the embodiment of the specification, the information acquisition device 2 acquires the acquired target 1 to obtain the acquired information, and encrypts and transmits the acquired information to the information management device 3, so that the safety of the acquired information is improved; to further ensure the security of the received information, the information management device 3 may also verify the received acquisition information, and determine that the received acquisition information is sent by the information acquisition device 2; and the information management device 3 can receive the information of the plurality of information acquisition devices 2, and upload the acquired information to the blockchain system 4 after aggregating, so that the number of uplink devices can be reduced, the uplink cost can be reduced, the connection number of devices in the blockchain system can be reduced, and the working efficiency of the blockchain system can be improved.
Fig. 2 is a schematic flowchart of an information processing method provided in an embodiment of the present specification. From the viewpoint of the program, the main body of execution of the flow may be the program installed in the server or the terminal. From the functional point of view, the hardware device to which the execution subject of the flow corresponds may be an information management device.
As shown in fig. 2, the process may include the following steps:
step 202: receiving encrypted acquisition information sent by information acquisition equipment;
in practical application, the information acquisition device can generally adopt transmission modes such as Bluetooth, wireless and wired to transmit acquired information to the information management device, and can also encrypt the acquired information and transmit the encrypted acquired information, so that the threat of network attack on the acquired information can be reduced, and the information security can be improved.
Step 204: judging whether the information acquisition equipment is preset information acquisition equipment or not according to the information acquisition equipment identification corresponding to the encrypted acquisition information;
in practical application, the encrypted acquisition information may correspond to the information acquisition device identifier, specifically, the encrypted acquisition information may include the information acquisition device identifier, and the information acquisition device identifier may not be included in the encrypted acquisition information, but may be sent to the information management device as additional information together with the encrypted acquisition information. The information acquisition device identifier may be used to point to an information acquisition device that sends acquired information, and may be a unique identifier of the information acquisition device, such as a device ID, a device serial number, an MAC address, and the like, or may be an identifier preset for the information acquisition device, such as identification information generated according to a geographical location, a sequence, and the like.
In practical application, in order to ensure the reliability of an information source, preset information acquisition equipment corresponding to the information management equipment can be arranged, the information management equipment can upload acquisition information sent by the preset information acquisition equipment to a block chain system, and the information management equipment does not carry out uplink processing on acquisition information sent by other equipment except the preset information acquisition equipment, so that the influence of information sent by some interference equipment on real acquisition information can be avoided, and the reliability of the information source is improved. For example, some illegal users forge information collection devices and forge collected information, and since the information collection devices are forged and are devices other than the preset information collection devices, even if the information management devices receive the forged information sent by the information collection devices, the forged information cannot be uploaded to the block chain system, and the safety of the information is further ensured.
Step 206: and if the information acquisition equipment is preset information acquisition equipment, uploading the encrypted acquisition information to the block chain system.
In practical application, the information management device can upload the collected information of the preset information collecting device to the block chain system, so that the real effectiveness of the collected information is ensured.
In the embodiment of the present description, the information acquisition device may be a device that directly acquires or acquires information, for example, the number of the devices may be many, and may even reach tens of thousands, for example, each shelf in a large warehouse is usually provided with a plurality of sensors or cameras for monitoring the cargo condition in the shelf, and the number of the shelves in the large warehouse is usually hundreds or thousands, so that the number of the information acquisition devices in the whole warehouse is large, if the acquired data is directly uploaded to the block chain, all the information acquisition devices need to be configured as devices that can be linked up, which may increase the cost, and too many devices are connected to the block chain, which may also affect the processing efficiency of the block chain on the information. In the embodiment of the present specification, the information management device may receive transmission acquisition information of multiple information acquisition devices, aggregate the acquisition information acquired by the information acquisition devices by using the information management device, and upload the aggregated acquisition information to the block chain, which may reduce the uplink cost and improve the processing efficiency of the block chain.
In the embodiment of the specification, the information acquisition device encrypts the acquired information and transmits the encrypted information to the information management device, so that the information security can be effectively improved, information errors caused by network attacks are reduced, the information management device verifies the information acquisition device, and ensures that only the acquired information of the preset information acquisition device can be uploaded to the block chain system, interference information can be reduced, and the information security is further improved.
In addition, in the embodiment of the present specification, the information management device is used to upload the acquisition information acquired by the information acquisition device to the blockchain system, and there is no need to chain the information acquisition device, which can reduce the cost of information chain, reduce the number of connections of devices in the blockchain system, and improve the working efficiency of the blockchain system.
In the embodiments of the present description, the preset information acquisition device may be an information acquisition device that meets a preset condition, or an information acquisition device that has a preset relationship with the information management device, for example, the information acquisition device in a device list of the information management device is set as the preset information acquisition device, where the device list may be preset, or may be generated according to the information acquisition device that performs information interaction with the information management device; for another example, a certain type of information acquisition device is set as a preset information acquisition device; for another example, the information acquisition equipment meeting the specific position relation with the information acquisition equipment is set as the preset information acquisition equipment; for another example, the information acquisition device that has established a binding relationship with the information acquisition device is set as a preset information acquisition device, where the binding relationship can be understood as that the information acquisition device and the information management device perform authentication with each other, and information interaction is allowed between the two devices. It should be noted that the determination mode of the pre-information collection device may be set according to actual needs, and is not specifically limited herein. For a more clear description of the solution in the embodiment of the present specification, a preset information acquisition device is taken as an example of an information acquisition device that establishes a binding relationship with the information acquisition device.
Fig. 3 is a timing diagram of an information processing method provided in an embodiment of the present specification, and 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 that the information acquisition equipment and the information management equipment establish a binding relationship, the information management equipment can carry out uplink processing on the acquired information of the information acquisition equipment which has the binding relationship with the information management equipment, and the specific binding process can include: the information acquisition equipment can send a prearranged first binding code to the information management equipment, the information management equipment verifies the received first binding code, after the verification is passed, a second verification code which accords with a preset rule can be sent to the information acquisition equipment, the information acquisition equipment can verify the second verification code, and if the verification is passed, the binding relationship between the information acquisition equipment and the information management equipment is established.
And in the information processing stage, the information acquisition equipment which is mainly in binding relation with the information management equipment encrypts the acquired acquisition information, transmits the encrypted acquisition information to the information management equipment, and uploads the received encrypted acquisition information to the block chain system. The information acquisition equipment can encrypt the acquired information by adopting an asymmetric encryption method, and broadcasts the public key to the information management equipment for the information management equipment to verify the encrypted acquired information.
In this specification, a key mechanism may be used to encrypt the acquired information, specifically, an asymmetric key technique may be used, and a cryptographic algorithm may be used, each of the information acquisition device and the information management device may have two independent keys, one is a public key and the other is a private key, the public key and the private key are mathematically related, the public key may be used to encrypt a piece of information or verify a digital signature, and the private key may be used to decrypt information or create a digital signature. In practical application, the public key cannot be deduced reversely to obtain the private key, so that the public key can be disclosed without worrying about the safety of information, and the private key must be kept properly and cannot be leaked, and is usually kept by an owner of the private key. The information can be verified by processing a piece of information by a private key to obtain a data signature, anyone can use the public key to verify whether the signature belongs to a signer or not and whether the signature is not tampered, and the information can be prevented from being tampered by using the private key signature.
In an embodiment of the specification, before receiving the encrypted acquisition information sent by the information acquisition device, the method may further include:
receiving a binding request sent by the information acquisition equipment;
and establishing the binding relation with the information acquisition equipment based on the binding request.
In practical application, the binding relationship between the information management device and the information acquisition device is established, so that the situation that the information management device receives acquired information with interference can be effectively avoided, for example, when an illegal user attacks the information management device through a network, false information is transmitted to the information management device through the virtual or illegally connected information acquisition device, and as the information management device does not establish the binding relationship with the information acquisition device, the information sent by the information acquisition device cannot be uploaded to the block chain system, so that the information uploaded to the block chain system can be ensured to be reliable.
The binding request may include a first binding code, and the establishing of the binding relationship with the information acquisition device based on the binding request specifically may include:
judging whether the first binding code is the same as a preset binding code or not;
if the first binding code is the same as the preset binding code, determining the information acquisition equipment identifier of the information acquisition equipment as a preset information acquisition equipment identifier; the preset information acquisition equipment identification is an identification which is corresponding to the preset information acquisition equipment and is used for distinguishing different preset information acquisition equipment.
In an embodiment of the present description, the information management device may establish a binding relationship with the information acquisition device by obtaining the first binding code from the information acquisition device, and in practical applications, the information acquisition device may send the first binding code to the information management device by operating an operation panel of the information acquisition device, or send the first binding code to the information management device by scanning a code image such as a two-dimensional code or a barcode presented by the information management device, or obtain the first binding code by scanning a code image such as a two-dimensional code or a barcode presented by the information management device. In practical application, when the information management device and the information acquisition device establish a binding relationship, a binding code may be agreed, which may also be referred to as a preset binding code, the information acquisition device sends a first binding code to the information management device, and the information management device may determine whether the received binding code is the same as the preset binding code, and if so, may establish a binding relationship with the information acquisition device.
The first binding code may be in various forms such as numbers, characters, and a coincidence form, and may also include information representing the identity characteristics of the information acquisition device, such as a device name and a device model. For example, if the preset binding code is "113355", the information collecting device may transmit "113355" to the information managing device, and the information managing device determines that the information collecting device transmits the first binding code identical to the preset binding code, and then determines that the binding relationship with the information collecting device can be established. For another example, the first binding code includes an identifier of the information acquisition device, such as the number "adc … …" of the device, the preset binding code may include all or part of the identifier of the bindable device, and if the preset binding code is "adc", it indicates that the information management device may be bound to the information acquisition device whose three first bits of the device number are "adc", the information management device may compare the received identifier of the information acquisition device with the preset identifier of the bindable device, and if the preset identifier of the bindable device includes the received identifier of the information acquisition device, it indicates that the first binding code is the same as the preset binding code, and it is determined that a binding relationship may be established with the information acquisition device. It should be noted that the above-mentioned content is only an example of the first binding code, and is not limited to this content, and the first binding code may be set according to actual requirements as long as it can be used for determining whether the information acquisition device has the right to bind with the information management device.
In an embodiment of this specification, the preset information acquisition device identifier may be an equipment identifier corresponding to the preset information acquisition device, and the determining whether the information acquisition device is the preset information acquisition device may specifically include:
and judging whether the information acquisition equipment identification of the information acquisition equipment is the same as the preset information acquisition equipment identification.
In this embodiment of the present description, if the information acquisition device identifier and the preset information acquisition device identifier are present, it may be determined that the information acquisition device is the preset information acquisition device, and the information management device may upload acquisition information sent by the information acquisition device to the block chain system.
In practical application, the preset information acquisition device identifier corresponding to the preset information acquisition device may be stored in an information acquisition device binding list, and the preset information acquisition device identifier corresponding to the preset information acquisition device may be recorded in the information acquisition device binding list, or may be the information acquisition device identifiers of all the information acquisition devices having a binding relationship with the information management device. When judging whether the information acquisition device is the preset information acquisition device, the information acquisition device identifier corresponding to the encrypted acquisition information may be compared with the content in the information acquisition device binding list, and if the information acquisition device identifier exists in the list, it indicates that the information acquisition device is the preset information acquisition device.
In order to further improve the binding relationship and ensure the information security, after determining the information acquisition device identifier of the information acquisition device as the preset information acquisition device identifier, the method may further include:
generating a second binding code according to the first binding code according to a preset rule;
and sending the second binding code to the information acquisition equipment, wherein the second binding code is used for verifying the information management equipment by the information acquisition equipment.
In this embodiment, the information management device may further generate, according to a preset rule, a second binding code according to the first binding code, and feed back the second binding code to the information acquisition device, so that the information acquisition device verifies the information management device to determine that the information management device is the information management device that receives the first binding code, and the validity of both parties that establish the binding relationship is ensured by using a manner of both party verification. For example, the information management device may add specific information on the basis of the first binding code to form a second binding code, and send the second binding code to the information acquisition device, because the first binding code is sent to the information management device by the information acquisition device, the information acquisition device receiving the second binding code may verify the information management device by judging whether the second binding code includes the first binding code that was sent to the information management device before, and if the second binding code includes the first binding code that was sent to the information management device before, it indicates that the information management device is a device that the information acquisition device wants to perform information transmission, and may establish a binding relationship with the information management device, so as to transmit the acquired information to the information management device later. The preset rule may also be a preset algorithm, for example, the first binding code and a preset value are calculated according to the preset algorithm to obtain a second binding code, the information collecting device may perform inverse operation after receiving the second binding code to determine that the information managing device is the information managing device that receives the first binding code, and so on. It should be noted that the preset rule in the embodiment of the present specification may be set according to an actual requirement, and a specific form is not limited here, as long as the preset rule can be used for the information acquisition device to verify the information management device, and thus the verification of both sides is completed.
In this embodiment of the specification, after receiving the second verification code, the information acquisition device may further feed back information indicating that the binding is successful or unsuccessful to the information management device, so that the information management device determines whether the binding with the information acquisition device is successful. If the information management device does not receive or does not receive information which is fed back by the information acquisition device and represents that the binding is successful within a preset time period, the information management device can be determined to refuse the binding or some problems exist in the binding process, and the information management device cannot upload the acquisition information sent by the information acquisition device to the block chain system.
In practical application, in the binding process, the information management device may also initiate a binding request to the information acquisition device, the information acquisition device feeds back feedback information to the information management device based on the binding request, the feedback information may include information representing the binding request, and may also include information representing a device identifier corresponding to the information acquisition device, and the information management device establishes a binding relationship with the information acquisition device based on the feedback information. In the binding process, the initiator of the binding request may be set according to actual requirements, and is not specifically limited herein.
In this embodiment of the present specification, content representing an identity of an information acquisition device having a binding relationship with an information management device may be stored in the information management device and/or a blockchain, and before uploading acquired information to a blockchain system, the content representing the identity of the information acquisition device in the acquired information may be compared with the content stored in the information management device and/or the identity of the information acquisition device having a binding relationship with an information management device in the acquired information, so as to determine whether the acquired information is sent by the information management device having a binding relationship with the information management device. When the content representing the identity of the information acquisition device having the binding relationship with the information management device is stored in the block chain, the acquired information can be stored in the block chain corresponding to the content according to the content, so that the acquired information can be searched subsequently.
In order to further ensure the security of the information uploaded to the block chain, the information management device may further perform signature verification on the collected information before uploading the collected information to the block chain, and specifically, before uploading the encrypted collected information to the block chain system, the method may further include:
acquiring the information acquisition equipment identification of the information acquisition equipment;
searching a public key corresponding to the information acquisition equipment based on the information acquisition equipment identifier;
based on the public key, performing signature verification on the encrypted acquisition information, and judging whether the encrypted acquisition information is transmitted to the information management device by the information acquisition device;
and if the signature passes the verification, uploading the encrypted acquisition information to a block chain system.
In this embodiment, the information acquisition device may generate a public and private key pair, the encrypted acquisition information may be information signed and processed by using a private key of the information acquisition device, and the information acquisition device may broadcast a public key to the information management device, so that before uploading the acquisition information to the block chain, the information management device or the server may further determine the public key corresponding to the information acquisition device according to a device identifier of the information acquisition device, perform signature verification on the encrypted acquisition information by using the public key, and may be used to determine whether the encrypted acquisition information received by the information management device is sent by the information acquisition device that sends the encrypted acquisition information, thereby further improving reliability of an encrypted acquisition information source.
In the embodiment of the present specification, the information management device may also generate a public and private key pair, and the information acquisition device may receive a public key broadcasted by the information management device. The information acquisition equipment can sign the acquired acquisition information by using a private key of the information acquisition equipment, and then encrypt the acquired acquisition information by using a received public key of the information management equipment to obtain encrypted acquisition information with a signature; after receiving the encrypted acquisition information, the information management device can decrypt the encrypted acquisition information by using a private key of the information management device to obtain decrypted acquisition information, and can also perform signature verification on the encrypted acquisition information by using a public key of the information acquisition device to verify whether the acquisition information is sent by the information acquisition device and is tampered. And because the acquired information is encrypted by using the public key of the information management equipment, only the private key of the information management equipment can be decrypted, even if the encrypted acquired information is stolen by an illegal user, the illegal user can not obtain the original acquired information, and the information can be ensured not to be leaked.
In order to further ensure the security of the acquired information, in this embodiment of the present specification, before uploading the encrypted acquisition information to the blockchain system, the method may further include:
acquiring a timestamp of the encrypted acquisition information;
judging whether the time difference between the time information represented by the timestamp and the time of acquiring the timestamp by the information management equipment is less than or equal to a preset time difference;
and if the time difference between the time information represented by the timestamp and the time for acquiring the timestamp by the information management equipment is less than or equal to the preset time difference, uploading the encrypted acquisition information to a block chain system.
In the embodiment of the present description, the information acquisition device may further add a timestamp to the acquired acquisition information, and the information management device may ensure the security of the information by verifying the timestamp. The information collecting apparatus acquires information every 10 minutes, for example, and sends the information to the information managing apparatus, so that the information management apparatus can receive the information of this information collection apparatus every 10 minutes, when the difference between the time information represented in the time stamp of the collected information and the time when the information management device acquires the time stamp is more than 10 minutes, the information management device can screen out or shield or delete the information, and does not upload the information to the block chain system, so as to avoid uploading information tampered or forged by an illegal user to the block chain, therefore, real information is ensured when the information in the block chain system is obtained, and the information safety is also ensured.
In the embodiment of the present specification, the collected information received by the information management device may include an information collection device identifier corresponding to the information collection device that obtains the collected information, the information collection device identifier may also be sent to the information management device together with the collected information as additional information, the information management device may set a management relationship between the collected information and the information collection device, in practical applications, there may be a plurality of information management devices, the collected information obtained by a plurality of information management devices may be stored in the same block chain system, and in order to implement traceability of the collected information, the information management device may also be provided with a device identifier, and the collected information uploaded by the information management device may be determined according to the device identifier. In this embodiment, the information management apparatus may be regarded as a node of a blockchain system, and the method may further include:
acquiring a hash value of the data on the link generated according to the encrypted acquisition information;
generating incidence relation data among the hash value, the information acquisition equipment identifier and the information management equipment identifier; the information management equipment mark is a mark which is corresponding to the information management equipment and is used for distinguishing different information management equipment;
and storing the incidence relation data.
In practical applications, when information is stored in a block chain, a hash (hash) value corresponding to the information may be generated, and the hash value is stored in a corresponding block. The association relation data stored in the embodiment of the present specification may include association data between the information acquisition device identifier and the information management device identifier, and after new acquisition information is obtained, the new acquisition information may be stored in a block to which the information acquisition device identifier corresponding to the information acquisition device that obtains the information points according to the association relation, so that the acquisition information may be classified and stored according to the acquisition devices; similarly, when there are multiple information management devices, the information management device identifier corresponding to the information management device may be pointed to different blocks, and the collected information obtained by different information management devices may be stored in the corresponding blocks.
In practical application, information can be stored by creating a snapshot library, and the information acquisition device snapshot library is created, for example, an information acquisition device identifier of the information acquisition device can point to an acquisition device snapshot library in the block chain system, identifiers representing all information acquisition devices are stored in the acquisition device snapshot library, and the identifier of each information acquisition device can also point to a block or an address for storing encrypted acquisition information; the information management device identifier of the information management device may point to a management device snapshot library in the block chain system, identifiers of all the information management devices are stored in the management device snapshot library, and each information management device identifier may also point to a block or an address where an identifier of an information acquisition device having a binding relationship with the information management device is stored, so that the information management device may store the encrypted acquisition information in the corresponding block or address.
In practical application, the collected information can be uploaded to a block chain system by calling an intelligent contract, and all records of information processing are maintained by using the intelligent contract. The intelligent contract may include various logic functions, and may represent an association relationship between the information acquisition device and the information management device, an association relationship between the information acquisition device and a public key corresponding to the encrypted acquisition information, and the like.
In an embodiment of this specification, the acquired information may specifically include image information acquired by an image acquisition device, and at least one of target object information, target object quantity information, and target object position information in the image information.
In practical application, the collected information may be image information, such as a picture, a video, and the like, and the image information may be further processed to identify at least one of target information, target number information, and target position information included therein. For example, a picture of goods stored on a warehouse shelf shot by a camera can be uploaded to a block chain system as acquisition information and can be used as a storage certificate for subsequent use; in order to record the goods condition more clearly, the photos can be processed, information such as names, quantity, positions and the like of specific goods in the photos is recognized, and the recognized information is uploaded to a block chain system so as to count the goods.
In an embodiment of this specification, the information acquisition device may include a code scanning module, and the acquisition information may specifically include code information acquired by the code scanning module.
In practical application, the information acquisition device may include a code scanning module, for example, the information acquisition device may be a device having a code scanning function, such as a code scanning gun, and the code scanning module may identify code information in the code image, for example, a two-dimensional code, a barcode, and other code images are usually pasted on goods stored in a warehouse, and information such as names, specifications, production places, manufacturers, and production dates of the goods may be recorded in the code image, and these information may be identified through the code scanning module, or the code information in the code image may be uploaded to the block chain system through the information management module. It should be noted that the specific form of the code image and the specific code information of the representation are set according to actual needs, and some or all of the code information may also be uploaded to the blockchain system according to actual needs.
The information processing method in the embodiment of the present description may be applied to a scenario of warehousing management, and specifically, the information acquisition device may be a device for acquiring cargo information for warehousing management, where the cargo information may include at least one of quantity information, name information, and location information of a cargo.
The information processing method in the embodiments of the present description may also be applied to other scenarios, for example, processing the fitness equipment itself in the fitness room and the user information recorded in the fitness equipment, and the like.
Based on the same principle, the embodiments of the present specification also provide an information processing method, and from the viewpoint of a program, an execution subject of the flow may be a program installed in a server or a terminal. From the functional perspective, the hardware device corresponding to the execution subject of the flow may be a blockchain system.
As shown in fig. 4, the process may include the following steps:
step 402: acquiring encrypted acquisition information uploaded by information management equipment; the collected information is uploaded to the information management equipment after being collected by the information collection equipment;
step 404: carrying out signature checking processing on the acquired information;
step 406: and storing the encrypted acquisition information passing the signature verification to a block chain.
In the embodiment of the present specification, the information management device may upload the encrypted acquisition information to the blockchain system, and from the viewpoint of the blockchain system, the encrypted acquisition information uploaded by the information management device may be acquired, and the encrypted acquisition information may also be subjected to signature verification, so as to ensure that the blockchain stores the security information that has not been tampered with.
Wherein, the processing of the signature verification of the collected information may specifically include:
determining an information acquisition equipment identifier of the information acquisition equipment;
searching a public key of the information acquisition equipment based on the information acquisition equipment identifier;
carrying out signature verification on the encrypted acquisition information by using the public key;
and if the signature passes the verification, calling an intelligent contract to store the encrypted acquisition information to a block chain.
In this embodiment of the present specification, the blockchain system may further perform signature verification on the uploaded information, and to ensure the security of the information on the chain, the information that passes the signature verification may be stored in the blockchain, specifically, the signature verification may be performed by using a pre-created intelligent contract, a processing function of the contract is called, an equipment identifier of the information acquisition equipment is determined, and then a public key corresponding to the information acquisition equipment is determined, the public key is used to perform signature verification on the encrypted acquisition information including the signature, and if the verification passes, the intelligent contract may be called to store the encrypted acquisition information in the blockchain.
In practical application, an intelligent contract may be generated in advance, and may include a plurality of logic processing functions, for example, the intelligent contract in the embodiment of the present specification may be a contract for recording collected information, and specifically may include a logic function pointing to a data snapshot library, where the data snapshot library may store related content of the collected information, and the block chain system may correspondingly store the collected information into a corresponding data snapshot library according to a correspondence relationship between the collected information, the information collection device, and the information management device, and may also store a public key required for signature verification into the data snapshot library; the intelligent contract may further include a logic function pointing to a device snapshot library, where the device snapshot library may store related contents of the information acquisition device and the information management device, such as a device identifier of the information acquisition device, a device identifier of the information management device, a binding relationship between the information acquisition device and the information management device, and the like.
The intelligent contract may also be created based on a preset intelligent contract template for processing the collected information, and the intelligent contract template may record processing logic for processing the collected information, and may include storage logic for storing the public key, the device information of the information collection device, the device information of the information management device, and the collected information into the blockchain, query logic for querying the stored public key, the device information of the information collection device, the device information of the information management device, and the collected information from the blockchain, logic for updating the stored information, and the like. It should be noted that the intelligent contract in the embodiment of the present specification may be created according to actual requirements, and a specific form is not limited here as long as the requirement of information processing can be met.
Based on the same principle, another information processing method is provided in the embodiments of the present specification, and fig. 5 shows an information processing method provided in the embodiments of the present specification, and from the viewpoint of a program, an execution subject of the flow may be a program installed in a server or a terminal. From the functional perspective, the hardware device corresponding to the execution subject of the flow may be an information acquisition device.
As shown in fig. 5, the method may include:
step 502: acquiring acquisition information;
step 504: encrypting the acquisition information to obtain encrypted acquisition information;
step 506: sending the encrypted acquisition information to information management equipment; the encrypted acquisition information corresponds to an information acquisition equipment identifier, and the information acquisition equipment identifier is used for the information management equipment to judge that the information acquisition equipment is a preset information acquisition equipment and upload the encrypted acquisition information to the block chain system.
In this embodiment, the information acquisition device may encrypt the acquired acquisition information and transmit the encrypted acquisition information to the information management device, so that the information management device uploads the information that passes the verification to the blockchain system. The information acquisition device may be a device with an information acquisition function, such as a barcode scanner, a camera, a sensor, and the like, and may include the same device or multiple devices.
Before sending the encrypted acquisition information to the information management device, the method may further include:
and sending a binding request to the information management equipment so as to establish a binding relationship between the information management equipment and the information acquisition equipment.
The sending of the binding request to the information management device may specifically include:
and sending the first binding code to the information management equipment so that the information acquisition equipment determines the information acquisition equipment identifier of the information acquisition equipment as a preset information acquisition equipment identifier.
After sending the first binding code to the information management apparatus, the method may further include:
receiving a second binding code sent by the information management equipment, wherein the second binding code is generated by the information management equipment on the basis of the first binding code according to a preset rule and is used for verifying the information management equipment;
judging whether the second binding code contains information representing the first binding code or not to obtain a binding judgment result;
and if the binding judgment result shows that the second binding code contains the information representing the first binding code, determining to establish a binding relationship with the information management equipment.
The method in the embodiment of the present specification may further include:
and sending an information acquisition equipment identifier to the information management equipment so that the information management equipment can search the public key corresponding to the information acquisition equipment based on the information acquisition equipment identifier.
In practical application, the information acquisition device identifier may be sent to the information management device when the first binding code is sent, may also be sent when information that binding is successful is fed back to the information management device, may also broadcast the information liniment device identifier together when a public key is broadcast, and the like, and the specific manner is not limited here as long as the information management device can obtain the information. The information management device can store the obtained information acquisition device identification and establish the corresponding relation between the information acquisition device identification and the public key broadcasted by the information acquisition device, so that the public key corresponding to the information acquisition device identification can be determined according to the information acquisition device identification.
After acquiring the acquisition information, the method may further include:
and adding a timestamp to the acquisition information, wherein the timestamp represents the acquisition time of the acquisition information and is used for verifying the acquisition information by the information management equipment.
In practical application, the acquired information can be signed and encrypted by adopting an asymmetric encryption algorithm. In this embodiment of the present description, timestamp information may be added to the collected information, a private key of the information collection device is used for signing, the signed collected information added with the timestamp is encrypted and then sent to the information management device, and the information management device may use a received public key of the information collection device to verify and sign the collected information added with the timestamp. In practical application, the information acquisition device can also sign acquired information, add timestamp information, perform encryption processing and the like. It should be noted that, the above-mentioned contents are merely used to illustrate the contents related to the timestamp information for more clearly illustrating the embodiments of the present specification, and in practical applications, other manners may also be used to add a timestamp and obtain a timestamp.
In an embodiment of this specification, the acquired information may specifically include image information acquired by an image acquisition device, and at least one of target object information, target object quantity information, and target object position information in the image information.
In an embodiment of this specification, the information acquisition device may include a code scanning module, and the acquisition information may specifically include code information acquired by the code scanning module.
In an embodiment of this specification, the information collecting device may be a device for collecting cargo information used for warehousing management, where the cargo information includes at least one of quantity information, name information, and location information of a cargo.
Based on the same idea, the embodiment of the present specification further provides a device corresponding to the above method. Fig. 6 is a schematic structural diagram of an information processing apparatus corresponding to fig. 2 provided in an embodiment of the present specification. As shown in fig. 6, the apparatus may include:
an acquired information receiving module 602, configured to receive encrypted acquired information sent by an information acquisition device;
an acquisition device determining module 604, configured to determine whether the information acquisition device is a preset information acquisition device according to an information acquisition device identifier corresponding to the encrypted acquisition information;
an information chaining module 606, configured to upload the encrypted acquisition information to the block chain system if the information acquisition device is a preset information acquisition device.
Wherein, the collection information receiving module can be further configured to:
receiving a binding request sent by the information acquisition equipment;
and establishing a binding relation with the information acquisition equipment based on the binding request.
The binding request includes a first binding code, and the establishing of the binding relationship with the information acquisition device based on the binding request specifically includes:
judging whether the first binding code is the same as a preset binding code or not;
if the first binding code is the same as the preset binding code, determining the information acquisition equipment identifier of the information acquisition equipment as a preset information acquisition equipment identifier; the preset information acquisition equipment identification is an identification which is corresponding to the preset information acquisition equipment and is used for distinguishing different preset information acquisition equipment.
Wherein, the collection information receiving module can be further configured to:
generating a second binding code according to the first binding code according to a preset rule;
and sending the second binding code to the information acquisition equipment, wherein the second binding code is used for verifying the information management equipment by the information acquisition equipment.
Based on the same idea, the embodiment of the present specification further provides a device corresponding to the above method. Fig. 7 is a schematic structural diagram of an information processing apparatus corresponding to fig. 4 provided in an embodiment of the present specification. As shown in fig. 7, the apparatus may include:
an acquisition information obtaining module 702, configured to obtain encrypted acquisition information uploaded by the information management device; the collected information is uploaded to the information management equipment after being collected by the information collection equipment;
the information signature verification module 704 is used for verifying the collected information;
an information saving module 706, configured to save the encrypted acquisition information that passes the verification to the block chain.
The information signature verification module may be specifically configured to:
determining an information acquisition equipment identifier of the information acquisition equipment;
searching a public key of the information acquisition equipment based on the information acquisition equipment identifier;
carrying out signature verification on the encrypted acquisition information by using the public key;
and if the signature passes the verification, calling an intelligent contract to store the encrypted acquisition information to a block chain.
Based on the same idea, the embodiment of the present specification further provides a device corresponding to the above method. Fig. 8 is a schematic structural diagram of an information processing apparatus corresponding to fig. 5 provided in an embodiment of the present specification. As shown in fig. 8, the apparatus may include:
an information acquisition module 802, configured to acquire acquisition information;
the information encryption module 804 is configured to encrypt the acquisition information to obtain encrypted acquisition information;
an information sending module 806, configured to send the encrypted acquisition information to an information management device; the encrypted acquisition information corresponds to an information acquisition equipment identifier, and the information acquisition equipment identifier is used for uploading the encrypted acquisition information to a block chain system when the information management equipment judges that the information acquisition equipment is preset information acquisition equipment.
The information obtaining module may be further configured to:
and sending the first binding code to the information management equipment so that the information acquisition equipment determines the information acquisition equipment identifier of the information acquisition equipment as a preset information acquisition equipment identifier.
The information obtaining module may be further configured to:
receiving a second binding code sent by the information management equipment, wherein the second binding code is generated by the information management equipment on the basis of the first binding code according to a preset rule and is used for verifying the information management equipment by the information acquisition equipment;
judging whether the second binding code contains information representing the first binding code or not to obtain a binding judgment result;
and if the binding judgment result shows that the second binding code contains the information representing the first binding code, determining to establish a binding relationship with the information management equipment.
Based on the same idea, the embodiment of the present specification further provides a device corresponding to the above method. Fig. 9 is a schematic structural diagram of an information processing apparatus provided in an embodiment of the present specification, where the apparatus shown in fig. 9 may perform at least one of the methods shown in fig. 2, fig. 4, and fig. 5.
When the apparatus illustrated in fig. 9 corresponds to the method illustrated in fig. 2, the apparatus 900 may include:
at least one processor 910; and the number of the first and second groups,
a memory 930 communicatively coupled to the at least one processor; wherein,
the memory 930 stores instructions 920 executable by the at least one processor 910 to enable the at least one processor 910 to:
receiving encrypted acquisition information sent by information acquisition equipment;
judging whether the information acquisition equipment is preset information acquisition equipment or not according to the information acquisition equipment identification corresponding to the encrypted acquisition information;
and if the information acquisition equipment is preset information acquisition equipment, uploading the encrypted acquisition information to the block chain system.
When the apparatus illustrated in fig. 9 corresponds to the method illustrated in fig. 4, the apparatus 900 may include:
at least one processor 910; and the number of the first and second groups,
a memory 930 communicatively coupled to the at least one processor; wherein,
the memory 930 stores instructions 920 executable by the at least one processor 910 to enable the at least one processor 910 to:
acquiring encrypted acquisition information uploaded by information management equipment; the collected information is uploaded to the information management equipment after being collected by the information collection equipment;
carrying out signature checking processing on the acquired information;
and storing the encrypted acquisition information passing the signature verification to a block chain.
When the apparatus illustrated in fig. 9 corresponds to the method illustrated in fig. 5, the apparatus 900 may include:
at least one processor 910; and the number of the first and second groups,
a memory 930 communicatively coupled to the at least one processor; wherein,
the memory 930 stores instructions 920 executable by the at least one processor 910 to enable the at least one processor 910 to:
acquiring acquisition information;
encrypting the acquisition information to obtain encrypted acquisition information;
sending the encrypted acquisition information to information management equipment; the encrypted acquisition information corresponds to an information acquisition equipment identifier, and the information acquisition equipment identifier is used for uploading the encrypted acquisition information to a block chain system when the information management equipment judges that the information acquisition equipment is preset information acquisition equipment.
Embodiments of the present specification may also provide a computer readable medium having stored thereon computer readable instructions executable by a processor to implement an information processing method corresponding to at least one of the methods shown in fig. 2, 4, and 5.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The apparatus, the device, the nonvolatile computer storage medium, and the method provided in the embodiments of the present specification correspond to each other, and therefore, the apparatus, the device, and the nonvolatile computer storage medium also have advantageous technical effects similar to those of the corresponding method.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardsradware (Hardware Description Language), vhjhd (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, 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 convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
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, and the like) 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 of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, 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 Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises 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 memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (34)

1. An information processing method comprising:
receiving encrypted acquisition information sent by information acquisition equipment;
judging whether the information acquisition equipment is preset information acquisition equipment or not according to the information acquisition equipment identification corresponding to the encrypted acquisition information;
and if the information acquisition equipment is preset information acquisition equipment, uploading the encrypted acquisition information to the block chain system.
2. The method of claim 1, wherein before receiving the encrypted acquisition information sent by the information acquisition device, the method further comprises:
receiving a binding request sent by the information acquisition equipment;
and establishing a binding relation with the information acquisition equipment based on the binding request.
3. The method according to claim 2, wherein the binding request includes a first binding code, and the establishing of the binding relationship with the information acquisition device based on the binding request specifically includes:
judging whether the first binding code is the same as a preset binding code or not;
and if the first binding code is the same as the preset binding code, determining the information acquisition equipment identifier of the information acquisition equipment as a preset information acquisition equipment identifier.
4. The method according to claim 3, wherein the determining whether the information collecting device is a preset information collecting device specifically includes:
and judging whether the information acquisition equipment identification of the information acquisition equipment is the same as the preset information acquisition equipment identification.
5. The method of claim 3, after determining the information acquisition device identifier of the information acquisition device as the preset information acquisition device identifier, further comprising:
generating a second binding code according to the first binding code according to a preset rule;
and sending the second binding code to the information acquisition equipment, wherein the second binding code is used for verifying the information management equipment by the information acquisition equipment.
6. The method of claim 1, before uploading the encrypted acquisition information to a blockchain system, further comprising:
acquiring the information acquisition equipment identification of the information acquisition equipment;
searching a public key of the information acquisition equipment based on the information acquisition equipment identifier;
based on the public key, performing signature verification on the encrypted acquisition information, and judging whether the encrypted acquisition information is transmitted to the information management device by the information acquisition device;
and if the signature passes the verification, uploading the encrypted acquisition information to a block chain system.
7. The method of claim 2, before uploading the encrypted acquisition information to a blockchain system, further comprising:
acquiring a timestamp of the encrypted acquisition information;
judging whether the time difference between the time represented by the timestamp and the time when the information management equipment acquires the timestamp is less than or equal to a preset time difference;
and if the time difference between the time represented by the timestamp and the time of acquiring the timestamp by the information management equipment is less than or equal to the preset time difference, uploading the encrypted acquisition information to a block chain system.
8. The method of claim 1, further comprising:
acquiring a hash value of the data on the link generated according to the encrypted acquisition information;
generating incidence relation data among the hash value, the information acquisition equipment identifier and the information management equipment identifier;
and storing the incidence relation data.
9. The method according to claim 1, wherein the acquired information specifically includes image information acquired by an image acquisition device, and at least one of target information, target quantity information, and target position information in the image information.
10. The method according to claim 1, wherein the information acquisition device comprises a code scanning module, and the acquisition information specifically comprises code information acquired by the code scanning module.
11. 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 comprises at least one of quantity information, name information and position information of the cargo.
12. An information processing method comprising:
acquiring encrypted acquisition information uploaded by information management equipment; the collected information is uploaded to the information management equipment after being collected by the information collection equipment;
carrying out signature checking processing on the acquired information;
and storing the encrypted acquisition information passing the signature verification to a block chain.
13. The method according to claim 12, wherein the performing of the signature verification processing on the collected information specifically includes:
determining an information acquisition equipment identifier of the information acquisition equipment;
searching a public key of the information acquisition equipment based on the information acquisition equipment identifier;
carrying out signature verification on the encrypted acquisition information by using the public key;
and if the signature passes the verification, calling an intelligent contract to store the encrypted acquisition information to a block chain.
14. An information processing method comprising:
acquiring acquisition information;
encrypting the acquisition information to obtain encrypted acquisition information;
sending the encrypted acquisition information to information management equipment; the encrypted acquisition information corresponds to an information acquisition equipment identifier, and the information acquisition equipment identifier is used for uploading the encrypted acquisition information to a block chain system when the information management equipment judges that the information acquisition equipment is preset information acquisition equipment.
15. The method of claim 14, before sending the encrypted collection information to an information management device, further comprising:
and sending a binding request to the information management equipment so as to establish a binding relationship between the information management equipment and the information acquisition equipment.
16. The method according to claim 15, wherein the binding request includes a first binding code, and the sending the binding request to the information management device specifically includes:
and sending the first binding code to the information management equipment so that the information acquisition equipment determines the information acquisition equipment identifier of the information acquisition equipment as a preset information acquisition equipment identifier.
17. The method of claim 16, after said sending the first binding code to the information management device, further comprising:
receiving a second binding code sent by the information management equipment, wherein the second binding code is generated by the information management equipment on the basis of the first binding code according to a preset rule and is used for verifying the information management equipment by the information acquisition equipment;
judging whether the second binding code contains information representing the first binding code or not to obtain a binding judgment result;
and if the binding judgment result shows that the second binding code contains the information representing the first binding code, determining to establish a binding relationship with the information management equipment.
18. The method of claim 14, further comprising:
and sending an information acquisition equipment identifier to the information management equipment so that the information management equipment can search the public key of the information acquisition equipment based on the information acquisition equipment identifier.
19. The method of claim 14, after obtaining the acquisition information, further comprising:
and adding a timestamp to the acquisition information, wherein the timestamp represents the acquisition time of the acquisition information and is used for verifying the acquisition information by the information management equipment.
20. The method according to claim 14, wherein the acquired information specifically includes image information acquired by an image acquisition device, and at least one of target information, target quantity information, and target position information in the image information.
21. The method according to claim 14, wherein the information collecting device comprises a code scanning module, and the collected information specifically comprises code information collected by the code scanning module.
22. The method according to claim 14, 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 position information of the cargo.
23. An information processing apparatus comprising:
the acquisition information receiving module is used for receiving the encrypted acquisition information sent by the information acquisition equipment;
the acquisition equipment judgment module is used for judging whether the information acquisition equipment is preset information acquisition equipment or not according to the information acquisition equipment identification corresponding to the encrypted acquisition information;
and the information chaining module is used for uploading the encrypted acquisition information to the block chain system if the information acquisition equipment is preset information acquisition equipment.
24. The apparatus of claim 23, the acquisition information receiving module further configured to:
receiving a binding request sent by the information acquisition equipment;
and establishing a binding relation with the information acquisition equipment based on the binding request.
25. The apparatus according to claim 24, wherein the binding request includes a first binding code, and the establishing a binding relationship with the information collecting device based on the binding request specifically includes:
judging whether the first binding code is the same as a preset binding code or not;
and if the first binding code is the same as the preset binding code, determining the information acquisition equipment identifier of the information acquisition equipment as a preset information acquisition equipment identifier.
26. The apparatus of claim 25, the acquisition information receiving module further configured to:
generating a second binding code according to the first binding code according to a preset rule;
and sending the second binding code to the information acquisition equipment, wherein the second binding code is used for verifying the information management equipment by the information acquisition equipment.
27. An information processing apparatus comprising:
the acquisition information acquisition module is used for acquiring the encrypted acquisition information uploaded by the information management equipment; the collected information is uploaded to the information management equipment after being collected by the information collection equipment;
the information label checking module is used for checking the collected information;
and the information storage module is used for storing the encrypted acquisition information passing the signature verification to the block chain.
28. The apparatus of claim 27, wherein the information-signature-verification module is specifically configured to:
determining an information acquisition equipment identifier of the information acquisition equipment;
searching a public key of the information acquisition equipment based on the information acquisition equipment identifier;
carrying out signature verification on the encrypted acquisition information by using the public key;
and if the signature passes the verification, calling an intelligent contract to store the encrypted acquisition information to a block chain.
29. An information processing apparatus comprising:
the information acquisition module is used for acquiring the acquired information;
the information encryption module is used for encrypting the acquisition information to obtain the encrypted acquisition information;
the information sending module is used for sending the encrypted acquisition information to the information management equipment; the encrypted acquisition information corresponds to an information acquisition equipment identifier, and the information acquisition equipment identifier is used for uploading the encrypted acquisition information to a block chain system when the information management equipment judges that the information acquisition equipment is preset information acquisition equipment.
30. The apparatus of claim 29, the information acquisition module further configured to:
and sending the first binding code to the information management equipment so that the information acquisition equipment determines the information acquisition equipment identifier of the information acquisition equipment as a preset information acquisition equipment identifier.
31. The apparatus of claim 30, the information acquisition module further configured to:
receiving a second binding code sent by the information management equipment, wherein the second binding code is generated by the information management equipment on the basis of the first binding code according to a preset rule and is used for verifying the information management equipment by the information acquisition equipment;
judging whether the second binding code contains information representing the first binding code or not to obtain a binding judgment result;
and if the binding judgment result shows that the second binding code contains the information representing the first binding code, determining to establish a binding relationship with the information management equipment.
32. An information processing apparatus comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
receiving encrypted acquisition information sent by information acquisition equipment;
judging whether the information acquisition equipment is preset information acquisition equipment or not according to the information acquisition equipment identification corresponding to the encrypted acquisition information;
and if the information acquisition equipment is preset information acquisition equipment, uploading the encrypted acquisition information to the block chain system.
33. An information processing apparatus comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring encrypted acquisition information uploaded by information management equipment; the collected information is uploaded to the information management equipment after being collected by the information collection equipment;
carrying out signature checking processing on the acquired information;
and storing the encrypted acquisition information passing the signature verification to a block chain.
34. An information processing apparatus comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring acquisition information;
encrypting the acquisition information to obtain encrypted acquisition information;
sending the encrypted acquisition information to information management equipment; the encrypted acquisition information corresponds to an information acquisition equipment identifier, and the information acquisition equipment identifier is used for uploading the encrypted acquisition information to a block chain system when the information management equipment judges that the information acquisition equipment is preset information acquisition equipment.
CN202010329555.6A 2020-04-24 2020-04-24 Information processing method, device and equipment Active CN111241569B (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

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

Related Child Applications (1)

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

Publications (2)

Publication Number Publication Date
CN111241569A true CN111241569A (en) 2020-06-05
CN111241569B 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 Information processing method, device and equipment
CN202110533023.9A Pending CN113221143A (en) 2020-04-24 2020-04-24 Information processing method, device and equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202110533023.9A Pending CN113221143A (en) 2020-04-24 2020-04-24 Information processing method, device and equipment

Country Status (1)

Country Link
CN (2) CN111241569B (en)

Cited By (8)

* 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
CN112465516A (en) * 2021-02-02 2021-03-09 腾讯科技(深圳)有限公司 Block chain network-based device management method, related device and storage medium
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
CN114500574A (en) * 2021-12-24 2022-05-13 山东浪潮工业互联网产业股份有限公司 Monitoring method, device and medium for improving grain depot safety based on block chain
WO2022179429A1 (en) * 2021-02-26 2022-09-01 支付宝(杭州)信息技术有限公司 Data storage of iot device based on blockchain
CN115001851A (en) * 2022-07-15 2022-09-02 深圳市信润富联数字科技有限公司 Data acquisition docking method, device, equipment and storage medium
CN116684207A (en) * 2023-08-03 2023-09-01 杭州字节方舟科技有限公司 Method, device, equipment and medium for processing monitoring data based on blockchain

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975868A (en) * 2016-04-29 2016-09-28 杭州云象网络技术有限公司 Block chain-based evidence preservation method and apparatus
CN106973054A (en) * 2017-03-29 2017-07-21 山东超越数控电子有限公司 A kind of operating system login authentication method and system based on credible platform
CN107404477A (en) * 2017-06-30 2017-11-28 海航创新科技研究有限公司 Container operation data sending method and device, method of reseptance and device
CN109559136A (en) * 2018-11-28 2019-04-02 中国医学科学院药用植物研究所 Information management system and method
CN110503362A (en) * 2019-08-01 2019-11-26 深圳市珍久库科技有限公司 A kind of intelligent repository management method and system based on block chain
CN110535647A (en) * 2018-05-25 2019-12-03 上海诚频信息科技合伙企业(有限合伙) Believable data transmission method, system, electronic equipment, storage medium
CN110827028A (en) * 2019-11-07 2020-02-21 湖北邮电规划设计有限公司 Data acquisition and transaction system and method based on block chain

Family Cites Families (13)

* 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
CN109302415B (en) * 2018-11-09 2019-11-01 四川虹微技术有限公司 A kind of authentication method, block chain node and storage medium
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
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
CN110995710B (en) * 2019-12-05 2021-12-07 江苏恒宝智能系统技术有限公司 Smart home authentication method based on eUICC
CN111047313B (en) * 2020-03-12 2020-12-04 支付宝(杭州)信息技术有限公司 Code scanning payment, information sending and key management method, device and equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975868A (en) * 2016-04-29 2016-09-28 杭州云象网络技术有限公司 Block chain-based evidence preservation method and apparatus
CN106973054A (en) * 2017-03-29 2017-07-21 山东超越数控电子有限公司 A kind of operating system login authentication method and system based on credible platform
CN107404477A (en) * 2017-06-30 2017-11-28 海航创新科技研究有限公司 Container operation data sending method and device, method of reseptance and device
CN110535647A (en) * 2018-05-25 2019-12-03 上海诚频信息科技合伙企业(有限合伙) Believable data transmission method, system, electronic equipment, storage medium
CN109559136A (en) * 2018-11-28 2019-04-02 中国医学科学院药用植物研究所 Information management system and method
CN110503362A (en) * 2019-08-01 2019-11-26 深圳市珍久库科技有限公司 A kind of intelligent repository management method and system based on block chain
CN110827028A (en) * 2019-11-07 2020-02-21 湖北邮电规划设计有限公司 Data acquisition and transaction system and method based on block chain

Cited By (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
CN112465516A (en) * 2021-02-02 2021-03-09 腾讯科技(深圳)有限公司 Block chain network-based device management method, related device and storage medium
CN112465516B (en) * 2021-02-02 2021-04-20 腾讯科技(深圳)有限公司 Block chain network-based device management method, related device and storage medium
WO2022179429A1 (en) * 2021-02-26 2022-09-01 支付宝(杭州)信息技术有限公司 Data storage of iot device based on blockchain
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
CN114500574A (en) * 2021-12-24 2022-05-13 山东浪潮工业互联网产业股份有限公司 Monitoring method, device and medium for improving grain depot safety based on block chain
CN115001851A (en) * 2022-07-15 2022-09-02 深圳市信润富联数字科技有限公司 Data acquisition docking method, device, equipment and storage medium
CN116684207A (en) * 2023-08-03 2023-09-01 杭州字节方舟科技有限公司 Method, device, equipment and medium for processing monitoring data based on blockchain
CN116684207B (en) * 2023-08-03 2023-10-20 杭州字节方舟科技有限公司 Method, device, equipment and medium for processing monitoring data based on blockchain

Also Published As

Publication number Publication date
CN113221143A (en) 2021-08-06
CN111241569B (en) 2021-03-30

Similar Documents

Publication Publication Date Title
CN111241569B (en) Information processing method, device and equipment
US20210027289A1 (en) Asset transaction method, storage medium, and computer device
US11902601B2 (en) System and techniques for digital data lineage verification
CN110035105B (en) Screen recording evidence obtaining method and system based on block chain and electronic equipment
CN109347839B (en) Centralized password management method and device, electronic equipment and computer storage medium
CN111314172B (en) Block chain-based data processing method, device, equipment and storage medium
CN104199654A (en) Open platform calling method and device
CN111597567B (en) Data processing method, data processing device, node equipment and storage medium
CN110598433B (en) Block chain-based anti-fake information processing method and device
CN110309669B (en) Data labeling method, device and equipment
CN110445765B (en) Data sharing method based on block chain, terminal device and medium
CN114465790B (en) Method, device and equipment for processing IP content library service
CN111340483A (en) Data management method based on block chain and related equipment
CN115130075A (en) Digital signature method and device, electronic equipment and storage medium
CN114780923A (en) Electronic seal management and control method and system
CN103559430B (en) application account management method and device based on Android system
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
CN111198862A (en) File storage method and device based on block chain, terminal equipment and medium
CN110602051B (en) Information processing method based on consensus protocol and related device
CN110474968B (en) Self-adaptive sensing type block chain mixed consensus mechanism structure and method thereof
CN113792346A (en) Trusted data processing method, device and equipment
CN112163036A (en) Block chain information construction and query method and related device
CN116800535A (en) Method and device for avoiding secret between multiple servers
CN112291321A (en) Service processing method, device and system

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