DATA PROCESSING APPARATUS AND DATA PROCESSING METHOD FOR INTERNET OF THINGS SYSTEM
First Claim
1. A data processing apparatus for an Internet of Things (IoT) system, comprising:
- a network interface, being connected to a network and connected to a blockchain system and an interplanetary file system via the network;
a storage, being configured to store a user database, the user database recording a diagnosis rule setting; and
a processor, electrically connected to the network interface and the storage, being configured to perform the following operations;
receiving a plurality of device data from at least one Internet of Things (IoT) apparatus via the network interface, each of the device data having a time stamp, a device identifier and a piece of state information;
generating a plurality of diagnosis rule data according to the diagnosis rule setting, wherein each of the diagnosis rule data recording a diagnosis rule, and each of the diagnosis rules being associated with one of the device identifiers;
for each of the device data, diagnosing the state information by using the diagnosis rule associated with the device identifier to generate a diagnosis log data;
packaging the device data based on a first preset data amount to generate a plurality of device files and a first hash value of each of the device files, storing each of the device files to the interplanetary file system, and storing each of the first hash values to the blockchain system through a smart contract;
packaging the diagnosis log data based on a second preset data amount to generate a plurality of diagnosis log files and a second hash value of each of the diagnosis log files, storing each of the diagnosis log files to the interplanetary file system, and storing each of the second hash values to the blockchain system via the smart contract; and
packaging the diagnosis rule data based on a third preset data amount to generate a plurality of diagnosis rule files and a third hash value of each of the diagnosis rule files, storing each of the diagnosis rule files to the interplanetary file system, and storing each of the third hash values to the blockchain system through the smart contract.
1 Assignment
0 Petitions
Accused Products
Abstract
A data processing apparatus and a data processing method thereof for an Internet of Things (IoT) system are provided. The data processing apparatus generates a plurality of diagnosis rule data, diagnoses each of the device data received from at least one IoT apparatus to generate a plurality of diagnosis log data, packages the device data, the diagnosis log data and the diagnosis rule data respectively based on a preset data amount to generate a plurality of device files, a plurality of diagnosis log files and a plurality of diagnosis rule files individually, stores each device file, each diagnosis log file and each diagnosis rule file in an interplanetary file system individually, and stores hash values of each device file, each diagnosis log file and each diagnosis rule file in a blockchain system individually.
2 Citations
16 Claims
-
1. A data processing apparatus for an Internet of Things (IoT) system, comprising:
-
a network interface, being connected to a network and connected to a blockchain system and an interplanetary file system via the network; a storage, being configured to store a user database, the user database recording a diagnosis rule setting; and a processor, electrically connected to the network interface and the storage, being configured to perform the following operations; receiving a plurality of device data from at least one Internet of Things (IoT) apparatus via the network interface, each of the device data having a time stamp, a device identifier and a piece of state information; generating a plurality of diagnosis rule data according to the diagnosis rule setting, wherein each of the diagnosis rule data recording a diagnosis rule, and each of the diagnosis rules being associated with one of the device identifiers; for each of the device data, diagnosing the state information by using the diagnosis rule associated with the device identifier to generate a diagnosis log data; packaging the device data based on a first preset data amount to generate a plurality of device files and a first hash value of each of the device files, storing each of the device files to the interplanetary file system, and storing each of the first hash values to the blockchain system through a smart contract; packaging the diagnosis log data based on a second preset data amount to generate a plurality of diagnosis log files and a second hash value of each of the diagnosis log files, storing each of the diagnosis log files to the interplanetary file system, and storing each of the second hash values to the blockchain system via the smart contract; and packaging the diagnosis rule data based on a third preset data amount to generate a plurality of diagnosis rule files and a third hash value of each of the diagnosis rule files, storing each of the diagnosis rule files to the interplanetary file system, and storing each of the third hash values to the blockchain system through the smart contract. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A data processing method for use in a data processing apparatus for an Internet of Things (IoT) system, the data processing apparatus comprising a network interface, a storage and a processor, the processor being electrically connected to the network interface and the storage, the network interface being connected to a network and connected to a blockchain system and an interplanetary file system via the network, the storage being configured to store a user database, the user database recording a diagnosis rule setting, the data processing method being executed by the processor and comprising:
-
receiving a plurality of device data from at least one Internet of Things (IoT) apparatus via the network interface, each of the device data having a time stamp, a device identifier and a piece of state information; generating a plurality of diagnosis rule data according to the diagnosis rule setting, wherein each of the diagnosis rule data recording a diagnosis rule, and each of the diagnosis rules being associated with one of the device identifiers; for each of the device data, diagnosing the state information by using the diagnosis rule associated with the device identifier to generate a diagnosis log data; packaging the device data based on a first preset data amount to generate a plurality of device files and a first hash value of each of the device files, storing each of the device files to the interplanetary file system, and storing each of the first hash values to the blockchain system through a smart contract; packaging the diagnosis log data based on a second preset data amount to generate a plurality of diagnosis log files and a second hash value of each of the diagnosis log files, storing each of the diagnosis log files to the interplanetary file system, and storing each of the second hash values to the blockchain system through the smart contract; and packaging the diagnosis rule data based on a third preset data amount to generate a plurality of diagnosis rule files and a third hash value of each of the diagnosis rule files, storing each of the diagnosis rule files to the interplanetary file system, and storing each of the third hash values to the blockchain system through the smart contract. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
Specification