A communication method for standardizing communication machine interface

By performing edge computing and data filtering on communication devices, and using blockchain technology to record the exchange history of communication data, combined with encryption and signature mechanisms, the problem of data being easily accessed and tampered in the existing technology is solved, and a high-security communication method is realized.

CN117527258BActive Publication Date: 2025-02-28BEIJING WANLIAN CENTURY TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311620933.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2025-02-28
Estimated Expiration
2043-11-30

AI Technical Summary

Technical Problem

In the prior art, data is stored in a centralized server, which easily leads to illegal access and tampering of data, and cannot effectively protect against data leakage.

Method used

Through edge computing fusion, data processing and filtering is performed on communication devices, only key data is transmitted to the central server, and blockchain technology is used to record the exchange history of communication data, combining encryption and signature mechanisms to provide data confidentiality and integrity.

Benefits of technology

It improves the real-time, reliability and security of communication, realizes decentralized secure storage of data, device authentication and permission management, and ensures the confidentiality and integrity of communication data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117527258B_ABST
    Figure CN117527258B_ABST
Patent Text Reader

Abstract

The present invention discloses a communication method for standardizing a communication machine interface, and relates to the field of communication technology. The present invention integrates edge computing and blockchain technology, reduces the burden on a central server through data smoothing and filtering, adopts blockchain technology to record the exchange history of communication data, and realizes decentralized and secure storage of data. Encryption and signature mechanisms are added to the standardized protocol to provide confidentiality and integrity of communication data. The entire communication process consists of edge computing, data filtering, blockchain recording and encrypted signature. Compared with traditional communication methods, instant processing on the device side reduces transmission delay and improves the real-time and responsiveness of communication. Blockchain technology provides the exchange history of communication data and records it on an unalterable blockchain, thereby realizing secure storage and historical tracing of data, preventing data from being tampered with and accessed without authorization, and making identity authentication and authority management of communication equipment safer and more reliable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a communication method for standardizing a communication machine interface. Background Art

[0002] Communication machine interface standardization is to develop a set of unified specifications and standards in the field of communication to provide effective communication and exchange between different devices, systems or platforms. These standards define the format, protocol, interface, electrical characteristics and other related parameters of data transmission, so that devices produced by different manufacturers can be compatible with each other and exchange data smoothly.

[0003] The importance of communication machine interface standardization lies in that it promotes cooperation between different manufacturers, reduces barriers to interoperability between devices, and improves the reliability and stability of the entire communication system. In this way, users can choose products from different manufacturers more flexibly without worrying about communication problems caused by incompatibility. In the field of communications, there are many different standardization organizations and institutions responsible for formulating various communication protocols and interface standards, such as the International Telecommunication Union (ITU), the International Organization for Standardization (ISO), the Institute of Electronic Engineers (IEEE), etc. These organizations will consider technological development, market demand and industry trends, formulate communication standards, and thus promote the development and application of communication technology. Communication machine interface standardization is the basis for providing seamless communication between different devices and systems. It plays a key role in promoting technological development and promoting industrial progress.

[0004] However, in traditional communication methods, since data is stored in a central server, there is a risk of tampering or unauthorized access. At the same time, the device's identity authentication and permission management mechanisms may not be sound enough, which can easily lead to illegal access and tampering of data. This may lead to wrong decisions in the system, misleading information dissemination, and even serious impact on business processes and decisions. If the data in a communication method with security protection is not properly encrypted, it will still not be able to effectively protect against data leakage. Unauthorized visitors may obtain sensitive information involving user privacy, business secrets, etc., which may cause privacy leakage problems, resulting in infringement of user privacy and damage to corporate reputation. Therefore, there is an urgent need for a highly secure, decentralized communication method with standardized communication machine interfaces. Summary of the invention

[0005] 1. Technical issues to be resolved

[0006] In view of the deficiencies of the prior art, the present invention provides a communication method for standardizing the communication machine interface, which solves the problem in the prior art that the data set stored in the central server is prone to illegal access and tampering of the data, and cannot be effectively protected against data leakage.

[0007] (II) Technical solution

[0008] To achieve the above objectives, the present invention is implemented by the following technical solutions. The present invention provides a communication method for standardizing a communication machine interface, including:

[0009] Edge computing fusion performs edge computing on communication devices to process some data and tasks. Edge nodes filter and process data according to pre-set rules and only transmit key data to the central server. The steps of edge computing fusion include:

[0010] Configure edge devices to collect production line data, including temperature, humidity, and pressure;

[0011] Use data smoothing to define the computing tasks that need to be performed on edge devices, including data preprocessing and feature extraction;

[0012] Formulate data filtering rules based on application scenarios;

[0013] According to the data filtering rules, the data filtered by the rules is transmitted to the central server using the MQTT protocol;

[0014] The central server receives data from edge devices and parses the data according to the communication protocol;

[0015] Blockchain technology integration records the exchange history of communication data on the blockchain;

[0016] Standardize protocol design and add encryption and signature mechanisms to the protocol.

[0017] The present invention is further configured as follows: data smoothing processing is adopted in the edge computing fusion step, and the specific formula is:

[0018]

[0019] Where Smoothed_Value(t) is the smoothed value at time point t, Data(t) is the raw data collected at time point t, and N is the size of the moving average window, indicating the first few data points considered;

[0020] The present invention is further configured as follows: the edge computing fusion step includes:

[0021] Formulate data filtering rules based on application scenarios;

[0022] Assume the application scenario is temperature monitoring, only transmit temperature data above the threshold, the logical judgment formula is:

[0023] iftemperature>threshold:transmit_data(temperature), where temperature is the measured temperature data, threshold is the set threshold, indicating that transmission is performed only when the temperature is higher than this threshold. The transmit_data(temperature) function indicates that the data that meets the conditions will be transmitted;

[0024] The present invention is further configured as follows: in the blockchain technology integration step:

[0025] Use Hyperledger Fabric to create a blockchain network;

[0026] Determine the smart contract chain code and define the data structure and transaction logic;

[0027] The data structure defined in the chain code includes device ID, timestamp, and data content;

[0028] Use Hyperledger Fabric’s CLI to install the chaincode to each node of the network;

[0029] Implement the logic of recording data exchange history in the chain code;

[0030] Provide transaction functions to store transaction information in the blockchain;

[0031] The present invention is further configured as follows: the data recording and transaction storage steps in the blockchain technology integration step:

[0032] Define the data structure in the chaincode and determine the transaction function used to store transaction information;

[0033] The transaction function accepts parameters and stores the transaction information in the blockchain state database;

[0034] Use Hyperledger Fabric's SDK to install the smart contract chain code on the network node and instantiate the chain code;

[0035] Call the RecordDataExchange transaction function to pass the data exchange information to the chaincode for processing;

[0036] The present invention is further configured as follows: the standardized protocol design step comprises:

[0037] Adopt Elliptic Curve Cryptography, ECC as the encryption algorithm, the specific encryption steps are:

[0038] Use the secp256r1 elliptic curve to generate ECC key pairs for the sender and receiver, including private and public keys;

[0039] The present invention is further configured as follows: the encryption step further comprises:

[0040] Using the Diffie-Hellman key exchange protocol, both parties calculate a shared symmetric key based on their own private keys and the other party's public key, and use the shared symmetric key to encrypt and decrypt communication data;

[0041] Use the sender's private key to generate a digital signature for the communication data, and use the elliptic curve digital signature algorithm ECDSA to sign it;

[0042] Using the sender's public key, the validity of the received digital signature is verified and the encrypted data and digital signature are transmitted to the receiver together;

[0043] Use the shared symmetric key to decrypt the encrypted communication data and restore the original data.

[0044] (III) Beneficial effects

[0045] The present invention provides a communication method for standardizing the communication machine interface. It has the following beneficial effects:

[0046] The communication method for standardized communication machine interface provided by the present invention integrates edge computing and blockchain technology to improve the real-time, reliability and security of communication. Edge computing performs data processing on the communication equipment, reduces the burden on the central server through data smoothing and filtering, improves real-time performance, and uses blockchain technology to record the exchange history of communication data to achieve decentralized and secure storage of data, while realizing device identity authentication and authority management. Encryption and signature mechanisms are added to the standardized protocol to provide confidentiality and integrity of communication data. The entire communication process consists of edge computing, data filtering, blockchain recording and encrypted signatures.

[0047] Compared with traditional communication methods, edge computing enables data to be processed instantly on the device side, reducing transmission delays, improving the real-time and responsiveness of communications, while effectively reducing the burden on central servers and improving data processing efficiency. Blockchain technology provides a record of the exchange history of communication data on an unalterable blockchain, achieving secure storage and historical traceability of data, preventing data from unauthorized tampering and access, and making the identity authentication and permission management of communication equipment more secure and reliable.

[0048] Through decentralized authentication and permission management, more reliable device authentication and permission control are achieved. In addition, encryption and signature mechanisms are added to provide confidentiality and integrity of communication data during transmission, fundamentally improving the security of data transmission.

[0049] The problem that the data set stored in the central server in the prior art is prone to illegal access and tampering of the data and cannot be effectively protected against data leakage is solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 The present invention is a flow chart of a communication method for standardizing the communication machine interface. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] Example

[0053] See also Figure 1 The present invention provides a communication method for standardizing a communication machine interface, comprising the following steps:

[0054] Before standardization requirements analysis, conduct a comprehensive analysis of the requirements for communication machine interface standards, including communication protocols, data formats, and security;

[0055] S1. Edge computing integration: edge computing is performed on communication devices to process some data and tasks, reduce the burden on the central server, and improve real-time performance. The edge node filters and processes data according to pre-set rules and only transmits key data to the central server;

[0056] The edge computing fusion steps include:

[0057] Configure edge devices to collect production line data, including temperature, humidity, and pressure;

[0058] Use data smoothing to define the computing tasks that need to be performed on edge devices, including data preprocessing and feature extraction;

[0059] Formulate data filtering rules based on application scenarios;

[0060] According to the data filtering rules, the data filtered by the rules is transmitted to the central server using the MQTT protocol;

[0061] The central server receives data from edge devices and parses the data according to the communication protocol;

[0062] Data smoothing is used, the specific formula is:

[0063]

[0064] Where Smoothed_Value(t) is the smoothed value at time point t, Data(t) is the raw data collected at time point t, and N is the size of the moving average window, indicating the first few data points considered;

[0065] When N=5 is selected, then each time a new data point arrives, the average of the previous five data points is calculated to obtain a smoothed value, thereby reducing data jitter caused by transient noise in sensor measurements;

[0066] Formulate data filtering rules based on application scenarios;

[0067] Assume the application scenario is temperature monitoring, only transmit temperature data above the threshold, the logical judgment formula is:

[0068] iftemperature>threshold:transmit_data(temperature), where temperature is the measured temperature data, threshold is the set threshold, indicating that transmission is performed only when the temperature is higher than this threshold. The transmit_data(temperature) function indicates that the data that meets the conditions will be transmitted;

[0069] S2. Blockchain technology integration records the exchange history of communication data on the blockchain, and uses the decentralized characteristics of the blockchain to achieve identity authentication and permission management of communication equipment, providing communication security;

[0070] Use Hyperledger Fabric to create a blockchain network;

[0071] Determine the smart contract chain code and define the data structure and transaction logic;

[0072] The data structure defined in the chain code includes device ID, timestamp, and data content;

[0073] Use Hyperledger Fabric’s CLI to install the chaincode to each node of the network;

[0074] Implement the logic of recording data exchange history in the chain code;

[0075] Provide transaction functions to store transaction information in the blockchain;

[0076] Steps for recording data and storing transactions:

[0077] Define the data structure in the chaincode and determine the transaction function used to store transaction information;

[0078] Define the data structure pseudo code:

[0079] type DataExchange struct{

[0080] DeviceID string`json:"device_id"`

[0081] Timestamp string`json:"timestamp"`

[0082] Data string `json:"data"`

[0083] }

[0084] The transaction function accepts parameters and stores the transaction information in the blockchain state database; transaction function pseudo code:

[0085]

[0086] return nil}

[0087] Use Hyperledger Fabric's SDK to install the smart contract chain code on the network node and instantiate the chain code;

[0088] Call the RecordDataExchange transaction function to pass the data exchange information to the chain code for processing; thereby recording the transaction information on the blockchain

[0089] S3, standardize protocol design, add encryption and signature mechanisms to the protocol, and provide confidentiality and integrity of data during transmission;

[0090] Standardized protocol design steps:

[0091] Adopt Elliptic Curve Cryptography, ECC as the encryption algorithm, the specific encryption steps are:

[0092] Use the secp256r1 elliptic curve to generate ECC key pairs for the sender and receiver, including private and public keys;

[0093] Using the Diffie-Hellman key exchange protocol, both parties calculate a shared symmetric key based on their own private keys and the other party's public key, and use the shared symmetric key to encrypt and decrypt communication data;

[0094] Use the sender's private key to generate a digital signature for the communication data, and use the elliptic curve digital signature algorithm ECDSA to sign it;

[0095] Using the sender's public key, the validity of the received digital signature is verified and the encrypted data and digital signature are transmitted to the receiver together;

[0096] Use the shared symmetric key to decrypt the encrypted communication data and restore the original data;

[0097] Use Python's cryptography library for ECC encryption and digital signature steps: fromcryptography.hazmat.primitives import serialization,hashes

[0098] from cryptography.hazmat.primitives.asymmetric import ec

[0099] from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC fromcryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC fromcryptography.hazmat.primitives import hashes

[0100] #Generate an ECC key pair

[0101] private_key=ec.generate_private_key(ec.SECP256R1())

[0102] public_key=private_key.public_key()

[0103] #Key Exchange and Negotiation

[0104] shared_secret=private_key.exchange(ec.ECDH(),public_key)

[0105] # Encrypt data using a shared key

[0106] # Generate a digital signature using a private key

[0107] data=b"Hello, this is a message."

[0108] signature=private_key.sign(data,ec.ECDSA(hashes.SHA256()))

[0109] #Transmit encrypted data and digital signature

[0110] #Use public key to verify digital signature

[0111] public_key.verify(signature,data,ec.ECDSA(hashes.SHA256())).

[0112] In view of the above, in this application:

[0113] The communication method for standardized communication machine interface provided by the present invention integrates edge computing and blockchain technology to improve the real-time, reliability and security of communication. Edge computing performs data processing on the communication equipment, reduces the burden on the central server through data smoothing and filtering, improves real-time performance, and uses blockchain technology to record the exchange history of communication data to achieve decentralized and secure storage of data, while realizing device identity authentication and authority management. Encryption and signature mechanisms are added to the standardized protocol to provide confidentiality and integrity of communication data. The entire communication process consists of edge computing, data filtering, blockchain recording and encrypted signatures.

[0114] Compared with traditional communication methods, edge computing enables data to be processed instantly on the device side, reducing transmission delays, improving the real-time and responsiveness of communications, while effectively reducing the burden on central servers and improving data processing efficiency. Blockchain technology provides a record of the exchange history of communication data on an unalterable blockchain, achieving secure storage and historical traceability of data, preventing data from unauthorized tampering and access, and making the identity authentication and permission management of communication equipment more secure and reliable.

[0115] Through decentralized authentication and permission management, more reliable device authentication and permission control are achieved. In addition, encryption and signature mechanisms are added to provide confidentiality and integrity of communication data during transmission, fundamentally improving the security of data transmission.

[0116] In the description of the embodiments of the present invention, it will be understood by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A communication method for standardizing a communication machine interface, characterized in that: include: Step S1, edge computing fusion, edge computing is performed on the communication device to process part of the data and tasks. The edge node filters and processes the data according to the pre-set rules and only transmits the key data to the central server. The central server receives the data from the edge node and parses the data according to the communication protocol; Performing data smoothing in the edge computing fusion step; The edge computing fusion step includes: Configure edge nodes to collect production line data, including temperature, humidity and pressure. Data smoothing is used to define the computing tasks that need to be performed on edge nodes, including data preprocessing and feature extraction. Formulate data filtering rules according to application scenarios. According to the data filtering rules, the data filtered by the rules is transmitted to the central server using the MQTT protocol; The specific formula for data smoothing in the edge computing fusion step is: Smoothed_Value(t)=(Data(t)+Data(t-1)+...+Data(t-N+1)) / N, Where Smoothed_Value(t) is the smoothed value at time point t, Data(t) is the raw data collected at time point t, and N is the size of the moving average window, which represents the first few data points considered; The method of formulating data filtering rules according to the application scenario is: Assume the application scenario is temperature monitoring, only transmit temperature data above the threshold, the logic judgment formula is: iftemperature>threshold:transmit_data(temperature), Among them, temperature is the measured temperature data, threshold is the set threshold, which means that transmission is performed only when the temperature is higher than this threshold, and the transmit_data(temperature) function means that the data that meets the conditions will be transmitted; Step S2, blockchain technology integration, recording the exchange history of communication data on the blockchain; In the blockchain technology integration step: Using Hyperledger Fabric to create a blockchain network, Define the smart contract chain code, and define the data structure and transaction logic. The data structure defined in the chain code includes device ID, timestamp, and data content. Implement the logic of recording data exchange history in the chain code, Use Hyperledger Fabric's CLI to install the chaincode to each node of the network; Provide a transaction function to store transaction information in the blockchain. The transaction function accepts parameters and stores transaction information in the blockchain status database. Use Hyperledger Fabric's SDK to install the smart contract chain code on the network node, instantiate the chain code, call the RecordDataExchange transaction function, and pass the data exchange information to the chain code for processing; Step S3, standardize protocol design and add encryption and signature mechanisms to the protocol; The steps of the standardized protocol design include: Adopt Elliptic Curve Cryptography, ECC as the encryption algorithm, the specific encryption steps are: The secp256r1 elliptic curve is used to generate ECC key pairs for the sender and receiver, including private keys and public keys.

2. A communication method for standardizing communication machine interfaces according to claim 1, characterized in that: The encryption step further comprises: Using the Diffie-Hellman key exchange protocol, both parties calculate a shared symmetric key based on their own private keys and the other party's public key, and use the shared symmetric key to encrypt and decrypt communication data; Use the sender's private key to generate a digital signature for the communication data, and use the elliptic curve digital signature algorithm ECDSA to sign it; Using the sender's public key, the validity of the received digital signature is verified and the encrypted data and digital signature are transmitted to the receiver together; Use the shared symmetric key to decrypt the encrypted communication data and restore the original data.

Citation Information

Patent Citations

  • System and method for internet-of-things identity authentication based on blockchain

    CN108270571A

  • Decentralized encrypted communication and transaction system

    CN113256290A