CN110531989A - Believable internet of things data processing method, system, equipment and storage medium - Google Patents
Believable internet of things data processing method, system, equipment and storage medium Download PDFInfo
- Publication number
- CN110531989A CN110531989A CN201810514909.7A CN201810514909A CN110531989A CN 110531989 A CN110531989 A CN 110531989A CN 201810514909 A CN201810514909 A CN 201810514909A CN 110531989 A CN110531989 A CN 110531989A
- Authority
- CN
- China
- Prior art keywords
- data
- data processing
- block chain
- edge calculations
- internet
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
- H04L63/123—Applying verification of the received information received data contents, e.g. message integrity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Computing Systems (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Hardware Design (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention provides a kind of believable internet of things data processing method, system, equipment and storage mediums, the method includes obtaining the deployment rule of data processing software packet and software package from block chain, the deployment rule includes the characteristic information for the edge calculations node that the software package is applicable in;Data processing software packet is deployed in corresponding edge calculations node according to the deployment rule;The edge calculations node for receiving data processing software packet carries out software package installation;The edge calculations node obtains pending data from internet of things sensors according to the configuration of the data processing software packet of installation, and is handled;The edge calculations node that processing is completed stores data processed result into the block chain.The present invention using block chain data consistency and can not tamper, guarantee data processing software packet itself it is reliable and secure with internet of things data processing result, on edge calculations node dispose data processing hardware can to internet of things data carry out efficient data processing.
Description
Technical field
The present invention relates to internet of things field more particularly to a kind of believable internet of things data processing method, system, set
Standby and storage medium.
Background technique
Then the connected internet of Internet of Things, that is, object object, data required for generally being acquired using internet of things sensors are passed through
It is stored after crossing processing.In order to guarantee the validity of internet of things data acquisition and communication, internet of things sensors is generated a large amount of
Data need the storage that further progress is credible and secure after having carried out believable efficient preceding processing.
However still carry out the technical solution of internet of things data processing, Neng Goubao reliable and securely without one kind in the prior art
Demonstrate,prove data storage consistency and can not tamper.In addition, disposing number using hardware in data processing scheme in the prior art
According to treatment process, but the complexity and safety of the data processor deployment of hardware itself can be limited to.
Summary of the invention
For the problems of the prior art, the purpose of the present invention is to provide a kind of believable internet of things data processing sides
Method, system, equipment and storage medium, using block chain data consistency and can not tamper, guarantee data processing software packet
Itself and internet of things data processing result it is reliable and secure.
The embodiment of the present invention provides a kind of internet of things data processing method, includes the following steps:
The deployment rule of data processing software packet and software package is obtained from block chain, the deployment rule includes the software
The characteristic information of the applicable edge calculations node of packet;
Data processing software packet is deployed in corresponding edge calculations node according to the deployment rule;
The edge calculations node for receiving data processing software packet carries out software package installation;
The edge calculations node is obtained to from according to the configuration of the data processing software packet of installation from internet of things sensors
Data are managed, and are handled;
The edge calculations node that processing is completed stores data processed result into the block chain.
Optionally, it is described deployment rule include the data processing software packet be applicable in edge calculations node ardware model number or
Sequence number.
Optionally, described that data processing software packet is deployed in by corresponding edge calculations node according to the deployment rule
In, include the following steps:
Data processing software packet is pushed to the corresponding edge calculations node of the deployment rule by message-oriented middleware;Or
The edge calculations node is from message-oriented middleware active pull and the matched data processing software packet of own node.
Optionally, it before the edge calculations node for receiving data processing software packet carries out software package installation, also wraps
Include following steps:
Whether the certificate chain for receiving the edge calculations node verification of the data processing software packet data processing software packet is complete
The whole node root certificate for being connected to itself;
If it is, the edge calculations node installation software package;
Otherwise, which does not install the software package.
Optionally, the data processing software packet include data process method procedure, data processing sensor type and
The data format of sensor.
Optionally, the edge calculations node includes central processing unit, repeatable programming hardware computational unit, flash memory and biography
Sensor reading unit;
The edge calculations node carries out software package installation and includes the following steps:
The central processing unit reads the data format of sensor type and sensor from the software package, to the biography
The reading data rule of sensor reading unit is configured;
The central processing unit reads repeatable programming hardware configuration information from the software package, to the repeatable volume
Journey hardware computational unit is configured;
The central processing unit reads the configuration of data process method program from the software package, is stored in the flash memory.
Optionally, the edge calculations node processing is sensed according to the configuration of the data processing software packet of installation from Internet of Things
Device obtains pending data, and is handled, and includes the following steps:
The sensor reading unit selects corresponding internet of things sensors according to the sensor type of the data processing;
The sensor reading unit obtains consistent with the data format of the sensor from the internet of things sensors of selection
Pending data;
The pending data is stored to the sensor reading unit and described is weighed by the sensor reading unit
The shared drive of hardware computational unit is programmed again;
The central processing unit searches for the address of the shared drive and the data processing stored in the flash memory is called to patrol
Collect the configuration of program;
The repeatable programming hardware computational unit gets pending data from the shared drive, and according to described
The configuration of data process method program and itself configuration handle the pending data;
When the repeatable programming hardware computational unit processing data are completed, data processed result is stored in described shared interior
It deposits, and notifies the central processing unit.
Optionally, the edge calculations node further includes that block chain request of data buffer area and block chain request processing are drawn
It holds up;
The edge calculations node stores data processed result into the block chain, includes the following steps:
The central processing unit generates block chain data and enters chain request, and the block chain request of data buffer area is written;
The block chain data are entered chain request and are sent to the block chain request processing engine by the central processing unit;
The block chain request processing engine calling intelligence contract stores data processed result into the block chain.
Optionally, the internet of things data processing method further includes following steps:
The computer of exploitation generates data processing software packet, and obtains developer to the signature of software package;
The computer stores the data processing software packet after signature to the block chain.
The embodiment of the present invention provides a kind of internet of things data processing system, using the internet of things data processing method,
The system comprises following steps:
Message-oriented middleware, for obtaining the deployment rule of data processing software packet and software package from block chain;And root
Data processing software packet is deployed in corresponding edge calculations node according to the deployment rule, the deployment rule includes the number
According to the characteristic information for the edge calculations node that processing software package is applicable in;
Edge calculations node, for carrying out software package installation when receiving data processing software packet;According to the number of installation
Pending data is obtained from internet of things sensors according to the configuration of processing software package, and is handled;And the side for completing processing
Edge calculate node stores data processed result into the block chain.
Optionally, the edge calculations node includes:
Central processing unit, for reading the data format of sensor type and sensor from the software package, to sensing
The reading data rule of device reading unit is configured;Repeatable programming hardware configuration information is read from the software package, it is right
Repeatable programming hardware computational unit is configured;And data process method program is read from the software package, deposit is dodged
It deposits;
Sensor reading unit, for obtaining pending data from internet of things sensors according to itself configuration, and will be wait locate
Reason data are stored to the shared drive of the sensor reading unit and the repeatable programming hardware computational unit;
Flash memory, for storing the configuration of the data process method program;
Repeatable programming hardware computational unit, for getting pending data from the shared drive, and according to institute
The configuration and itself configuration for stating data process method program handle the pending data.
Optionally, the edge calculations node further includes that block chain request of data buffer area and block chain request processing are drawn
It holds up;
The central processing unit is also used to when the repeatable programming hardware computational unit processing data are completed, generation area
Block chain data enter chain request, and the block chain request of data buffer area is written;And the block chain data are entered into chain request
It is sent to the block chain request processing engine;
The block chain request processing engine is for calling intelligent contract by data processed result storage to the block chain
In.
Optionally, the internet of things data processing system further includes the computer of exploitation, the computer of the exploitation
For generating data processing software packet, and developer is obtained to the signature of software package;And by the data processing software after signature
Packet is stored to the block chain.
The embodiment of the present invention also provides a kind of internet of things data processing equipment, comprising:
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to execute the internet of things data processing via the executable instruction is executed
The step of method.
The embodiment of the present invention also provides a kind of computer readable storage medium, for storing program, which is characterized in that described
Program is performed the step of realizing the internet of things data processing method.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Internet of things data processing method, system, equipment and storage medium provided by the present invention, by the data one of block chain
Cause property and the characteristic that can not be distorted are applied to internet of things data application scenarios;And it is straight on edge calculations node using specialised hardware
Processing internet of things data is connect, to have the advantage for efficiently saving flow;And block chain is write the result into after data processing, from
And guarantee processing result data safety and can not tamper.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention,
Objects and advantages will become more apparent upon.
Fig. 1 is the flow chart of the internet of things data processing method of one embodiment of the invention;
Fig. 2 is the structural schematic diagram of the Physical Network data processing system of one embodiment of the invention;
Fig. 3 is the timing diagram of the Physical Network data processing method of one embodiment of the invention;
Fig. 4 is the schematic diagram of internal structure of the edge calculations node of one embodiment of the invention;
Fig. 5 is the structural schematic diagram of the internet of things data processing equipment of one embodiment of the invention;
Fig. 6 is the structural schematic diagram of one embodiment of the invention computer readable storage medium.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot
Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure
Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function
Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form
Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place
These functional entitys are realized in reason device device and/or microcontroller device.
As shown in Figure 1, the embodiment of the present invention provides a kind of believable internet of things data processing method, as shown in Fig. 2, for this
The structural schematic diagram of internet of things data processing system used by inventive embodiments, as shown in figure 3, being the object of the embodiment of the present invention
The timing diagram of networking data processing method.
After the mass data that the present invention is generated in view of internet of things sensors is badly in need of believable efficient pre-treatment, progress can
Believe the storage of safety.And the data consistency of block chain and the characteristic that can not be distorted are highly suitable for internet of things data applied field
Scape proposes following solution.
As shown in Figures 1 to 3, internet of things data processing method of the invention includes the following steps:
S100: obtaining the deployment rule of data processing software packet and software package from block chain, and the deployment rule includes
The characteristic information of the applicable edge calculations node of the software package;
S200: data processing software packet is deployed in corresponding edge calculations node according to the deployment rule;
S300: the edge calculations node for receiving data processing software packet carries out software package installation;
S400: the edge calculations node is obtained according to the configuration of the data processing software packet of installation from internet of things sensors
Pending data, and handled;
S500: the edge calculations node for handling completion stores data processed result into the block chain.
Therefore, the data consistency of block chain and the characteristic that can not be distorted are applied to internet of things data applied field by the present invention
Scape;And internet of things data is directly handled on edge calculations node using specialised hardware, to have the advantage for efficiently saving flow;
And block chain is write the result into after data processing, thus guarantee processing result data safety and can not tamper.
Specifically, as shown in figure 3, the internet of things data processing method of the embodiment of the present invention includes the following steps:
Developer realizes data processing algorithm on the computer of exploitation;
Developer signs to the data processing algorithm realized;
Computer generates the data processing software packet for including data processing algorithm and signing through developer, and is uploaded to block
Chain;
It disposes on data processing software packet to corresponding edge calculations node;
Edge calculations node operation data processing software algorithm is to handle all kinds of data acquired from internet of things sensors;
By credible block chain communication means, by treated, data enter chain.
As shown in figure 4, the concrete structure schematic diagram of the edge calculations node for one embodiment of the invention.In the embodiment
In, use block chain request of data buffer cache block chain method, signature and the address etc. of customization;It is deposited using the key of customization
Storage module generates and stores public and private key, realizes encryption and decryption, signature and verifying signature;Using block chain request engine to efficiently produce
Request message data structure;Believable technical grade Internet of things hardware interface is provided;There is provided the hardware module of repeatable programming (such as
FPGA module) pre-treatment is executed to the data that internet of things equipment (such as sensor) generates;Central processor CPU is mainly used for can
The configuration for programming hardware module is loaded into.
Specifically, in this embodiment, the edge calculations node includes:
Central processing unit, for reading the data format of sensor type and sensor from the software package, to sensing
The reading data rule of device reading unit is configured;Repeatable programming hardware configuration information is read from the software package, it is right
Repeatable programming hardware computational unit is configured;And data process method program is read from the software package, deposit is dodged
It deposits;
Sensor reading unit, for obtaining pending data from internet of things sensors according to itself configuration, and will be wait locate
Reason data are stored to the shared drive of the sensor reading unit and the repeatable programming hardware computational unit;
Flash memory, for storing the data process method program;
Repeatable programming hardware computational unit, for getting pending data from the shared drive, and according to institute
It states data process method program and itself configuration handles the pending data;
Further, the edge calculations node further includes that block chain request of data buffer area and block chain request processing are drawn
It holds up;
The central processing unit is also used to when the repeatable programming hardware computational unit processing data are completed, generation area
Block chain data enter chain request, and the block chain request of data buffer area is written;And the block chain data are entered into chain request
It is sent to the block chain request processing engine;
The block chain request processing engine is for calling intelligent contract by data processed result storage to the block chain
In.
Below with reference to Fig. 4, the process of the internet of things data processing method of one embodiment of the invention is specifically introduced:
(1) data processing software packet is developed:
Developer uses high-level programming language, such as C language to realize data process method program;
As a part of data processor, developer also needs to define sensor class handled by the data processor
The data format of type and processing message;
The data processing software packet being consequently formed comprising the logical program of data processing and handled input pickup
Data format and type.
Developer uses the private key signature of oneself to data processing software package;
Computer calls block chain intelligence contract to upload the data processing software packet after signing to block chain;Computer and area
The verifying of developer's identity can be carried out between block chain, using the encryption and decryption approaches of block chain to ensure to store to block chain
Data processing software packet be authentic and valid.
The edge calculations node that computer calls block chain intelligence contract claim data processing software package to be applicable in, Huo Zheke
By hardware characteristics (such as ardware model number, sequence number) the compiling write-in data processing software packet of be applicable in edge calculations node.
(2) data processing software packet is disposed.
The mode that data processing software packet is deployed to edge calculations node can be actively or passively mode and carry out.The process
It needs to set up message-oriented middleware between edge calculations node and block chain.Message-oriented middleware can use MQTT Broker, but
It is without being limited thereto.
Active mode can be by message-oriented middleware propelling data processing software package to edge calculations node installation, passive mode
Then required data processing software packet is pulled from message-oriented middleware by edge calculations node to be installed.
In practical application scene, message-oriented middleware can dispose data processing software packet, such as basis according to multiple rule
Feature of edge calculations node, such as node fingerprint, node hardware model, node public key etc., definition deployment rule, and according to
Data processing software packet is deployed on corresponding edge calculations node by deployment rule.
Due to determining number according to the feature of the pre-configured edge calculations node of data processing software packet in the embodiment
The edge calculations node disposed is needed according to processing software package, and the class of sensor has been pre-defined in data processing software packet
Type and data format not only can configure different data processing algorithms for different edge calculations nodes, and can protect
Demonstrate,prove the reliability of edge calculations node and sensing data communication.Meanwhile it may be implemented applying according to edge calculations node
Operand and sensing data collection capacity carry out edge calculations node operand allotment effect.
(3) edge calculations node installation and load data processing software packet.
After data processing software packet downloads to edge calculations node, edge calculations node first verifies that the signature of software package
Certificate chain whether be completely connected to the node root certificate of the edge calculations node.Therefore, edge calculations node can be to reception
To the real effectiveness of data processing software packet verified.
After being verified, the input equipment that CPU reads software package definition reads rule, and has configured sensor reading unit
With input equipment clock.
The repeatable programming hardware configuration information of CPU analysis software package definition, and configuration is loaded into repeatable programming hardware
Computing unit.The configuration of software section defined in node analysis software packet is simultaneously stored in flash memory.
(4) edge calculations node reads and acquires data
Sensor reading unit acquires data by data acquisition engine, according to the data clock rate of software package definition,
And the data format of sensor defined in the data fit software package acquired, and store data into hard with repeatable programming
In the shared memory of part;
CPU searches for the shared drive address and calls the code block of corresponding repeatable programming hardware handles program;
After repeatable programming hardware handles finish data, processing result is write back in shared drive, and CPU is notified to calculate
It completes;
CPU generates block chain data and enters chain request, and by relevant parameter and requests write request buffer area;
CPU submits transmission data to enter chain request and requests processing engine to block chain, is responsible for calling intelligent contract that will count by it
According to entering chain.In the communication process of block chain request processing engine and block chain, the encrypting and decrypting mode of block chain can be used, really
Protect the authenticity and reliability of data processed result storage.
In addition, being effectively guaranteed the peace of data processed result since data processed result is stored in block chain
Full property and it is not easy tamper, the data processed result and other nodes that can be got in any of block chain block node are equal
It is consistent, improves internet of things field sensor data acquisition, processing and the efficiency and reliability of storage.
The embodiment of the present invention also provides a kind of Physical Network data processing equipment, including processor;Memory, wherein being stored with
The executable instruction of the processor;Wherein, the processor is configured to execute via the executable instruction is executed described
Internet of things data processing method the step of.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as method, system or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as circuit, " module " or " system ".
The electronic equipment 600 of this embodiment according to the present invention is described referring to Fig. 5.The electronics that Fig. 5 is shown
Equipment 600 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 5, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can wrap
It includes but is not limited to: at least one processing unit 610, at least one storage unit 840, (including the storage of the different system components of connection
Unit 840 and processing unit 610) bus 630, display unit 640 etc..
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 610
Row, so that the processing unit 610 executes described in this specification above-mentioned electronic prescription circulation processing method part according to this
The step of inventing various illustrative embodiments.For example, the processing unit 610 can execute step as shown in fig. 1.
The storage unit 840 may include the readable medium of volatile memory cell form, such as random access memory
Unit (RAM) 8401 and/or cache memory unit 8402 can further include read-only memory unit (ROM) 8403.
The storage unit 840 can also include program/practical work with one group of (at least one) program module 8405
Tool 8404, such program module 8405 includes but is not limited to: operating system, one or more application program, other programs
It may include the realization of network environment in module and program data, each of these examples or certain combination.
Bus 630 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 600 communicate, and/or with make
Any equipment (such as the router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other calculating equipment
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with
By network adapter 660 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.Network adapter 660 can be communicated by bus 630 with other modules of electronic equipment 600.It should
Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 600, including but unlimited
In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number
According to backup storage system etc..
The embodiment of the present invention also provides a kind of computer readable storage medium, and for storing program, described program is performed
Described in Shi Shixian the step of internet of things data processing method.In some possible embodiments, various aspects of the invention
It is also implemented as a kind of form of program product comprising program code, when described program product is run on the terminal device
When, said program code is retouched for executing the terminal device in this specification above-mentioned electronic prescription circulation processing method part
The step of various illustrative embodiments according to the present invention stated.
Refering to what is shown in Fig. 6, describing the program product for realizing the above method of embodiment according to the present invention
800, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device,
Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with
To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or
System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive
List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only
Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The computer readable storage medium may include in a base band or the data as the propagation of carrier wave a part are believed
Number, wherein carrying readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetism
Signal, optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any other than readable storage medium storing program for executing
Readable medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or
Person's program in connection.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, packet
Include but be not limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
In conclusion internet of things data processing method, system, equipment and storage medium provided by the present invention, propose
A kind of technical solution handling internet of things data by the way of credible and secure on edge calculations node, solves hardware handles
The complexity and credibility of program deployment, dispose in edge calculations node and load data processing hardware (such as FPGA module),
Efficient data processing is thus allowed for, and block chain is written into result after processing, to guarantee the peace of data processed result
Full property and consistency;The present invention is by being packaged as data processing software packet for data process method and relevant configuration simultaneously, and by
Developer signature after be written block chain mode come guarantee data processing software packet itself safety and can not tamper.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that
Specific implementation of the invention is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, In
Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to of the invention
Protection scope.
Claims (15)
1. a kind of believable internet of things data processing method characterized by comprising
The deployment rule of data processing software packet and software package is obtained from block chain, the deployment rule includes that the software package is suitable
The characteristic information of edge calculations node;
Data processing software packet is deployed in corresponding edge calculations node according to the deployment rule;
The edge calculations node for receiving data processing software packet carries out software package installation;
The edge calculations node obtains number to be processed from internet of things sensors according to the configuration of the data processing software packet of installation
According to, and handled;
The edge calculations node that processing is completed stores data processed result into the block chain.
2. believable internet of things data processing method according to claim 1, which is characterized in that the deployment rule includes
The ardware model number or sequence number of the applicable edge calculations node of the data processing software packet.
3. believable internet of things data processing method according to claim 1, which is characterized in that described according to the deployment
Data processing software packet is deployed in corresponding edge calculations node by rule, is included the following steps:
Data processing software packet is pushed to the corresponding edge calculations node of the deployment rule by message-oriented middleware;Or
The edge calculations node is from message-oriented middleware active pull and the matched data processing software packet of own node.
4. believable internet of things data processing method according to claim 1, which is characterized in that described to receive at data
Further include following steps before the edge calculations node progress software package installation for managing software package:
Whether the certificate chain for receiving the edge calculations node verification of the data processing software packet data processing software packet completely connects
It is connected to the node root certificate of itself;
If it is, the edge calculations node installation software package;
Otherwise, which does not install the software package.
5. believable internet of things data processing method according to claim 1, which is characterized in that the data processing software
Packet includes the sensor type of data process method procedure, data processing and the data format of sensor.
6. believable internet of things data processing method according to claim 5, which is characterized in that the edge calculations node
Including central processing unit, repeatable programming hardware computational unit, flash memory and sensor reading unit;
The edge calculations node carries out software package installation and includes the following steps:
The central processing unit reads the data format of sensor type and sensor from the software package, to the sensor
The reading data rule of reading unit is configured;
The central processing unit reads repeatable programming hardware configuration information from the software package, hard to the repeatable programming
Part computing unit is configured;
The central processing unit reads the configuration of data process method program from the software package, is stored in the flash memory.
7. believable internet of things data processing method according to claim 6, which is characterized in that the edge calculations node
Processing obtains pending data from internet of things sensors according to the configuration of the data processing software packet of installation, and is handled, and wraps
Include following steps:
The sensor reading unit selects corresponding internet of things sensors according to the sensor type of the data processing;
The sensor reading unit from the internet of things sensors of selection obtain with the data format of the sensor it is consistent to
Handle data;
The sensor reading unit stores the pending data to the sensor reading unit and the repeatable volume
The shared drive of journey hardware computational unit;
The central processing unit searches for the address of the shared drive and calls the data process method journey stored in the flash memory
The configuration of sequence;
The repeatable programming hardware computational unit gets pending data from the shared drive, and according to the data
It handles logical program and itself configuration handles the pending data;
When the repeatable programming hardware computational unit processing data are completed, the shared drive is written into data processed result
In, and notify the central processing unit.
8. believable internet of things data processing method according to claim 7, which is characterized in that the edge calculations node
It further include block chain request of data buffer area and block chain request processing engine;
The edge calculations node stores data processed result into the block chain, includes the following steps:
The central processing unit generates block chain data and enters chain request, and the block chain request of data buffer area is written;
The block chain data are entered chain request and are sent to the block chain request processing engine by the central processing unit;
The block chain request processing engine calling intelligence contract stores data processed result into the block chain.
9. believable internet of things data processing method according to claim 1, which is characterized in that further include following steps:
The computer of exploitation generates data processing software packet, and obtains developer to the signature of software package;
The computer stores the data processing software packet after signature to the block chain.
10. a kind of believable internet of things data processing system, which is characterized in that using described in any one of claims 1 to 9
Believable internet of things data processing method, the system comprises following steps:
Message-oriented middleware, for obtaining the deployment rule of data processing software packet and software package from block chain;And according to institute
It states deployment rule data processing software packet is deployed in corresponding edge calculations node, the deployment rule includes at the data
Manage the characteristic information of the applicable edge calculations node of software package;
Edge calculations node, for carrying out software package installation when receiving data processing software packet;At the data of installation
The configuration for managing software package obtains pending data from internet of things sensors, and is handled;And the edge meter for completing processing
Operator node stores data processed result into the block chain.
11. believable internet of things data processing system according to claim 10, which is characterized in that the edge calculations section
It puts and includes:
Central processing unit reads sensor for reading the data format of sensor type and sensor from the software package
The reading data rule of unit is taken to be configured;Repeatable programming hardware configuration information is read from the software package, to can weigh
Programming hardware computational unit is configured again;And data process method program is read from the software package, it is stored in flash memory;
Sensor reading unit, for obtaining pending data from internet of things sensors according to itself configuration, and by number to be processed
According to store to the sensor reading unit and it is described it is repeatable programming hardware computational unit shared drive;
Flash memory, for storing the configuration of the data process method program;
Repeatable programming hardware computational unit, for getting pending data from the shared drive, and according to the number
The pending data is handled according to processing logical program and itself configuration.
12. believable internet of things data processing system according to claim 10, which is characterized in that the edge calculations section
Point further includes block chain request of data buffer area and block chain request processing engine;
The central processing unit is also used to generate block chain when the repeatable programming hardware computational unit processing data are completed
Data enter chain request, and the block chain request of data buffer area is written;And the block chain data are entered into chain request and are sent
To block chain request processing engine;
The block chain request processing engine is for calling intelligent contract by data processed result storage into the block chain.
13. believable internet of things data processing system according to claim 10, which is characterized in that further include exploitation
Computer, the computer of the exploitation obtain developer to the signature of software package for generating data processing software packet;With
And the data processing software packet after signature is stored to the block chain.
14. a kind of believable internet of things data processing equipment characterized by comprising
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to come described in any one of perform claim requirement 1 to 9 via the execution executable instruction
Believable internet of things data processing method the step of.
15. a kind of computer readable storage medium, for storing program, which is characterized in that described program is performed realization power
Benefit require any one of 1 to 9 described in believable internet of things data processing the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810514909.7A CN110531989A (en) | 2018-05-25 | 2018-05-25 | Believable internet of things data processing method, system, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810514909.7A CN110531989A (en) | 2018-05-25 | 2018-05-25 | Believable internet of things data processing method, system, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110531989A true CN110531989A (en) | 2019-12-03 |
Family
ID=68656910
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810514909.7A Pending CN110531989A (en) | 2018-05-25 | 2018-05-25 | Believable internet of things data processing method, system, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110531989A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112130931A (en) * | 2020-09-27 | 2020-12-25 | 联想(北京)有限公司 | Application deployment method, node, system and storage medium |
CN112583898A (en) * | 2020-11-30 | 2021-03-30 | 北京百度网讯科技有限公司 | Business process arranging method and device and readable medium |
CN112825097A (en) * | 2019-11-21 | 2021-05-21 | 树根互联技术有限公司 | Internet of things data processing method, system, equipment and storage medium |
US12026547B2 (en) | 2020-11-30 | 2024-07-02 | Beijing Baidu Netcom Science And Technology Co., Ltd. | Method and system for arranging business process, computing device, and non-transitory computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103986743A (en) * | 2013-02-07 | 2014-08-13 | 伊姆西公司 | Method, apparatus and system for acquiring data in Internet of Things |
US20140280435A1 (en) * | 2013-03-14 | 2014-09-18 | International Business Machines Corporation | Scalable data transfer in and out of analytics clusters |
CN107749848A (en) * | 2017-10-23 | 2018-03-02 | 中国联合网络通信集团有限公司 | Processing method, device and the Internet of things system of Internet of Things data |
-
2018
- 2018-05-25 CN CN201810514909.7A patent/CN110531989A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103986743A (en) * | 2013-02-07 | 2014-08-13 | 伊姆西公司 | Method, apparatus and system for acquiring data in Internet of Things |
US20140280435A1 (en) * | 2013-03-14 | 2014-09-18 | International Business Machines Corporation | Scalable data transfer in and out of analytics clusters |
CN107749848A (en) * | 2017-10-23 | 2018-03-02 | 中国联合网络通信集团有限公司 | Processing method, device and the Internet of things system of Internet of Things data |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112825097A (en) * | 2019-11-21 | 2021-05-21 | 树根互联技术有限公司 | Internet of things data processing method, system, equipment and storage medium |
CN112130931A (en) * | 2020-09-27 | 2020-12-25 | 联想(北京)有限公司 | Application deployment method, node, system and storage medium |
CN112583898A (en) * | 2020-11-30 | 2021-03-30 | 北京百度网讯科技有限公司 | Business process arranging method and device and readable medium |
CN112583898B (en) * | 2020-11-30 | 2023-08-15 | 北京百度网讯科技有限公司 | Business process arrangement method, device and readable medium |
US12026547B2 (en) | 2020-11-30 | 2024-07-02 | Beijing Baidu Netcom Science And Technology Co., Ltd. | Method and system for arranging business process, computing device, and non-transitory computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11989595B2 (en) | Disaggregated computing for distributed confidential computing environment | |
JP5613259B2 (en) | Method, system, and computer program for protecting asynchronous client-server transactions | |
CN107533622A (en) | Credible binary file translation | |
CN105556919B (en) | Dual factor anthentication is carried out using service request bill | |
US10122693B2 (en) | Protocol based key management | |
US10956584B1 (en) | Secure data processing | |
CN110992027A (en) | Efficient transaction method and device for realizing privacy protection in block chain | |
CN107567699A (en) | Real-time mobile security situation | |
CN110531989A (en) | Believable internet of things data processing method, system, equipment and storage medium | |
CN109347917A (en) | Block chain data common recognition processing method, system, storage medium and electronic equipment | |
CN110111104A (en) | Block chain intelligence contract implementation method, device, computer equipment and storage medium | |
US20230281604A1 (en) | Technologies for creating and transferring non-fungible token based identities | |
CN109255210A (en) | The method, apparatus and storage medium of intelligent contract are provided in block chain network | |
CN117043756A (en) | Trusted memory sharing mechanism | |
WO2014091342A1 (en) | User trusted device to attest trustworthiness of initialization firmware | |
CN113946877A (en) | Data security calculation method, system, computer equipment, storage medium and terminal | |
CN110535631A (en) | Method, system, equipment and the storage medium of edge calculations node data transmission | |
CN104471584A (en) | Network based management of protected data sets | |
Li et al. | Security-aware Modeling and Analysis for HW/SW Partitioning. | |
CN107368339A (en) | Container entrance program operating method, system, equipment and storage medium | |
CN110263532B (en) | Trusted computing method, device and system | |
Hajlaoui et al. | Towards smarter cyberthreats detection model for industrial Internet of Things (IIoT) 4.0 | |
Salas | A secure framework for OTA smart device ecosystems using ECC encryption and biometrics | |
CN110688677B (en) | Method and device for executing intelligent contracts | |
CN116071070A (en) | Resource transfer method and related device |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20191203 |
|
WD01 | Invention patent application deemed withdrawn after publication |