CN110535631A - Method, system, equipment and the storage medium of edge calculations node data transmission - Google Patents
Method, system, equipment and the storage medium of edge calculations node data transmission Download PDFInfo
- Publication number
- CN110535631A CN110535631A CN201810545570.7A CN201810545570A CN110535631A CN 110535631 A CN110535631 A CN 110535631A CN 201810545570 A CN201810545570 A CN 201810545570A CN 110535631 A CN110535631 A CN 110535631A
- Authority
- CN
- China
- Prior art keywords
- data
- node
- block chain
- message
- edge calculations
- 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
-
- 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/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- 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
-
- 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/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0816—Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
- H04L9/0819—Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
- H04L9/0825—Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0894—Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic 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/3247—Cryptographic 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
Abstract
The present invention provides method, system, equipment and the storage mediums of the transmission of edge calculations node data, method includes the following steps: edge calculations node will be sent to the data buffer storage of block chain in hardware cache;Edge calculations node reads data from hardware cache;Generate the data-message for being sent to block chain endorsement node-authentication;It sends data messages to each block chain endorsement node and executes intelligent contract specified by corresponding data message;Edge calculations node receives the message back of each block chain endorsement node, and stores each block chain node to the signature of data message into hardware cache;And each node is generated into data-message packet to signature of data-message and data-message itself, and be sent to block chain and enter chain service and carry out into chain.The present invention support Internet of Things edge calculations node arrive block chain data connection, can guarantee execute block chain communication efficiency, guarantee edge calculations node identity information can secure storage on node.
Description
Technical field
The present invention relates to field of data transmission, specifically, be related to edge calculations node data transmission method, system,
Equipment and storage medium.
Background technique
Currently, there are a large amount of nodes with edge calculations ability in Internet of Things.What existing edge calculations node generated
There is the risk easily distorted with data leak in data, thereby produce the great demand of internet of things data access block chain.Moreover,
The hardware of current most of edge calculations nodes is unable to satisfy directly communicates introduced huge encryption and decryption expense with block chain.Together
When on edge calculations node hardware run block chain client software to computing resource consume greatly, can not be suitable for absolutely mostly
Number low energy consumption calculates mid-side node.
Summary of the invention
For the problems of the prior art, the method transmitted the purpose of the present invention is to provide edge calculations node data,
System, equipment and storage medium can support Internet of Things edge calculations node to block chain data connection, can guarantee execution block
Chain communication needed for encryption and decryption operation efficiency, guarantee edge calculations node identity information can secure storage on node.
The embodiment of the present invention provides a kind of method of edge calculations node data transmission, comprising the following steps:
S101, edge calculations node will be sent to the data buffer storage of block chain in hardware cache;
S102, the edge calculations node read data from the hardware cache;
S103, generation are sent to the data-message of block chain endorsement node-authentication;
S104, intelligence conjunction specified by each block chain endorsement node execution corresponding data message is sent data messages to
About;
S105, edge calculations node receive the message back of each block chain endorsement node, and store each block chain link
Point is to the signature of data-message into hardware cache;And
S106, each node is generated into data-message packet to signature of data-message and data-message itself, and be sent to
Block chain, which enters chain service, to carry out into chain.
Preferably, in the step S101, the edge calculations node receives data by internet of things data module interface
And be cached in data cache module to be committed, the data cache module read private key slot and with private key to data signature, refer to
The block chain method name of calling required for fixed, specifies the data-message to need to send at specified calling block chain method parameter
Objective identification person's block chain node address and specify the data-message by identification after send target block chain enter chain clothes
Business address.
Preferably, in the step S103, the edge calculations node is by by Internet of things hardware module and data-message
Generation module is direct-connected to quickly generate data-message.
Preferably, the data-message generation module message content generated includes edge calculations node signature, identification
Person's signature and read-write set, data combination are defined by block chain data protocol.
Preferably, in the step S104, data-message is passed through into network communication used by block chain as communication engine
Agreement is sent to block chain node, and communication engine reads every data information and sending to the mirror as specified by message caching module
The person's of determining node address.
Preferably, in the step S105, comprising: when the message for receiving the endorsement node return of block chain, edge calculations section
Point reads the signature of return node and stores into message caching;
Judge whether the message is that first block chain endorsement node returns, if so, edge calculations node will be in message
After need to be stored in block chain data field contents storage to message caching in, if it is not, then edge calculations node will parse
Need to be stored in the data field of block chain in message, the merging algorithm specified in advance of use later (such as according to byte and before
The message received, which is written and read comparison, to be ensured unanimously) it is merged with the content in message format, successfully merge merging algorithm
It updates to message and caches afterwards.
Preferably, in the step S106, edge calculations node, which generates data packet and is sent to block chain, enters chain node, from
It read in caching into chain node address, needed into the data-message content of chain and all endorsement nodes to the signature of the message, most
The data packet, which is sent, by communications hardware modules afterwards enters chain node address to target.
The embodiment of the present invention also provides a kind of system of edge calculations node data transmission, for realizing above-mentioned edge
The method of calculate node data transmission, the system that the edge calculations node data transmits include:
Edge calculations node, for the data buffer storage of block chain will to be sent in hardware cache, the edge calculations
Node reads data from the hardware cache;Edge calculations node receives the message back of each block chain endorsement node, and
Each block chain node is stored to the signature of data message into hardware cache, and by each node to the signature of data-message and
Data-message itself generates data-message packet, and is sent to block chain and enters chain service and carry out into chain;
Message-oriented middleware is sent data messages to for generating the data-message for being sent to block chain node-authentication
Each block chain node.
Preferably, the edge calculations node includes:
Central processing unit, for being configured to repeatable programming hardware computational unit;And number is read from software package
According to processing logical program, it is stored in memory;
Memory, for storing the configuration of the data process method program;
Key storage module generates and stores public and private key, realizes encryption and decryption, signature and verifying signature;
Repeatable programming hardware computational unit, for getting pending data from the memory, and according to the number
The pending data is handled according to processing logical program and itself configuration.
Preferably, the edge calculations node further includes data cache module and block chain data engine;
The central processing unit is also used to generate number when the repeatable programming hardware computational unit processing data are completed
According to message package, and the data cache module is written;And the data-message packet is sent to the block chain data engine;
The block chain data engine is for calling intelligent contract by data processed result storage into the block chain.
Preferably, the data cache module includes private key channel mould block, calls intelligent contract module, data signature caching
Module and block chain node address module.
Preferably, the key storage module includes equipment public affairs private key module, CA public key module and block chain node
Public key module.
It preferably, further include edge calculations equipment, the edge calculations equipment is obtained for generating data processing software packet
Originator is taken away to the signature of software package;And the data processing software packet after signature is stored to the block chain.
The embodiment of the present invention also provides a kind of equipment of edge calculations node data transmission, comprising:
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to execute above-mentioned edge calculations node data via the executable instruction is executed
The step of method of transmission.
The embodiment of the present invention also provides a kind of computer readable storage medium, and for storing program, described program is held
The step of method of above-mentioned edge calculations node data transmission is realized when row.
The purpose of the present invention is to provide method, system, equipment and the storage medium energy of the transmission of edge calculations node data
It enough supports Internet of Things edge calculations node to block chain data connection, can guarantee encryption and decryption operation needed for executing the communication of block chain
Efficiency, guarantee edge calculations node identity information can secure storage on node.
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 method for edge calculations node data transmission of the invention.
Fig. 2 is the module diagram of the system of edge calculations node data transmission of the invention.
Fig. 3 is the structural schematic diagram of the equipment of edge calculations node data transmission of the invention.And
Fig. 4 is the structural schematic diagram of the computer readable storage medium of one embodiment of the invention.
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 embodiment set forth herein.On the contrary, thesing embodiments are provided so that the present invention will
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.It is identical attached in figure
Icon note indicates same or similar structure, thus will omit repetition thereof.
The present invention is edge calculations node and a kind of proprietary hardware configuration of block chain communication scheme, to guarantee edge calculations
Identity information (the node of the efficiency of encryption and decryption operation and edge calculations node needed for node is able to carry out the communication of block chain
Private key) can secure storage on node.Fig. 1 is the flow chart of the method for edge calculations node data transmission of the invention.Such as
Shown in Fig. 1, a kind of embodiment of the invention provides a kind of method of edge calculations node data transmission, comprising the following steps:
S101, edge calculations node will be sent to the data buffer storage of block chain in hardware cache.A preferred side
In case, the edge calculations node receives data by internet of things data module interface and is cached in data cache module to be committed
In, the data cache module reads private key slot and with private key to data signature, the specified required block chain method name called
Claim, it is specified call block chain method parameter, the objective identification person's block chain node address for specifying the data-message to need to send with
And the data-message is specified to enter chain address of service by the target block chain sent after identification.
S102, the edge calculations node read data from the hardware cache.
S103, generation are sent to the data-message of block chain node-authentication.In a preferred embodiment, the edge meter
Operator node is by quickly generating data-message for Internet of things hardware module and data-message generation module are direct-connected.Preferably at one
In scheme, the data-message generation module message content generated include edge calculations node signature, assessor signature and
Read-write set, data combination are defined by block chain data protocol.
S104, each block chain node is sent data messages to.In a preferred embodiment, by data-message by communicating
Engine is sent to block chain endorsement node by ICP/IP protocol and executes the intelligent contract that data-message defines, and communication engine is read
Every data information and sending is to assessor's node address as specified by message caching module.
S105, edge calculations node receive the message back of each block chain node, and store each block chain node pair
The signature of data-message is into hardware cache.In a preferred embodiment, the step S105 includes: to work as to receive the endorsement of block chain
The message that node returns, edge calculations node read the signature of return node and store into message caching;Judging the message is
It is no to be that first block chain endorsement node returns, if so, edge calculations node will be needing to be stored in block chain after in message
Data field contents storage to message caching in, if it is not, then edge calculations node will parse message in need to be stored in block chain
Data field, ratio (such as is written and read with the message received before according to byte using specified in advance merging algorithm later
It is consistent to ensuring) it is merged with the content in message format, it updates after merging algorithm and successfully merging to message and caches.
S106, each node is generated into data-message packet to signature of data-message and data-message itself, and be sent to
Block chain, which enters chain service, to carry out into chain.In the step S106, edge calculations node generates IP data packet and is sent to block chain
Enter chain node, the signature into chain node address, read-write aggregates content and all endorsement nodes to the message is read from caching, most
The data packet, which is sent, by communications hardware modules afterwards enters chain node address to target.
Hardware expanding structure designed by the present invention can support the pine by adding expansion board to existing Internet of things hardware
Coupled modes support Internet of Things edge calculations node to block chain data connection.Data cache module designed by the present invention can protect
Card and block chain data communication efficiency, and guarantee that the identity information (node private key) of edge calculations node being capable of secure storage
In on node.The present invention can be suitably used for all kinds of block platform chains towards the internet of things data connection hardware design of block chain.
Fig. 2 is the module diagram of the system of edge calculations node data transmission of the invention.As shown in Fig. 2, of the invention
Embodiment a kind of system 5 of edge calculations node data transmission is also provided, for realizing above-mentioned edge calculations node data
The method of transmission uses data cache module caching block chain method, signature and the address etc. of customization in this embodiment;Make
Public and private key is generated and stored with the key storage module of customization, realizes encryption and decryption, signature and verifying signature;Use block chain data
Engine is to efficiently produce request message data structure;Believable technical grade Internet of things hardware interface is provided;Repeatable programming is provided
Hardware module (such as FPGA module) data that internet of things equipment (such as sensor) is generated execute pre-treatment;Central processing unit
The configuration that CPU is mainly used for repeatable programming hardware module is loaded into.Central processor CPU in the present embodiment also could alternatively be
The chip of RISC-V or the following processor products developed.
Specifically, in this embodiment, the system of edge calculations node data transmission includes: edge calculations node and message
Middleware.Edge calculations node is used to be sent to the data buffer storage of block chain in hardware cache, the edge calculations section
Point reads data from the hardware cache;Generate the data-message for being sent to block chain node-authentication;Data-message is sent out
It is sent to each block chain endorsement node;Edge calculations node receives the message back of each block chain endorsement node, and stores each
A block chain node disappears into hardware cache, and by signature and data of each node to data-message to the signature of data message
Breath itself generates data-message packet, and is sent to block chain and enters chain service and carry out into chain.Message-oriented middleware is to be sent for generating
To the data-message of block chain node-authentication, each block chain node is sent data messages to.
Further, the edge calculations node includes:
Central processing unit, for being configured to repeatable programming hardware computational unit;And number is read from software package
According to processing logical program, it is stored in memory;
Memory, for storing the configuration of the data process method program;
Key storage module generates and stores public and private key, realizes encryption and decryption, signature and verifying signature;
Repeatable programming hardware computational unit, for getting pending data from the memory, and according to the number
The pending data is handled according to processing logical program and itself configuration.
Further, the edge calculations node further includes data cache module and block chain data engine;
The central processing unit is also used to generate number when the repeatable programming hardware computational unit processing data are completed
According to message package, and the data cache module is written;And the data-message packet is sent to the block chain data engine;
The block chain data engine is for calling intelligent contract by data processed result storage into the block chain.
Further, the data cache module includes private key channel mould block, calls intelligent contract module, data signature slow
Storing module and block chain node address module.
Further, the key storage module includes equipment public affairs private key module, CA public key module and block chain link
Point public key module.
It further, further include edge calculations equipment, the edge calculations equipment is used to generate data processing software packet, and
Developer is obtained to the signature of software package;And the data processing software packet after signature is stored to the block chain.
The present invention provides special hardware configuration storage and submits data and relevant signature, Encryption Algorithm and node address.
Also, the present invention provides special encryption/decryption module for generating and storing public private key pair encrypting and decrypting, signature and signature verification.
Request of data engine in the present invention can efficiently produce the data-message to be committed to block chain node, and provide believable work
Industry grade Internet of Things module hardware interface.
Hardware expanding structure designed by the present invention can support the pine by adding expansion board to existing Internet of things hardware
Coupled modes support Internet of Things edge calculations node to block chain data connection.Data cache module designed by the present invention can protect
Demonstrate,prove the efficiency that communicates with block chain, and guarantee edge calculations node identity information (node private key) can secure storage in node
On.The present invention can be suitably used for all kinds of block platform chains towards the internet of things data connection hardware design of block chain.
The embodiment of the present invention also provides a kind of equipment of edge calculations node data transmission, including processor.Memory,
In be stored with the executable instruction of processor.Wherein, processor is configured to be performed edge meter via execution executable instruction
The step of method of operator node data transmission.
As it appears from the above, the embodiment can support the loose coupling mode branch by adding expansion board to existing Internet of things hardware
Internet of Things edge calculations node is held to block chain data connection.Data cache module designed by the present invention can guarantee and block chain
The efficiency of communication, and guarantee edge calculations node identity information (node private key) can secure storage on node.The present invention
Internet of things data connection hardware design towards block chain can be suitably used for all kinds of block platform chains.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method 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 " platform ".
Fig. 3 is the structural schematic diagram of the equipment of edge calculations node data transmission of the invention.It is described referring to Fig. 3
The electronic equipment 600 of this embodiment according to the present invention.The electronic equipment 600 that Fig. 3 is shown is only an example, is not answered
Any restrictions are brought to the function and use scope of the embodiment of the present invention.
As shown in figure 3, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can wrap
Include but be not limited to: at least one processing unit 610, at least one storage unit 620, connection different platform component (including storage
Unit 620 and processing unit 610) bus 630, display unit 640 etc..
Wherein, storage unit is stored with program code, and program code can be executed with unit 610 processed, so that processing is single
Member 610 executes various exemplary implementations according to the present invention described in this specification above-mentioned electronic prescription circulation processing method part
The step of mode.For example, processing unit 610 can execute step as shown in fig. 1.
Storage unit 620 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit
(RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Storage unit 620 can also include program/utility with one group of (at least one) program module 6205
6204, such program module 6205 includes but is not limited to: operating system, one or more application program, other program moulds
It may include the realization of network environment in block 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 platform etc..
The embodiment of the present invention also provides a kind of computer readable storage medium, and for storing program, program is performed reality
The step of method of existing edge calculations node data transmission.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 program product is run on the terminal device, journey
Sequence code is for executing terminal device described in this specification above-mentioned electronic prescription circulation processing method part according to this hair
The step of bright various illustrative embodiments.
As it appears from the above, the embodiment can support the loose coupling mode branch by adding expansion board to existing Internet of things hardware
Internet of Things edge calculations node is held to block chain data connection.Data cache module designed by the present invention can guarantee and block chain
Efficiency, and guarantee edge calculations node identity information (node private key) can secure storage on node.The present invention towards
The internet of things data connection hardware design of block chain can be suitably used for all kinds of block platform chains.
Fig. 4 is the structural schematic diagram of computer readable storage medium of the invention.Refering to what is shown in Fig. 4, describing according to this
The program product 800 for realizing the above method of the embodiment of invention can use the read-only storage of portable compact disc
Device (CD-ROM) and including program code, and can be run on terminal device, such as PC.However, journey of the invention
Sequence product is without being limited thereto, and in this document, readable storage medium storing program for executing can be any tangible medium for including or store program, the journey
Sequence can be commanded execution system, device or device use or in connection.
Program product can be using any combination of one or more readable mediums.Readable medium can be readable signal Jie
Matter 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 partly lead
System, device or the device of body, or any above combination.More specific example (the non exhaustive column of readable storage medium storing program for executing
Table) it include: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only storage
Device (ROM), erasable type repeat program 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.
Computer readable storage medium may include in a base band or as carrier wave a part propagate data-signal,
In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal,
Optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any readable Jie other than readable storage medium storing program for executing
Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its
The program of combined use.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, including but not
It is 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, programming language include object oriented program language-Java, C++ etc., further include conventional process
Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user
It executes in equipment, partly execute on a user device, executing, as an independent software package partially in user calculating equipment
Upper part executes on a remote computing or executes in remote computing device or server completely.It is being related to remotely counting
In the situation for calculating equipment, 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).
To sum up, the purpose of the present invention is to provide the method for edge calculations node data transmission, system, equipment and storages to be situated between
Matter can support that the loose coupling mode by adding expansion board to existing Internet of things hardware supports Internet of Things edge calculations node to arrive
Block chain data connection.Data cache module designed by the present invention, which can guarantee, executes the required encryption and decryption operation of block chain communication
Efficiency, guarantee edge calculations node identity information (node private key) can secure storage on node.The present invention is towards area
The internet of things data connection hardware design of block chain can be suitably used for all kinds of block platform chains.
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 method of edge calculations node data transmission, which comprises the following steps:
S101, edge calculations node will be sent to the data buffer storage of block chain in hardware cache;
S102, the edge calculations node read data from the hardware cache;
S103, generation are sent to the data-message of block chain endorsement node-authentication;
S104, intelligent contract specified by each block chain endorsement node execution corresponding data message is sent data messages to;
S105, edge calculations node receive the message back of each block chain endorsement node, and store each block chain node pair
The signature of data-message is into hardware cache;And
S106, each node is generated into data-message packet to signature of data-message and data-message itself, and is sent to block
Chain, which enters chain service, to carry out into chain.
2. the method for edge calculations node data transmission according to claim 1, which is characterized in that the step S101
In, the edge calculations node receives data by internet of things data module interface and is cached in data cache module to be committed
In, the data cache module reads private key slot and with private key to data signature, the specified required block chain method name called
Claim, it is specified call block chain method parameter, the objective identification person's block chain node address for specifying the data-message to need to send with
And the data-message is specified to enter chain address of service by the target block chain sent after identification.
3. the method for edge calculations node data transmission according to claim 1, which is characterized in that the step S103
In, the edge calculations node by by Internet of things hardware module with data-message generation module is direct-connected disappears to quickly generate data
Breath.
4. the method for edge calculations node data transmission according to claim 3, which is characterized in that the data-message is raw
It include edge calculations node signature, assessor's signature and read-write set, data combination at module message content generated
It is to be defined by block chain data protocol.
5. the method for edge calculations node data transmission according to claim 1, which is characterized in that the step S104
In, data-message is sent to block chain node by network communication protocol used by block chain as communication engine, communication is drawn
It holds up and reads every data information and sending to assessor's node address as specified by message caching module.
6. the method for edge calculations node data transmission according to claim 1, which is characterized in that the step S105
In, comprising: when the message for receiving the endorsement node return of block chain, edge calculations node reads the signature of return node and storage is arrived
In message caching;
Judge whether the message is that first block chain endorsement node returns, if so, edge calculations node will be it in message
Need to be stored in the data field contents storage of block chain afterwards into message caching, if it is not, then edge calculations node will parse message
The middle data field for needing to be stored in block chain is closed using merging algorithm specified in advance with the content in message format later
And it updates after merging algorithm and successfully merging to message and caches.
7. the method for edge calculations node data transmission according to claim 1, which is characterized in that the step S106
In, edge calculations node, which generates data packet and is sent to block chain, enters chain node, is read from caching into chain node address, needs
The data-message content for entering chain and all endorsement nodes finally send the data packet by communications hardware modules to the signature of the message
Enter chain node address to target.
8. a kind of system of edge calculations node data transmission, for realizing edge meter described in any one of claims 1 to 7
The method of operator node data transmission characterized by comprising
Edge calculations node, for the data buffer storage of block chain will to be sent in hardware cache, the edge calculations node
Data are read from the hardware cache;Edge calculations node receives the message back of each block chain endorsement node, and stores
Each block chain node to the signature of data message into hardware cache, and by each node to the signature and data of data-message
Message itself generates data-message packet, and is sent to block chain and enters chain service and carry out into chain;
Message-oriented middleware is sent data messages to each for generating the data-message for being sent to block chain node-authentication
Block chain node.
9. the system of edge calculations node data transmission according to claim 8, which is characterized in that the edge calculations section
It puts and includes:
Central processing unit, for being configured to repeatable programming hardware computational unit;And it is read from data from software package
Logical program is managed, memory is stored in;
Memory, for storing the configuration of the data process method program;
Key storage module generates and stores public and private key, realizes encryption and decryption, signature and verifying signature;
Repeatable programming hardware computational unit, for getting pending data from the memory, and according to the data at
It manages logical program and itself configuration handles the pending data.
10. the system of edge calculations node data transmission according to claim 9, which is characterized in that the edge calculations
Node further includes data cache module and block chain data engine;
The central processing unit is also used to generate data when the repeatable programming hardware computational unit processing data are completed and disappear
Breath packet, and the data cache module is written;And the data-message packet is sent to the block chain data engine;
The block chain data engine is for calling intelligent contract by data processed result storage into the block chain.
11. the system of edge calculations node data transmission according to claim 10, which is characterized in that the data buffer storage
Module includes private key channel mould block, calls intelligent contract module, data signature cache module and block chain node address module.
12. the system of edge calculations node data transmission according to claim 10, which is characterized in that the key storage
Module includes equipment public affairs private key module, CA public key module and block chain node public key module.
13. the system of edge calculations node data transmission according to claim 9, which is characterized in that further include edge meter
Equipment is calculated, the edge calculations equipment obtains developer to the signature of software package for generating data processing software packet;And
Data processing software packet after signature is stored to the block chain.
14. a kind of equipment of edge calculations node data transmission characterized by comprising
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to come any one of perform claim requirement 1 to 7 institute via the execution executable instruction
The step of stating the method for edge calculations node data transmission.
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 7 described in edge calculations node data transmission method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810545570.7A CN110535631A (en) | 2018-05-25 | 2018-05-25 | Method, system, equipment and the storage medium of edge calculations node data transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810545570.7A CN110535631A (en) | 2018-05-25 | 2018-05-25 | Method, system, equipment and the storage medium of edge calculations node data transmission |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110535631A true CN110535631A (en) | 2019-12-03 |
Family
ID=68657822
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810545570.7A Pending CN110535631A (en) | 2018-05-25 | 2018-05-25 | Method, system, equipment and the storage medium of edge calculations node data transmission |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110535631A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111190741A (en) * | 2020-01-03 | 2020-05-22 | 深圳鲲云信息科技有限公司 | Scheduling method, device and storage medium based on deep learning node calculation |
CN111447234A (en) * | 2020-04-01 | 2020-07-24 | 中科全维科技(苏州)有限公司 | Block chain structure suitable for edge calculation |
CN112825529A (en) * | 2019-11-21 | 2021-05-21 | 树根互联技术有限公司 | Method, system, equipment and storage medium for data transmission of edge computing node |
CN112968942A (en) * | 2021-01-29 | 2021-06-15 | 南京邮电大学 | Block chain data safety storage frame and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140067758A1 (en) * | 2012-08-28 | 2014-03-06 | Nokia Corporation | Method and apparatus for providing edge-based interoperability for data and computations |
CN107249046A (en) * | 2017-08-15 | 2017-10-13 | 李俊庄 | A kind of distributed cloud storage system construction method based on block chain |
CN107508680A (en) * | 2017-07-26 | 2017-12-22 | 阿里巴巴集团控股有限公司 | Digital certificate management method, device and electronic equipment |
CN107911421A (en) * | 2017-10-30 | 2018-04-13 | 上海点融信息科技有限责任公司 | For configuring the method for internetwork communication, equipment and computer-readable storage medium in block chain |
-
2018
- 2018-05-25 CN CN201810545570.7A patent/CN110535631A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140067758A1 (en) * | 2012-08-28 | 2014-03-06 | Nokia Corporation | Method and apparatus for providing edge-based interoperability for data and computations |
CN107508680A (en) * | 2017-07-26 | 2017-12-22 | 阿里巴巴集团控股有限公司 | Digital certificate management method, device and electronic equipment |
CN107249046A (en) * | 2017-08-15 | 2017-10-13 | 李俊庄 | A kind of distributed cloud storage system construction method based on block chain |
CN107911421A (en) * | 2017-10-30 | 2018-04-13 | 上海点融信息科技有限责任公司 | For configuring the method for internetwork communication, equipment and computer-readable storage medium in block chain |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112825529A (en) * | 2019-11-21 | 2021-05-21 | 树根互联技术有限公司 | Method, system, equipment and storage medium for data transmission of edge computing node |
CN111190741A (en) * | 2020-01-03 | 2020-05-22 | 深圳鲲云信息科技有限公司 | Scheduling method, device and storage medium based on deep learning node calculation |
CN111190741B (en) * | 2020-01-03 | 2023-05-12 | 深圳鲲云信息科技有限公司 | Scheduling method, equipment and storage medium based on deep learning node calculation |
CN111447234A (en) * | 2020-04-01 | 2020-07-24 | 中科全维科技(苏州)有限公司 | Block chain structure suitable for edge calculation |
CN112968942A (en) * | 2021-01-29 | 2021-06-15 | 南京邮电大学 | Block chain data safety storage frame and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108985757B (en) | Information processing method, device and system, storage medium and electronic equipment | |
KR101932277B1 (en) | Distributed Ledger Device and Distributed Ledger Method for Sharing User Information using Blockchain | |
JP6532930B1 (en) | Distributed ledger for block chain based user identification management, distributed ledger method | |
CN110365491B (en) | Service processing method, device, equipment, storage medium and data sharing system | |
CN110992027B (en) | Efficient transaction method and device for realizing privacy protection in block chain | |
CN110535631A (en) | Method, system, equipment and the storage medium of edge calculations node data transmission | |
CN108305170A (en) | External service access method, system, equipment and storage medium based on block chain | |
CN106412024B (en) | A kind of page acquisition methods and device | |
JP2019153260A (en) | Distributed ledger device and distributed ledger method for shared economic | |
KR20100075896A (en) | Method and device for managing application data in a nfc system | |
CN109767200B (en) | Electronic payment method, device, system and storage medium | |
CN108846753A (en) | Method and apparatus for handling data | |
US20220271924A1 (en) | Method and apparatus for processing data request | |
US20170171192A1 (en) | Managing exchanges of sensitive data | |
CN113722683B (en) | Model protection method, device, equipment, system and storage medium | |
CN109783077B (en) | Block chain system, middleware system thereof, data uplink method and storage medium | |
CN102523095A (en) | User digital certificate remote update method with intelligent card protection function | |
CN109358859A (en) | The method, apparatus and storage medium of intelligent contract are installed in block chain network | |
CN111178840A (en) | Service processing method, device, system, electronic equipment and storage medium | |
CN107835181A (en) | Right management method, device, medium and the electronic equipment of server cluster | |
CN108876299A (en) | A kind of method and device handling electronic contract | |
CN110531989A (en) | Believable internet of things data processing method, system, equipment and storage medium | |
CN104009955B (en) | A kind of processing method of associated person information, device and system | |
CN108829436A (en) | Hot restorative procedure, device, system, electronic equipment and computer-readable medium | |
CN109005250A (en) | Method and apparatus for accessing server-side |
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 |