CN115550376A - Internet of things data chaining method and system based on terminal equipment - Google Patents

Internet of things data chaining method and system based on terminal equipment Download PDF

Info

Publication number
CN115550376A
CN115550376A CN202211114902.9A CN202211114902A CN115550376A CN 115550376 A CN115550376 A CN 115550376A CN 202211114902 A CN202211114902 A CN 202211114902A CN 115550376 A CN115550376 A CN 115550376A
Authority
CN
China
Prior art keywords
internet
block chain
things
uplink request
data
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.)
Pending
Application number
CN202211114902.9A
Other languages
Chinese (zh)
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.)
Sinochem Agriculture Holdings
Original Assignee
Sinochem Agriculture Holdings
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 Sinochem Agriculture Holdings filed Critical Sinochem Agriculture Holdings
Priority to CN202211114902.9A priority Critical patent/CN115550376A/en
Priority to PCT/CN2022/132099 priority patent/WO2024055407A1/en
Publication of CN115550376A publication Critical patent/CN115550376A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer And Data Communications (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention relates to a terminal equipment-based Internet of things data chaining method and system, and belongs to the technical field of Internet of things. The method comprises the following steps: the method comprises the steps that a block chain Internet of things terminal acquires Internet of things data to obtain acquired data; the block chain Internet of things terminal processes the acquired data to form a chaining request; and the block chain Internet of things terminal signs the uplink request to obtain a signature value, and sends the uplink request and the signature value to a block chain node of a block chain platform. The method realizes automatic collection of the traceability data, realizes automatic uploading association of the Internet of things terminal, prevents data from being tampered through a cryptographic technology, ensures authenticity of uplink data, solves the problem that the source data of the blockchain traceability is not trusted, and reduces the block chain traceability information acquisition cost.

Description

Internet of things data chaining method and system based on terminal equipment
Technical Field
The invention belongs to the technical field of Internet of things, and particularly relates to a terminal equipment-based Internet of things data chaining method and system.
Background
The block chain is a chain formed by blocks. Each block holds certain information, which are linked in a chain according to a respective generated time sequence. This chain is maintained in all servers, and as long as one server can work in the entire system, the entire blockchain is secure. These servers, referred to as nodes in the blockchain system, provide storage space and computational support for the entire blockchain system. If the information in the block chain is to be modified, more than half of the nodes must be authenticated and the information in all the nodes must be modified, and the nodes are usually held in different hands of different subjects, so that the information in the block chain is extremely difficult to tamper with. Compared with the traditional network, the block chain has two core characteristics: firstly, data is difficult to tamper, and secondly, decentralization is performed. Based on the two characteristics, the information recorded by the block chain is more real and reliable, and the problem that people do not trust each other can be solved.
The tracing based on the block chain is realized by using a record mode of block chain decentralization, starting products from information of a raw material supplier, key nodes in the storage and production processes in a factory and detection and inspection information after finished products, generating a unique and encrypted hash value through a hash algorithm, and then performing chain storage. Based on the principle of the block chain, all the uploaded data of the block chain cannot be randomly modified by a third party or any party, and the cost is greatly reduced on the trust level.
One of the targets of product tracing and product source tracing is to know the source condition of a product, and if the data of raw material, processing and quality inspection information at the source has problems, the uplink data cannot be tampered without changing the essence of the product, which is one of the core problems faced by block chain source tracing.
The internet of things equipment can acquire real data of one hand, but due to the consideration of technical difficulty and cost, the data of the internet of things equipment is generally summarized to a third-party IOT platform in the industry, and then the platform carries out data chaining. In this way, both data transmission and data packet uplink have the possibility of being tampered, and the security cannot be guaranteed.
Disclosure of Invention
The invention mainly aims to overcome the defects of the prior art and provide an Internet of things data chaining method and system based on terminal equipment.
According to an aspect of the present invention, the present invention provides a terminal device-based data uplink method for internet of things, the method comprising the following steps:
s1: the method comprises the steps that a block chain Internet of things terminal acquires Internet of things data to obtain acquired data;
s2: the block chain Internet of things terminal processes the acquired data to form a chain loading request;
s3: and the block chain Internet of things terminal signs the uplink request to obtain a signature value, and sends the uplink request and the signature value to a block chain node of a block chain platform.
Preferably, the processing of the acquired data by the block chain internet of things terminal to form a cochain request includes:
and the block chain Internet of things terminal generates a hash value of the acquired data, and the acquired data, the hash value of the acquired data and the equipment number of the block chain Internet of things terminal form a chaining request.
Preferably, the signing, by the block chain internet of things terminal, the uplink request to obtain a signature value includes:
and the block chain Internet of things terminal signs the uplink request by using a private key of the block chain Internet of things terminal.
Preferably, after the sending the uplink request and the signature value to the block link point of the block link platform, the method further comprises:
and after receiving the uplink request and the signature value, the blockchain node verifies the signature value of the uplink request by using a public key of the blockchain internet of things terminal, discards the uplink request if the verification fails, and adds the uplink request to a blockchain transaction queue for uplink processing if the verification passes.
Preferably, the method further comprises:
and the block chain Internet of things terminal sends the acquired data to an Internet of things platform.
According to another aspect of the invention, the invention further provides an internet of things data uplink system based on terminal equipment, and the system comprises a block chain platform and a block chain internet of things terminal, wherein the block chain platform comprises at least one block chain node, and the block chain internet of things terminal comprises a collector, a password chip and a block chain client; wherein,
the collector collects the Internet of things data to obtain collected data;
the collector calls the password chip to process the collected data to form a chain loading request, and the chain loading request is sent to the block chain client;
and the block chain client signs the uplink request to obtain a signature value, and sends the uplink request and the signature value to the block chain node.
Preferably, the step of the collector calling the cryptographic chip to process the collected data to form a cochain request includes:
and the collector calls the password chip to generate a hash value of the collected data, and the collected data, the hash value of the collected data and the equipment number of the block chain Internet of things terminal form a chaining request.
Preferably, the signing, by the blockchain client, of the uplink request to obtain a signature value includes:
and the blockchain client signs the uplink request by using a private key of the blockchain Internet of things terminal.
Preferably, after sending the uplink request and the signature value to the blockchain node, the blockchain node is further configured to:
after the uplink request and the signature value are received, the public key of the block chain Internet of things terminal is used for verifying the signature value of the uplink request, if the verification is not passed, the uplink request is discarded, and if the verification is passed, the uplink request is added to a block chain transaction queue for uplink processing.
Preferably, the system further comprises an internet of things platform, the blockchain internet of things terminal further comprises an internet of things client, wherein,
and the Internet of things client sends the acquired data to the Internet of things platform.
Has the advantages that:
(1) The traceability system is improved through the technology of the Internet of things, so that the real reliability of the block chain source data can be ensured, and the problem that the block chain traceability source information is not credible is solved;
(2) Data tampering is prevented through a cryptographic technology, and data credibility in the network transmission process of the block chain traceability system is guaranteed;
(3) The acquired dynamic information is automatically uploaded through the block chain Internet of things equipment, and the dynamic traceability information acquisition cost can be reduced.
The features and advantages of the present invention will become apparent by reference to the following drawings and detailed description of specific embodiments of the invention.
Drawings
Fig. 1 is a flowchart of a data uplink method of the internet of things based on a terminal device;
fig. 2 is a schematic diagram of a terminal equipment-based data uplink system of the internet of things.
Detailed Description
The technical solutions in the embodiments of the present invention are clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all 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 invention.
Example 1
Fig. 1 is a flowchart of a data uplink method of the internet of things based on a terminal device. As shown in fig. 1, the present invention provides a terminal device-based data uplink method for internet of things, including the following steps:
s1: and the block chain Internet of things terminal acquires the Internet of things data to obtain acquired data.
Specifically, a collector of the block chain internet of things terminal collects uplink data from the video equipment at regular time to obtain collected data. The collector is responsible for automatically collecting traceability information such as production, processing, quality inspection and the like from video equipment.
Using a block chain internet of things terminal to collect traceability information for chaining, arranging a password chip and an equipment private key in the internet of things terminal, and setting a chaining precondition as follows:
(1) The block chain Internet of things terminal network connection is available and can be connected with the block chain nodes;
(2) A public and private key pair is generated or injected into the block chain Internet of things terminal;
(3) A public key and an equipment number of a block chain Internet of things terminal are registered on a block chain platform;
s2: and the block chain Internet of things terminal processes the acquired data to form a chain loading request.
Preferably, the processing the acquired data by the block chain internet of things terminal to form a uplink request includes:
and the block chain Internet of things terminal generates a hash value of the acquired data, and the acquired data, the hash value of the acquired data and the equipment number of the block chain Internet of things terminal form a chaining request.
Specifically, a collector in the blockchain internet of things terminal calls a password chip in the blockchain internet of things terminal to generate a collected data hash value, then the collected data, the collected data hash value and a blockchain internet of things terminal equipment number form an uplink request, and the uplink request is sent to a blockchain client in the blockchain internet of things terminal. The password chip is used for generating, storing and updating public and private keys of the Internet of things terminal and executing cryptography operation; the block chain client provides a source data chaining function, can call the password chip to sign the acquired data of the collector, and sends the data to the block chain node through the network to execute a chaining operation. The hash operation is a mathematical calculation program that converts an input of an arbitrary length into an output of a fixed length by a hash algorithm, and the output is a hash value.
S3: and the block chain Internet of things terminal signs the uplink request to obtain a signature value, and sends the uplink request and the signature value to a block chain node of a block chain platform.
Preferably, the signing, by the block chain internet of things terminal, the uplink request to obtain a signature value includes: and the block chain Internet of things terminal signs the uplink request by using a private key of the block chain Internet of things terminal.
Specifically, after receiving the uplink request sent by the collector, the block chain client in the block chain internet of things terminal signs the uplink request by using a private key of the block chain internet of things terminal. The signature is a process of generating a signature value, the signature value is a section of digital string which can be generated only by a sender of information and cannot be forged by others, the section of digital string is also an effective proof of the authenticity of the information sent by the sender of the information, the sender firstly calculates the hash value of the sent content by using hash operation, then encrypts the hash value by using a private key of the sender, and the encrypted digital string is the signature value.
Preferably, after the sending the uplink request and the signature value to the block link point of the block link platform, the method further comprises:
and after receiving the uplink request and the signature value, the blockchain node verifies the signature value of the uplink request by using a public key of the blockchain internet of things terminal, discards the uplink request if the verification fails, and adds the uplink request to a blockchain transaction queue for uplink processing if the verification passes.
Specifically, the process of verifying the signature is to verify the signature value, after the receiver receives the sending content and the signature value, the hash value of the received content is calculated by using hash operation, then the public key of the sender is used for decrypting the signature value, and the other hash value is decrypted.
Preferably, the method further comprises:
and the block chain Internet of things terminal sends the acquired data to an Internet of things platform.
Specifically, the block chain internet of things terminal comprises an internet of things client, the collector sends the acquired internet of things data to the internet of things client, and the internet of things client sends the acquired data to the internet of things platform for storage.
In the embodiment, the traceability system is improved through the internet of things technology, so that the real reliability of the block chain source data can be ensured, and the problem that the block chain traceability source information is not credible is solved; data tampering is prevented through a cryptographic technology, and data credibility in the network transmission process of the block chain traceability system is guaranteed; the acquired dynamic information is automatically uploaded through the block chain Internet of things equipment, and the dynamic traceability information acquisition cost can be reduced.
Example 2
Fig. 2 is a schematic diagram of a terminal equipment-based data uplink system of the internet of things. As shown in fig. 2, this embodiment further provides an internet of things data uplink system based on a terminal device, where the system includes a block chain platform and a block chain internet of things terminal, where the block chain platform includes at least one block chain node, and the block chain internet of things terminal includes a collector, a cipher chip, and a block chain client; wherein,
the collector collects the Internet of things data to obtain collected data;
the collector calls the password chip to process the collected data to form a chain loading request, and the chain loading request is sent to the block chain client;
and the block chain client signs the uplink request to obtain a signature value, and sends the uplink request and the signature value to the block chain node.
Preferably, the step of the collector calling the cryptographic chip to process the collected data to form a cochain request includes:
and the collector calls the password chip to generate a hash value of the collected data, and the collected data, the hash value of the collected data and the equipment number of the block chain Internet of things terminal form a chaining request.
Preferably, the signing, by the blockchain client, of the uplink request to obtain a signature value includes:
and the blockchain client signs the uplink request by using a private key of the blockchain Internet of things terminal.
Preferably, after sending the uplink request and the signature value to the blockchain node, the blockchain node is further configured to:
after the uplink request and the signature value are received, the public key of the block chain Internet of things terminal is used for verifying the signature value of the uplink request, if the verification is not passed, the uplink request is discarded, and if the verification is passed, the uplink request is added to a block chain transaction queue for uplink processing.
Preferably, the system further comprises an internet of things platform, the blockchain internet of things terminal further comprises an internet of things client, wherein,
and the Internet of things client sends the acquired data to the Internet of things platform.
In this embodiment 2, the specific implementation process of each component of the blockchain internet-of-things terminal and the function implemented by the blockchain node is the same as that in embodiment 1, and is not described herein again.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A terminal equipment-based Internet of things data uplink method is characterized by comprising the following steps:
s1: the method comprises the steps that a block chain Internet of things terminal acquires Internet of things data to obtain acquired data;
s2: the block chain Internet of things terminal processes the acquired data to form a chain loading request;
s3: and the block chain Internet of things terminal signs the uplink request to obtain a signature value, and sends the uplink request and the signature value to a block chain node of a block chain platform.
2. The method of claim 1, wherein the processing of the acquired data by the blockchain internet of things terminal to form an uplink request comprises:
and the block chain Internet of things terminal generates a hash value of the acquired data, and the acquired data, the hash value of the acquired data and the equipment number of the block chain Internet of things terminal form a chaining request.
3. The method of claim 2, wherein signing the uplink request by the blockchain internet of things terminal to obtain a signature value comprises:
and the block chain Internet of things terminal signs the uplink request by using a private key of the block chain Internet of things terminal.
4. The method of claim 3, wherein after sending the uplink request and the signature value to a block link point of a block chain platform, the method further comprises:
and after receiving the uplink request and the signature value, the blockchain node verifies the signature value of the uplink request by using a public key of the blockchain internet of things terminal, discards the uplink request if the verification fails, and adds the uplink request to a blockchain transaction queue for uplink processing if the verification passes.
5. The method of claim 4, further comprising:
and the block chain Internet of things terminal sends the acquired data to an Internet of things platform.
6. The Internet of things data uplink system based on terminal equipment is characterized by comprising a block chain platform and a block chain Internet of things terminal, wherein the block chain platform comprises at least one block chain node, and the block chain Internet of things terminal comprises a collector, a password chip and a block chain client; wherein,
the collector collects the Internet of things data to obtain collected data;
the collector calls the password chip to process the collected data to form an uplink request, and the uplink request is sent to the block chain client;
and the block chain client signs the uplink request to obtain a signature value, and sends the uplink request and the signature value to the block chain node.
7. The system of claim 6, wherein the collector invokes the cryptographic chip to process the collected data to form an uplink request comprising:
and the collector calls the password chip to generate a hash value of the collected data, and the collected data, the hash value of the collected data and the equipment number of the block chain Internet of things terminal form an uplink request.
8. The system of claim 7, wherein the signing of the uplink request by the blockchain client to obtain a signature value comprises:
and the blockchain client signs the uplink request by using a private key of the blockchain Internet of things terminal.
9. The system of claim 8 wherein after sending the uplink request and the signature value to the blockchain node, the blockchain node is further configured to:
after the uplink request and the signature value are received, the public key of the block chain Internet of things terminal is used for verifying the signature value of the uplink request, if the verification is not passed, the uplink request is discarded, and if the verification is passed, the uplink request is added to a block chain transaction queue for uplink processing.
10. The system of claim 9, further comprising an Internet of things platform, wherein the blockchain Internet of things terminal further comprises an Internet of things client, wherein,
and the Internet of things client sends the acquired data to the Internet of things platform.
CN202211114902.9A 2022-09-14 2022-09-14 Internet of things data chaining method and system based on terminal equipment Pending CN115550376A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211114902.9A CN115550376A (en) 2022-09-14 2022-09-14 Internet of things data chaining method and system based on terminal equipment
PCT/CN2022/132099 WO2024055407A1 (en) 2022-09-14 2022-11-15 Internet of things data on-chain method and system based on terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211114902.9A CN115550376A (en) 2022-09-14 2022-09-14 Internet of things data chaining method and system based on terminal equipment

Publications (1)

Publication Number Publication Date
CN115550376A true CN115550376A (en) 2022-12-30

Family

ID=84726844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211114902.9A Pending CN115550376A (en) 2022-09-14 2022-09-14 Internet of things data chaining method and system based on terminal equipment

Country Status (2)

Country Link
CN (1) CN115550376A (en)
WO (1) WO2024055407A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117579256A (en) * 2023-10-12 2024-02-20 智慧工地科技(广东)有限公司 Internet of things data management method and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109936457B (en) * 2019-02-20 2022-04-26 深圳前海微众银行股份有限公司 Block chain multi-party witness method, device, equipment and computer readable storage medium
CN110011793A (en) * 2019-04-03 2019-07-12 上海中商网络股份有限公司 Anti-fake data processing method of tracing to the source, device, equipment and medium
CN111325564B (en) * 2020-03-17 2024-02-02 河南佼荣网络科技有限公司 Method and system for realizing supply chain tracing by using block chain
CN111552738B (en) * 2020-04-20 2023-11-03 山东共智云科技发展有限公司 Block chain ecological system and block chain uplink method based on Internet of things
WO2022141058A1 (en) * 2020-12-29 2022-07-07 合肥达朴汇联科技有限公司 Blockchain auditing and traceability method and system, electronic device and storage medium
CN113067703B (en) * 2021-03-19 2022-09-20 上海摩联信息技术有限公司 Terminal equipment data uplink method and system
CN114465729B (en) * 2021-12-16 2024-07-26 浙商银行股份有限公司 Internet of things data management method and system based on blockchain technology
CN114827150B (en) * 2022-04-29 2023-11-21 国网安徽省电力有限公司电力科学研究院 Internet of things terminal data uplink adaptation method, system and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117579256A (en) * 2023-10-12 2024-02-20 智慧工地科技(广东)有限公司 Internet of things data management method and device
CN117579256B (en) * 2023-10-12 2024-04-23 智慧工地科技(广东)有限公司 Internet of things data management method and device

Also Published As

Publication number Publication date
WO2024055407A1 (en) 2024-03-21

Similar Documents

Publication Publication Date Title
Sumagita et al. Analysis of secure hash algorithm (SHA) 512 for encryption process on web based application
CN107517194B (en) Return source authentication method and device of content distribution network
CN106713336A (en) Electronic data safekeeping system and method based on double and asymmetric encryption technology
CN112749232A (en) Production data monitoring method and device, block chain node and storage medium
CN110597836A (en) Information query request response method and device based on block chain network
CN113747426B (en) Data auditing method and system, electronic equipment and storage medium
CN114830572A (en) Data transmission method, device, equipment, system and storage medium
CN114448641A (en) Privacy encryption method, electronic equipment, storage medium and chip
CN115085905A (en) Transaction data evidence checking method, device, equipment and medium based on block chain
CN112954039A (en) Block chain evidence storage method
CN110224824B (en) Digital certificate processing method and device, computer equipment and storage medium
CN115550376A (en) Internet of things data chaining method and system based on terminal equipment
TWI773161B (en) Digital signature private key verification method
CN115296807B (en) Key generation method, device and equipment for preventing industrial control network viruses
CN114301643A (en) Electronic data authentication encryption transmission method
CN109981289B (en) Batch authentication method of elliptic curve digital signature algorithm under implicit certificate
CN113326527A (en) Credible digital signature system and method based on block chain
CN114679284A (en) Trusted remote attestation system, storage method, verification method and storage medium thereof
CN111832046A (en) Trusted data evidence storing method based on block chain technology
Redfield et al. Gringotts: securing data for digital evidence
CN116702219B (en) Block chain-based trusted certification method and device
CN115208696B (en) Remote communication method and device for substation telecontrol device
CN114640475B (en) Decentralized identity authentication method and device, computer equipment and storage medium
CN112118108B (en) SIP anti-theft verification method and system
CN111565178B (en) Service information issuing method, device, server, client and storage medium

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