CN112825529A - Method, system, equipment and storage medium for data transmission of edge computing node - Google Patents

Method, system, equipment and storage medium for data transmission of edge computing node Download PDF

Info

Publication number
CN112825529A
CN112825529A CN201911151352.6A CN201911151352A CN112825529A CN 112825529 A CN112825529 A CN 112825529A CN 201911151352 A CN201911151352 A CN 201911151352A CN 112825529 A CN112825529 A CN 112825529A
Authority
CN
China
Prior art keywords
data
node
edge computing
message
block chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911151352.6A
Other languages
Chinese (zh)
Inventor
黄胜
徐晓旻
王欣
陈垚亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Irootech Technology Co ltd
Original Assignee
Irootech Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Irootech Technology Co ltd filed Critical Irootech Technology Co ltd
Priority to CN201911151352.6A priority Critical patent/CN112825529A/en
Publication of CN112825529A publication Critical patent/CN112825529A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/72Signcrypting, i.e. digital signing and encrypting simultaneously
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

The invention provides a method, a system, equipment and a storage medium for data transmission of edge computing nodes, wherein the method comprises the following steps: caching data to be sent to a block chain in a hardware cache by an edge computing node; the edge computing node reads data from the hardware cache; generating a data message to be sent to the block chain endorsement node identification; sending the data message to each block chain endorsement node to execute the intelligent contract designated by the corresponding data message; the edge computing node receives message replies of all block chain endorsement nodes and stores the signatures of all block chain link nodes on the data messages into a hardware cache; and generating a data message packet by the signature of each node on the data message and the data message, and sending the data message packet to the block link-in service for chain-in. The invention supports the data connection from the edge computing node of the support networking to the block chain, can ensure the efficiency of executing the block chain communication, and ensures that the identity information of the edge computing node can be safely stored on the node.

Description

Method, system, equipment and storage medium for data transmission of edge computing node
Technical Field
The present invention relates to the field of data transmission, and in particular, to a method, a system, a device, and a storage medium for data transmission of an edge computing node.
Background
Currently, a large number of nodes with edge computing capability exist in the internet of things. Data generated by the existing edge computing node has the risks of easy tampering and data leakage, so that a great demand for the data access block chain of the Internet of things is generated. Moreover, the hardware of most edge compute nodes today cannot meet the huge encryption and decryption overhead introduced by communicating directly with the blockchain. Meanwhile, the block chain client software is operated on the edge computing node hardware, so that the consumption of computing resources is extremely high, and the method cannot be applied to most low-energy-consumption computing edge nodes.
Disclosure of Invention
The present invention is directed to a method, a system, a device, and a storage medium for data transmission of an edge computing node, which can support data connection from an edge computing node to a blockchain, ensure efficiency of encryption/decryption operation required for performing blockchain communication, and ensure that identity information of the edge computing node can be safely stored in the node.
The embodiment of the invention provides a method for transmitting data of an edge computing node, which comprises the following steps:
s101, caching data to be sent to a block chain in a hardware cache by an edge computing node;
s102, the edge computing node reads data from the hardware cache;
s103, generating a data message to be sent to the block chain endorsement node identification;
s104, sending the data message to each block chain endorsement node to execute the intelligent contract designated by the corresponding data message;
s105, the edge computing node receives the message reply of each block chain endorsement node, and stores the signature of each block chain link node on the data message into a hardware cache; and
and S106, generating a data message packet by the signature of each node on the data message and the data message, and sending the data message packet to the block link-in service for chain-in.
Preferably, in step S101, the edge computing node receives data through an internet of things data module interface and caches the data in a to-be-submitted data caching module, and the data caching module reads a private key slot and signs a data signature with a private key, specifies a block chain method name to be called, specifies a called block chain method parameter, specifies a target authenticator block chain link point address to be sent to the data message, and specifies a target block chain entry service address to be sent after the data message passes authentication.
Preferably, in step S103, the edge computing node directly connects the internet of things hardware module with the data message generation module to quickly generate the data message.
Preferably, the message content generated by the data message generation module includes an edge computing node signature, an authenticator signature and a read-write set, and the data combination mode is defined by a block chain data protocol.
Preferably, in step S104, the data message is sent to the blockchain node by the communication engine through a network communication protocol adopted by the blockchain, and the communication engine reads each data message and sends the data message to the authenticator node address specified by the message cache module.
Preferably, the step S105 includes: when receiving a message returned by the block chain endorsement node, the edge computing node reads the signature of the returned node and stores the signature in a message cache;
judging whether the message is returned by the first block chain endorsement node, if so, storing the data field content which needs to be stored into the block chain in the message into a message cache by the edge computing node, if not, analyzing the data field which needs to be stored into the block chain in the message by the edge computing node, merging the data field content with the content in the message cache by adopting a preset merging algorithm (for example, performing read-write comparison on the byte and the message received before to ensure consistency), and updating the merged message cache after the merging algorithm is successfully merged.
Preferably, in step S106, the edge computing node generates a data packet and sends the data packet to the block link entry node, reads the entry link point address, the content of the data message that needs to enter the link, and the signature of all endorsement nodes on the message from the cache, and finally sends the data packet to the target entry link point address by the communication hardware module.
The embodiment of the present invention further provides a system for data transmission of an edge computing node, which is used to implement the above method for data transmission of an edge computing node, where the system for data transmission of an edge computing node includes:
the edge computing node is used for caching data to be sent to the block chain in a hardware cache, and the edge computing node reads the data from the hardware cache; the edge computing node receives the message reply of each block chain endorsement node, stores the signature of each block chain link node point to the data message into a hardware cache, generates a data message packet by the signature of each node to the data message and the data message, and sends the data message packet to a block chain entering service for entering a chain;
and the message middleware is used for generating a data message to be sent to the block chain node identification and sending the data message to each block chain node.
Preferably, the edge computing node comprises:
the central processing unit is used for configuring the reprogrammable hardware computing unit; reading the data processing logic program from the software package and storing the data processing logic program into the memory;
the memory is used for storing the configuration of the data processing logic program;
the key storage module is used for generating and storing a public key and a private key to realize encryption, decryption, signature and signature verification;
and the reprogrammable hardware computing unit is used for acquiring the data to be processed from the memory and processing the data to be processed according to the data processing logic program and the self configuration.
Preferably, the edge computing node further comprises a data caching module and a blockchain data engine;
the central processing unit is also used for generating a data message packet and writing the data message packet into the data cache module when the processing of the data by the reprogrammable hardware computing unit is finished; and sending the data message packet to the blockchain data engine;
the block chain data engine is used for calling an intelligent contract to store a data processing result into the block chain.
Preferably, the data caching module comprises a private key slot module, an intelligent contract calling module, a data signature caching module and a block link point address module.
Preferably, the key storage module includes an equipment public and private key module, a CA public key module, and a block link point public key module.
Preferably, the system further comprises an edge computing device, wherein the edge computing device is used for generating the data processing software package and acquiring the signature of the developer on the software package; and storing the signed data processing software package to the block chain.
The embodiment of the present invention further provides an edge computing node data transmission device, including:
a processor;
a memory having stored therein executable instructions of the processor;
wherein the processor is configured to perform the steps of the above method of edge compute node data transfer via execution of the executable instructions.
Embodiments of the present invention also provide a computer-readable storage medium for storing a program, which when executed, implements the steps of the above method for data transmission of an edge computing node.
The invention aims to provide a method, a system, equipment and a storage medium for data transmission of an edge computing node, which can support data connection from a network-connected edge computing node to a block chain, can ensure the efficiency of encryption and decryption operation required by block chain communication execution, and can ensure that identity information of the edge computing node can be safely stored on the node.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, with reference to the accompanying drawings.
FIG. 1 is a flow chart of a method of data transmission by an edge compute node of the present invention.
Fig. 2 is a block diagram of a system for data transmission of an edge compute node of the present invention.
Fig. 3 is a schematic structural diagram of an apparatus for data transmission of an edge computing node according to the present invention. And
fig. 4 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and thus their repetitive description will be omitted.
The invention designs a special hardware structure for the edge computing node and the block chain communication so as to ensure that the edge computing node can execute the encryption and decryption operation efficiency required by the block chain communication, and the identity information (node private key) of the edge computing node can be safely stored on the node. FIG. 1 is a flow chart of a method of data transmission by an edge compute node of the present invention. As shown in fig. 1, an embodiment of the present invention provides a method for data transmission of an edge computing node, including the following steps:
s101, caching data to be sent to the block chain in a hardware cache by the edge computing node. In a preferred scheme, the edge computing node receives data through an internet of things data module interface and caches the data in a data cache module to be submitted, the data cache module reads a private key slot and signs data with a private key, specifies a block chain method name to be called, specifies a block chain method parameter to be called, specifies a block chain link point address of a target authenticator to be sent for the data message, and specifies a block chain-in service address of the target to be sent after the data message passes authentication.
S102, the edge computing node reads data from the hardware cache.
And S103, generating a data message to be sent to the block chain node identification. In a preferred embodiment, the edge computing node generates the data message quickly by directly connecting the internet of things hardware module with the data message generation module. In a preferred scheme, the message content generated by the data message generation module comprises an edge computing node signature, an authenticator signature and a read-write set, and the data combination mode is defined by a block chain data protocol.
And S104, sending the data message to each block chain node. In a preferred embodiment, the data message is sent by the communication engine to the blockchain endorsement node via the TCP/IP protocol to implement the intelligent contract defined by the data message, and the communication engine reads each data message and sends it to the authenticator node address specified by the message cache module.
And S105, the edge computing node receives the message reply of each block chain node and stores the signature of each block chain node on the data message into a hardware cache. In a preferred embodiment, the step S105 includes: when receiving a message returned by the block chain endorsement node, the edge computing node reads the signature of the returned node and stores the signature in a message cache; judging whether the message is returned by the first block chain endorsement node, if so, storing the data field content which needs to be stored into the block chain in the message into a message cache by the edge computing node, if not, analyzing the data field which needs to be stored into the block chain in the message by the edge computing node, merging the data field content with the content in the message cache by adopting a preset merging algorithm (for example, performing read-write comparison on the byte and the message received before to ensure consistency), and updating the merged message cache after the merging algorithm is successfully merged.
And S106, generating a data message packet by the signature of each node on the data message and the data message, and sending the data message packet to the block link-in service for chain-in. In step S106, the edge computing node generates an IP packet and sends the IP packet to the block chaining entry node, reads the entry link node address, the read-write set content, and the signature of all endorsement nodes on the message from the cache, and finally sends the packet to the target entry link node address by the communication hardware module.
The hardware extension structure designed by the invention can support the data connection from the support networking edge computing node to the block chain in a loose coupling mode of adding an extension board to the existing Internet of things hardware. The data caching module designed by the invention can ensure the efficiency of data communication with the block chain and ensure that the identity information (node private key) of the edge computing node can be safely stored on the node. The block chain-oriented data connection hardware design of the Internet of things can be suitable for various block chain platforms.
Fig. 2 is a block diagram of a system for data transmission of an edge compute node of the present invention. As shown in fig. 2, an embodiment of the present invention further provides a system 5 for data transmission of an edge computing node, configured to implement the above method for data transmission of an edge computing node, in this embodiment, a customized data caching module is used to cache a block chain method, a signature, an address, and the like; generating and storing a public key and a private key by using a customized key storage module to realize encryption, decryption, signature and signature verification; using a blockchain data engine to efficiently generate a request message data structure; providing a credible industrial level Internet of things hardware interface; providing a reprogrammable hardware module (such as an FPGA module) to perform preprocessing on data generated by equipment (such as a sensor) of the Internet of things; the central processing unit CPU is mainly used for configuration loading of reprogrammable hardware modules. The CPU in this embodiment may also be replaced with RISC-V chips or future developed processor products.
Specifically, in this embodiment, the system for data transmission of the edge computing node includes: edge compute nodes and message middleware. The edge computing node is used for caching data to be sent to the block chain in a hardware cache, and the edge computing node reads the data from the hardware cache; generating a data message to be sent to the block chain node identification; sending the data message to each blockchain endorsement node; and the edge computing node receives the message reply of each block chain endorsement node, stores the signature of each block chain link node on the data message into a hardware cache, generates a data message packet by the signature of each node on the data message and sends the data message packet to a block chain entering service for entering a chain. The message middleware is used for generating a data message to be sent to the block chain node identification and sending the data message to each block chain node.
Further, the edge computing node includes:
the central processing unit is used for configuring the reprogrammable hardware computing unit; reading the data processing logic program from the software package and storing the data processing logic program into the memory;
the memory is used for storing the configuration of the data processing logic program;
the key storage module is used for generating and storing a public key and a private key to realize encryption, decryption, signature and signature verification;
and the reprogrammable hardware computing unit is used for acquiring the data to be processed from the memory and processing the data to be processed according to the data processing logic program and the self configuration.
Further, the edge computing node further comprises a data caching module and a blockchain data engine;
the central processing unit is also used for generating a data message packet and writing the data message packet into the data cache module when the processing of the data by the reprogrammable hardware computing unit is finished; and sending the data message packet to the blockchain data engine;
the block chain data engine is used for calling an intelligent contract to store a data processing result into the block chain.
Furthermore, the data cache module comprises a private key slot module, an intelligent contract calling module, a data signature cache module and a block chain link point address module.
Furthermore, the key storage module comprises an equipment public and private key module, a CA public key module and a block chain link point public key module.
Further, the system also comprises an edge computing device, wherein the edge computing device is used for generating the data processing software package and acquiring the signature of the developer on the software package; and storing the signed data processing software package to the block chain.
The present invention provides a specialized hardware structure to store the commit data and associated signatures, encryption algorithms and node addresses. Moreover, the invention provides a special encryption and decryption module for generating and storing public and private key pair encryption and decryption, signature and signature verification. The data request engine in the invention can efficiently generate the data message to be submitted to the block link point, and provides a credible industrial level Internet of things module hardware interface.
The hardware extension structure designed by the invention can support the data connection from the support networking edge computing node to the block chain in a loose coupling mode of adding an extension board to the existing Internet of things hardware. The data caching module designed by the invention can ensure the efficiency of communication with the block chain and ensure that the identity information (node private key) of the edge computing node can be safely stored on the node. The block chain-oriented data connection hardware design of the Internet of things can be suitable for various block chain platforms.
The embodiment of the invention also provides equipment for data transmission of the edge computing node, which comprises a processor. A memory having stored therein executable instructions of the processor. Wherein the processor is configured to perform the steps of the method of edge compute node data transfer via execution of the executable instructions.
As indicated above, this embodiment can support the support of the internet-of-things edge compute node to blockchain data connections in a loosely coupled manner by adding an expansion board to the existing internet-of-things hardware. The data caching module designed by the invention can ensure the efficiency of communication with the block chain and ensure that the identity information (node private key) of the edge computing node can be safely stored on the node. The block chain-oriented data connection hardware design of the Internet of things can be suitable for various block chain platforms.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" platform.
Fig. 3 is a schematic structural diagram of an apparatus for data transmission of an edge computing node according to the present invention. An electronic device 600 according to this embodiment of the invention is described below with reference to fig. 3. The electronic device 600 shown in fig. 3 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 3, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one memory unit 620, a bus 630 connecting the different platform components (including the memory unit 620 and the processing unit 610), a display unit 640, etc.
Wherein the storage unit stores program code executable by the processing unit 610 to cause the processing unit 610 to perform steps according to various exemplary embodiments of the present invention described in the above-mentioned electronic prescription flow processing method section of the present specification. For example, processing unit 610 may perform the steps as shown in fig. 1.
The storage unit 620 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM) 6201 and/or a cache memory unit 6202, and may further include a read-only memory unit (ROM) 6203.
The memory unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 630 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 600, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 650. Also, the electronic device 600 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via the bus 630. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, to name a few.
The embodiment of the invention also provides a computer readable storage medium for storing a program, and the program realizes the steps of the method for transmitting the data of the edge computing node when being executed. In some possible embodiments, the aspects of the present invention may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the present invention described in the above-mentioned electronic prescription flow processing method section of this specification, when the program product is run on the terminal device.
As indicated above, this embodiment can support the support of the internet-of-things edge compute node to blockchain data connections in a loosely coupled manner by adding an expansion board to the existing internet-of-things hardware. The data caching module designed by the invention can ensure the efficiency of the block chain and ensure that the identity information (node private key) of the edge computing node can be safely stored on the node. The block chain-oriented data connection hardware design of the Internet of things can be suitable for various block chain platforms.
Fig. 4 is a schematic structural diagram of a computer-readable storage medium of the present invention. Referring to fig. 4, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable re-programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In summary, the present invention is directed to a method, a system, a device, and a storage medium for data transmission of an edge computing node, which can support a data connection from an edge computing node to a block chain in a loosely coupled manner by adding an expansion board to existing internet of things hardware. The data caching module designed by the invention can ensure the encryption and decryption operation efficiency required by block chain communication execution and ensure that the identity information (node private key) of the edge computing node can be safely stored on the node. The block chain-oriented data connection hardware design of the Internet of things can be suitable for various block chain platforms.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (15)

1. A method for data transmission of an edge computing node, comprising the steps of:
s101, caching data to be sent to a block chain in a hardware cache by an edge computing node;
s102, the edge computing node reads data from the hardware cache;
s103, generating a data message to be sent to the block chain endorsement node identification;
s104, sending the data message to each block chain endorsement node to execute the intelligent contract designated by the corresponding data message;
s105, the edge computing node receives the message reply of each block chain endorsement node, and stores the signature of each block chain link node on the data message into a hardware cache; and
and S106, generating a data message packet by the signature of each node on the data message and the data message, and sending the data message packet to the block link-in service for chain-in.
2. The method for data transmission of an edge computing node according to claim 1, wherein in step S101, the edge computing node receives data through an internet of things data module interface and buffers the data in a data buffer module to be submitted, the data buffer module reads a private key slot and signs the data with a private key, specifies a name of a block chain method to be called, specifies a parameter of a block chain method to be called, specifies an address of a block chain link point of a target authenticator that the data message needs to be sent, and specifies an address of a block chain in-chain service that the data message is sent after passing authentication.
3. The method for data transmission of an edge computing node according to claim 1, wherein in step S103, the edge computing node generates the data message quickly by directly connecting an internet of things hardware module and a data message generation module.
4. The method for data transmission of an edge computing node according to claim 3, wherein the message content generated by the data message generation module includes an edge computing node signature, an authenticator signature and a read-write set, and the data combination mode is defined by a block chain data protocol.
5. The method of claim 1, wherein in step S104, the data message is sent to the blockchain node by the communication engine through a network communication protocol used by the blockchain, and the communication engine reads each data message and sends the data message to the authenticator node address specified by the message cache module.
6. The method for data transmission of an edge computing node according to claim 1, wherein the step S105 includes: when receiving a message returned by the block chain endorsement node, the edge computing node reads the signature of the returned node and stores the signature in a message cache;
judging whether the message is returned by the first block chain endorsement node, if so, storing the data field content which needs to be stored into the block chain in the message into a message cache by the edge computing node, otherwise, analyzing the data field which needs to be stored into the block chain in the message by the edge computing node, merging the data field content with the content in the message cache by adopting a pre-specified merging algorithm, and updating the data field content into the message cache after the merging algorithm is successfully merged.
7. The method for data transmission of an edge computing node according to claim 1, wherein in step S106, the edge computing node generates a data packet and sends the data packet to a block link entry node, reads an entry link node address, data message content that needs to enter a link, and signatures of all endorsement nodes on the message from a buffer, and finally sends the data packet to a target entry link node address by a communication hardware module.
8. A system for data transmission of an edge computing node, configured to implement the method for data transmission of an edge computing node according to any one of claims 1 to 7, comprising:
the edge computing node is used for caching data to be sent to the block chain in a hardware cache, and the edge computing node reads the data from the hardware cache; the edge computing node receives the message reply of each block chain endorsement node, stores the signature of each block chain link node point to the data message into a hardware cache, generates a data message packet by the signature of each node to the data message and the data message, and sends the data message packet to a block chain entering service for entering a chain;
and the message middleware is used for generating a data message to be sent to the block chain node identification and sending the data message to each block chain node.
9. The system for data transmission of an edge computing node of claim 8, wherein the edge computing node comprises:
the central processing unit is used for configuring the reprogrammable hardware computing unit; reading the data processing logic program from the software package and storing the data processing logic program into the memory;
the memory is used for storing the configuration of the data processing logic program;
the key storage module is used for generating and storing a public key and a private key to realize encryption, decryption, signature and signature verification;
and the reprogrammable hardware computing unit is used for acquiring the data to be processed from the memory and processing the data to be processed according to the data processing logic program and the self configuration.
10. The system for data transmission of an edge computing node according to claim 9, wherein the edge computing node further comprises a data caching module and a blockchain data engine;
the central processing unit is also used for generating a data message packet and writing the data message packet into the data cache module when the processing of the data by the reprogrammable hardware computing unit is finished; and sending the data message packet to the blockchain data engine;
the block chain data engine is used for calling an intelligent contract to store a data processing result into the block chain.
11. The system for data transmission of an edge computing node according to claim 10, wherein the data caching module comprises a private key slot module, a call intelligent contract module, a data signature caching module, and a block link node address module.
12. The system of claim 10, wherein the key storage module comprises a device public-private key module, a CA public key module, and a block-linked node public key module.
13. The system for data transmission of an edge computing node of claim 9, further comprising an edge computing device configured to generate a data processing software package and obtain a signature of a developer on the software package; and storing the signed data processing software package to the block chain.
14. An apparatus for data transmission by an edge compute node, comprising:
a processor;
a memory having stored therein executable instructions of the processor;
wherein the processor is configured to perform the steps of the method of edge compute node data transmission of any of claims 1 to 7 via execution of the executable instructions.
15. A computer-readable storage medium storing a program which, when executed, performs the steps of the method of data transmission for an edge compute node of any one of claims 1 to 7.
CN201911151352.6A 2019-11-21 2019-11-21 Method, system, equipment and storage medium for data transmission of edge computing node Pending CN112825529A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911151352.6A CN112825529A (en) 2019-11-21 2019-11-21 Method, system, equipment and storage medium for data transmission of edge computing node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911151352.6A CN112825529A (en) 2019-11-21 2019-11-21 Method, system, equipment and storage medium for data transmission of edge computing node

Publications (1)

Publication Number Publication Date
CN112825529A true CN112825529A (en) 2021-05-21

Family

ID=75907489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911151352.6A Pending CN112825529A (en) 2019-11-21 2019-11-21 Method, system, equipment and storage medium for data transmission of edge computing node

Country Status (1)

Country Link
CN (1) CN112825529A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107249046A (en) * 2017-08-15 2017-10-13 李俊庄 A kind of distributed cloud storage system construction method based on block chain
US20190166101A1 (en) * 2017-11-24 2019-05-30 International Business Machines Corporation Cognitive blockchain for internet of things
CN110535631A (en) * 2018-05-25 2019-12-03 上海诚频信息科技合伙企业(有限合伙) Method, system, equipment and the storage medium of edge calculations node data transmission

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107249046A (en) * 2017-08-15 2017-10-13 李俊庄 A kind of distributed cloud storage system construction method based on block chain
US20190166101A1 (en) * 2017-11-24 2019-05-30 International Business Machines Corporation Cognitive blockchain for internet of things
CN110535631A (en) * 2018-05-25 2019-12-03 上海诚频信息科技合伙企业(有限合伙) Method, system, equipment and the storage medium of edge calculations node data transmission

Similar Documents

Publication Publication Date Title
CN109194673B (en) Authentication method, system, equipment and storage medium based on user authorization information
KR101778768B1 (en) METHOD OF CONTROLLING IoT DEVICE AND IoT DEVICE CONTROL SYSTEM FOR PERFORMING THE SAME
CN108960830B (en) Intelligent contract deployment method, device, equipment and storage medium
US10122693B2 (en) Protocol based key management
US20200364075A1 (en) Blockchain network transaction processing method, apparatus, device, and storage medium
US20080235258A1 (en) Method and Apparatus for Processing Extensible Markup Language Security Messages Using Delta Parsing Technology
CN110825479A (en) Page processing method and device, terminal equipment, server and storage medium
CN107404418B (en) Internet product testing method, device, equipment and storage medium
US10389685B2 (en) Systems and methods for securely transferring selective datasets between terminals
CN109885990B (en) Script management method
CN109101664B (en) Data transmission method, device, equipment and medium for lightweight node
CN110661853A (en) Data proxy method, device, computer equipment and readable storage medium
US11637868B2 (en) Attestation support for elastic cloud computing environments
CN109669787B (en) Data transmission method and device, storage medium and electronic equipment
CN110535631A (en) Method, system, equipment and the storage medium of edge calculations node data transmission
CN103444152B (en) A kind of information method of operating and system
CN111917856A (en) Mirror image file delivery method and related equipment
CN110633074A (en) Use control method and device of software development kit
US9449194B2 (en) Secure access to running client application features from a browser application
US11017029B2 (en) Data transfer system, data transfer apparatus, data transfer method, and computer-readable recording medium
US10949095B2 (en) Method, network adapters and computer program product using network adapter memory to service data requests
CN111221904A (en) Intelligent contract deployment and execution method and device, electronic equipment and storage medium
CN112825529A (en) Method, system, equipment and storage medium for data transmission of edge computing node
CN114443525B (en) Data processing system, method, electronic equipment and storage medium
CN113934554A (en) RPC cross-language communication method and device, storage medium and electronic equipment

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
CB02 Change of applicant information

Address after: Room 303-309, 3 Pazhou Avenue East Road, Haizhu District, Guangzhou, Guangdong 510000

Applicant after: Shugen Internet Co.,Ltd.

Address before: Room 303-309, 3 Pazhou Avenue East Road, Haizhu District, Guangzhou, Guangdong 510300

Applicant before: IROOTECH TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210521

WD01 Invention patent application deemed withdrawn after publication