Mesh communication protocol based on block chain architecture

Through the Mesh communication protocol based on the blockchain architecture, the existing wireless communication protocol has solved the shortcomings in security, networking capabilities, anti-interference capabilities and costs, and has achieved efficient, secure and stable multi-node communication, which is suitable for high-density and multi-scenario applications such as the Internet of Things and the Industrial Internet.

CN120050019APending Publication Date: 2025-05-27NEBULA TIANQI (SHENZHEN) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510077576.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

The existing wireless communication protocols have shortcomings in terms of security, networking capabilities, anti-interference capabilities and costs, and are difficult to meet the application needs of efficient, stable, multi-node interconnection such as the Internet of Things and the Industrial Internet.

Method used

The Mesh communication protocol based on the blockchain architecture is adopted to achieve efficient, secure and stable multi-node communication through technical means such as master-free slave network architecture, dynamic path reconstruction, dynamic encryption and multi-mode communication.

Benefits of technology

It significantly improves the efficiency, stability and applicability of the network, provides high reliability, dynamic networking capabilities, anti-interference capabilities and low-cost solutions, suitable for a variety of high-density and multi-scenario applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120050019A_ABST
    Figure CN120050019A_ABST
Patent Text Reader

Abstract

The invention relates to the field of wireless communication, in particular to a Mesh communication protocol based on a block chain architecture, which is suitable for path construction, path reconstruction and data communication of a multi-node communication network, the protocol is applied to a network consisting of a plurality of nodes, the nodes comprise a sender, a forwarding party and a receiver, and the sender is connected with the forwarding party. All nodes adopt a network architecture without master-slave setting; the node carries out data communication with a path reconstruction mechanism through path construction, the path construction is realized through a broadcast mode, and the path reconstruction is carried out through broadcast re-routing and is completed according to a routing record; according to the method and the system, obvious effects exceeding those of the prior art are shown in the aspects of dynamic networking, path reconstruction, low-cost high-density communication, dynamic encryption, bidirectional control, multi-mode communication, cross-brand interconnection and the like. The technical innovation not only improves the stability and security of the network, but also provides a more flexible and efficient solution for high-density and multi-scene application of the Internet of Things, the industrial Internet and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless communication, and in particular to a Mesh communication protocol based on a blockchain architecture, which is applicable to path construction, path reconstruction, and data communication in a multi-node communication network, and is widely used in industrial Internet, Internet of Things, smart home, and other application scenarios that require efficient, stable, and multi-node interconnection. Background Art

[0002] With the rapid development of wireless communication technology, the demand for efficient and stable multi-node communication networks in the fields of Internet of Things and industrial Internet is increasing day by day. However, the existing wireless communication protocols have the following deficiencies in practical applications: 1. Poor security: Many existing protocols are vulnerable to external attacks and third-party service restrictions, and cannot meet the strict requirements for data privacy and communication security.

[0003] 2. Limited networking ability: Traditional protocols such as Bluetooth and WiFi are difficult to support large-scale node communication, their networking ability is limited, and the network is prone to paralysis due to single-point failures.

[0004] 3. Weak anti-interference ability: The existing protocols have poor communication stability in complex environments and are easily affected by external interference, especially in industrial control and high-density node environments.

[0005] 4. High cost: Many existing protocols such as ZigBee require additional devices such as coordinators and repeaters to support, increasing the implementation cost and deployment complexity.

[0006] Specifically: Bluetooth: Although it has low power consumption, it has a short transmission distance, weak anti-interference ability, and limited number of nodes, and is not suitable for large-scale industrial networks.

[0007] WiFi: Suitable for short-distance communication, but vulnerable to interference, poor network stability, and device failures can cause the entire network to interrupt.

[0008] ZigBee: Supports a certain scale of star network, but has a high cost, and its dependence on repeaters and coordinators makes its anti-storm ability weak.

[0009] In the rapid development of the Internet of Things and industrial Internet, how to implement an efficient, secure, and low-cost wireless communication network has become a technical problem to be solved urgently. Summary of the Invention

[0010] In order to solve the problems of poor security, limited networking ability, weak anti-interference ability, and high cost existing in the existing wireless communication technology, the present invention provides a Mesh communication protocol based on a blockchain architecture, which realizes efficient, secure, and stable multi-node communication through innovative communication mechanisms and architecture designs.

[0011] The technical solution of the present invention is as follows: A Mesh communication protocol based on a blockchain architecture: The protocol is applied to a network composed of multiple nodes, and the nodes include a sender, a forwarder, and a receiver. All nodes adopt a network architecture without a master-slave setting; The nodes perform data communication through a path construction and path reconstruction mechanism, where path construction is achieved through a broadcast mode, and path reconstruction is completed by broadcasting to find a new path and based on routing records.

[0012] Preferably, the nodes communicate by defining data packets, and the data packets include a sender device ID, a receiver device ID, a superior relay device ID, a data unique ID, and a mode identifier.

[0013] Preferably, the mode identifier includes a broadcast mode, a precise routing mode, and a path reconstruction mode.

[0014] Preferably, the path construction is achieved through a broadcast mode when the path is unknown, and the forwarder avoids signal conflicts through a random delay mechanism.

[0015] Preferably, during the path reconstruction process, when the node is offline or there is no response, the sender broadcasts to find a new path and completes the path reconstruction based on the existing routing records.

[0016] Preferably, the sender device ID and the receiver device ID of the data packet are used to identify the corresponding sending node and receiving node in the network.

[0017] Preferably, the protocol realizes the distribution of control permissions between nodes by the controlled node learning the master control node ID.

[0018] Preferably, the protocol supports multi-party mutual control between nodes, and each node can simultaneously act as a sending node, a receiving node, and a relay node.

[0019] Preferably, the protocol avoids signal collisions and interference during path construction and path reconstruction through a dynamic encryption and random delay forwarding mechanism.

[0020] Through the innovative design of the blockchain architecture and the Mesh communication protocol, the present invention solves many problems in existing wireless communication technologies and significantly improves the efficiency, stability, and applicability of the network. Compared with the prior art, the present invention shows the following technical effects: 1. High reliability and dynamic networking ability brought by the master-slave-free architecture The present invention adopts a network architecture without a master-slave setting, eliminating the single-point failure risk in the traditional master-slave model.

[0021] Each node can act as a sender, receiver, and forwarder, enabling full-network dynamic networking and flexible communication.

[0022] In a high-density, multi-node environment, this architecture can maintain efficient and stable network operation, significantly improving network reliability.

[0023] 2. High stability of dynamic path reconstruction and data transmission This invention supports path construction and path reconstruction mechanisms: When the path is unknown, the sender constructs the path through broadcast mode and communicates simultaneously. When a node is offline or there is no response, the sender re-searches for a path through broadcast and completes path reconstruction based on the routing record.

[0024] The path reconstruction mechanism combined with dynamic encryption technology ensures the security and stability of data in complex environments, and is particularly suitable for dynamically changing and high-interference environments.

[0025] 3. Support for high-density nodes and low-cost implementation This invention supports up to 65,535 nodes within a single network domain, and the maximum number of communication nodes is 65,535 2 , and realizes multi-hop communication through automatic relay.

[0026] It does not rely on special devices such as repeaters and coordinators, significantly reducing the hardware cost of network deployment, and is suitable for large-scale low-cost Internet of Things scenarios.

[0027] 4. Significant improvement in dynamic encryption and anti-interference capabilities Through the dynamic encryption mechanism combined with random delay forwarding, signal collisions and interference are effectively avoided, and the robustness of data communication is improved.

[0028] In high-interference scenarios (such as industrial control or high-density node environments), this mechanism ensures network stability and communication efficiency.

[0029] 5. Flexibility of two-way control and multi-party mutual control This invention adopts a learning mode. The controlled node actively learns the master control node ID to achieve stable communication. When necessary, a certain node can be forced to perform communication response to ensure its normal operation, thereby realizing flexible allocation of node permissions and security control.

[0030] Supports multi-party mutual control. All nodes can simultaneously act as sending nodes, receiving nodes, and forwarding nodes, flexibly adapting to diverse network control requirements.

[0031] 6. Flexible integration of multi-mode communication

[0032] The present invention supports broadcast mode, precise routing mode, and path reconstruction mode by defining the mode identification field of data packets, and can dynamically switch between different modes.

[0033] The compatibility of multiple modes makes it applicable to a variety of application scenarios, such as the Internet of Things, smart home, and industrial Internet.

[0034] 7. Cross-brand interconnection and high compatibility Through standardized data packet design, it supports devices of different products and brands to achieve interconnection and interoperability in the same network.

[0035] It solves the fragmentation problem of Internet of Things devices and provides a solution with high compatibility and flexibility for the industry.

[0036] The present invention shows remarkable effects beyond the prior art in aspects such as dynamic networking, path reconstruction, low-cost high-density communication, dynamic encryption, two-way control, multi-mode communication, and cross-brand interconnection. These technological innovations not only improve the stability and security of the network, but also provide a more flexible and efficient solution for high-density and multi-scenario applications such as the Internet of Things and industrial Internet. Brief description of the drawings

[0037] Figure 1 is a schematic diagram of the path finding and response process of the present invention; Figure 2 is a schematic diagram of the re-path finding and response process after the path interruption of the present invention; Figure 3 is a schematic diagram of the path reconstruction data flow of the present invention. Detailed implementation manners

[0038] Embodiment 1: A Mesh communication protocol based on a blockchain architecture: The protocol is applied to a network composed of multiple nodes, and the nodes include a sender, a forwarder, and a receiver. All nodes adopt a network architecture without a master-slave setting; The nodes perform data communication through a path construction and path reconstruction mechanism, where path construction is achieved through the broadcast mode, and path reconstruction is achieved through broadcast re-path finding and based on routing records.

[0039] Embodiment 2: The difference between this embodiment and Embodiment 1 is that this embodiment further includes the following technical features: The nodes communicate by defining data packets, and the data packets include a sender device ID, a receiver device ID, a superior relay device ID, a data unique ID, and a mode identifier.

[0040] Preferably, the mode identifier includes a broadcast mode, a precise routing mode, and a path reconstruction mode.

[0041] Preferably, the path construction is achieved through the broadcast mode when the path is unknown, and the forwarding party avoids signal conflicts through a random delay mechanism.

[0042] Preferably, during the path reconstruction process, when the sending party encounters a node offline or without response, it re-searches for a path through broadcasting and completes the path reconstruction based on the existing routing records.

[0043] Preferably, the sending device ID and receiving device ID of the data packet are used to identify the corresponding sending node and receiving node in the network.

[0044] Preferably, the protocol realizes the distribution of control permissions between nodes by means of the controlled node learning the master control node ID.

[0045] Preferably, the protocol supports multi-party mutual control between nodes, and each node can simultaneously act as a sending node, a receiving node, and a relay node.

[0046] Preferably, the protocol avoids signal collisions and interference during the path construction and path reconstruction processes through a dynamic encryption and random delay forwarding mechanism.

[0047] Embodiment 3: Smart home scenario Interconnection and mutual control of multiple devices In a smart home system, devices such as lighting controllers, temperature sensors, door locks, and security cameras need to achieve interconnection and mutual control: Apply the Mesh communication protocol of the present invention: 1. No master-slave setting: Each device can act as a sending party, a forwarding party, or a receiving party, eliminating the impact of the master control node failure on the system.

[0048] 2. Path construction and reconstruction: When a device (such as a lighting controller) fails and goes offline, other devices automatically reconstruct the communication path through the broadcast mode to ensure the stable operation of the system.

[0049] 3. Dynamic encryption: All data communications adopt a dynamic encryption mechanism to ensure the security of home privacy data.

[0050] 4. Data relay: All devices will automatically participate in relaying when needed to ensure that data stability is not affected when any device is damaged.

[0051] Effect: The present invention makes the devices of the smart home system highly flexible, stable, and secure, and can maintain the integrity of network communication even when some devices are offline.

[0052] Example 4: Interconnection between industrial production devices In an industrial workshop, devices such as multiple sensor nodes, surveillance cameras, and AGVs (Automated Guided Vehicles) need to form a network for real-time data collection and transmission: Apply the Mesh communication protocol of the present invention: 1. Large-scale node support: Thousands of sensor nodes can be deployed in a single workshop. These nodes achieve multi-hop communication through the protocol of the present invention without the need to install additional relay devices.

[0053] 2. Path reconstruction: If some sensors are interrupted in communication due to environmental interference, the sender quickly finds a new transmission path through the path reconstruction mechanism.

[0054] 3. Learning mode: The controlled node learns the ID of the master node to achieve dynamic permission allocation between devices. For example, an AGV receives task instructions from the workshop management system through the learning mode.

[0055] 4. Data relay: All devices will automatically participate in relaying when needed to ensure that data stability is not affected when any device is damaged.

[0056] Effect: The present invention supports high-density deployment and dynamic communication requirements in an industrial environment, improving production efficiency and reducing network deployment costs.

[0057] Example 5: Smart agriculture scenario Cooperation between drones and sensors In smart agriculture, drones and ground sensors need to cooperate to complete tasks such as soil monitoring and pest control: Apply the Mesh communication protocol of the present invention: 1. Path construction: The drone establishes communication paths with multiple ground sensors through the broadcast mode to collect environmental data in real time.

[0058] 2. Multi-mode communication: Switch to the precise routing mode when the path is stable to improve data transmission efficiency.

[0059] 3. Dynamic encryption: Ensure the security of data during transmission. Each communication uses different secret keys to prevent external reception of communication data and prevent tampering or interference. Prevent external tampering or interference.

[0060] 4. Data relay: All devices will automatically participate in relaying when needed to ensure that data stability is not affected when any device is damaged.

[0061] Effect: Through the protocol of the present invention, the drone and the sensor achieve efficient and reliable data communication, supporting precise monitoring and operation in a large-area agricultural environment.

[0062] Example 6: Intelligent logistics scenario Cooperative communication among warehouse devices In an intelligent warehousing system, multiple AGVs, robotic arms, and environmental monitoring devices need to collaborate through a network to complete goods sorting and handling: Apply the Mesh communication protocol of the present invention: 1. Dynamic networking: All devices adopt a masterless setting architecture, flexibly enabling network expansion, and new devices can directly join the network.

[0063] 2. Path reconstruction: When communication of a certain AGV is interrupted, other devices maintain normal communication through the path reconstruction mechanism, avoiding affecting the overall logistics efficiency.

[0064] 3. Learning mode: The controlled devices learn the task allocation node IDs to ensure the accuracy and security of task allocation.

[0065] 4. Data relay: All devices will automatically participate in relaying when needed, ensuring that data stability is not affected when any device is damaged.

[0066] Effect: Achieve efficient cooperation among warehouse devices, reduce logistics interruptions caused by device offline or failures, and improve the overall efficiency of the warehousing system.

[0067] Example 7: Urban intelligent transportation scenario Communication network between traffic lights and vehicle networking In an intelligent transportation system, traffic lights, vehicles, and sensor nodes need to build a communication network to achieve dynamic traffic control: Apply the Mesh communication protocol of the present invention: 1. Multi-mode communication: The traffic light nodes communicate with multiple vehicles in broadcast mode, sending traffic control signals in real time; when the path is stable, switch to the precise routing mode.

[0068] 2. Dynamic encryption: Ensure the security of communication between traffic signals and vehicles, preventing malicious interference.

[0069] 3. Path reconstruction: When a node on a certain road section goes offline, quickly restore communication through the path reconstruction mechanism to ensure the continuity of traffic control.

[0070] 4. Automatic relay: Data relay can be automatically performed between road surface devices and between vehicles to ensure stable communication.

[0071] Effect: The protocol of the present invention provides a stable and reliable communication network for intelligent transportation, improving the intelligent level of traffic control.

[0072] Example 8: Packet Structure and Path Construction Application 1. Definition of Packet Structure In this embodiment, the packet is the core component for implementing the communication protocol, and its definition is as follows: / * Definition of packet format * / ; #define CloudNet_Head 0x55 / / Protocol header, indicating the start of the packet; #define CloudNet_Tail 0xAA / / Protocol tail, indicating the end of the packet; typedef struct { uint16_t SenderID; / / Sender device ID; uint16_t ReceiverID; / / Receiver device ID; uint16_t ForwarderID; / / ID of the upper relay device; uint16_t DataOnlyID; / / Unique data ID; uint8_t ModeID; / / Mode identifier; uint8_t Data

[21] ; / / Data content; } CloudNet; The packet consists of a protocol header, a protocol area, and a protocol tail. The protocol header and protocol tail are used to indicate the start and end of the packet, and the protocol area contains the specific data to be transmitted during the communication process.

[0073] 2. Field Explanation The functions and value ranges of each field of the packet are as follows: 3. Application of the Packet in Path Construction Path construction is one of the important functions of this protocol, which is used to establish a communication link when the path is unknown. The following describes its specific process: Broadcast Mode Startup: 1. When the sender node needs to send data to the target receiver but the path is unknown, set the ModeID to 0x01 (broadcast mode).

[0074] 2. Set SenderID as the sender device ID and ReceiverID as the target receiver device ID in the data packet.

[0075] Broadcast forwarding: 1. The data packet is broadcast through the network, and all relay nodes that can receive the data packet parse ForwarderID and write their own IDs.

[0076] 2. To avoid signal collisions, each relay node performs a random delay before forwarding.

[0077] Receiver confirmation path: 1. After receiving the data packet, the target receiver records the path information according to SenderID and ForwarderID and returns a confirmation message to the sender.

[0078] 2. The confirmation message is returned in the precise routing mode (ModeID = 0x02) and is passed back layer by layer along the recorded path to the sender.

[0079] Path recording: 1. After receiving the confirmation message, the sender records the path information in the routing table for subsequent communication to switch to the precise routing mode.

[0080] 4. Application scenario example Suppose the network contains nodes A, B, C, and D, where: Node A is the sender; Node D is the receiver; Nodes B and C are relay nodes.

[0081] The path construction process is as follows: 1. Node A generates a data packet, sets SenderID = A, ReceiverID = D, ModeID = 0x01, and starts broadcasting.

[0082] 2. After receiving the data packet, nodes B and C parse ForwarderID, write their own IDs, and forward it after a random delay.

[0083] 3. After receiving the data packet, node D returns a confirmation message to node C, and node C then returns it along the path to node A.

[0084] 4. Node A records the path information, and subsequent communication switches to the precise routing mode.

[0085] 5. Advantage analysis Quickly construct a path through the broadcast mode to achieve efficient communication between multiple nodes; The random delay mechanism avoids signal collisions and improves communication stability; The path recording mechanism supports subsequent precise routing, improving network performance and communication efficiency.

Claims

1. A Mesh communication protocol based on blockchain architecture, characterized by: The protocol is applied to a network composed of multiple nodes, including a sender, a forwarder and a receiver, and all nodes adopt a network architecture without a master-slave setting; The nodes communicate data via a path construction and path reconstruction mechanism, wherein the path construction is implemented via a broadcast mode, and the path reconstruction is completed by broadcasting a new path and based on routing records.

2. According to the Mesh communication protocol based on blockchain architecture according to claim 1, it is characterized in that: The nodes communicate by defining a data packet, which includes a sender device ID, a receiver device ID, an upper-level relay device ID, a data unique ID, and a mode identifier.

3. According to the Mesh communication protocol based on blockchain architecture according to claim 2, it is characterized in that: The mode identifier includes a broadcast mode, a precise routing mode, and a path reconstruction mode.

4. The Mesh communication protocol based on blockchain architecture according to claim 1 is characterized in that: The path construction is implemented through a broadcast mode when the path is unknown, and the forwarding party avoids signal conflicts through a random delay mechanism.

5. The Mesh communication protocol based on blockchain architecture according to claim 1 or 4, characterized in that: In the path reconstruction process, the sender searches for a new path through broadcasting when a node is offline or has no response, and completes the path reconstruction based on the existing routing records.

6. The Mesh communication protocol based on blockchain architecture according to claim 2 or 3 is characterized in that: The sender device ID and the receiver device ID of the data packet are used to identify the corresponding sending node and receiving node in the network.

7. The Mesh communication protocol based on blockchain architecture according to claim 1 is characterized in that: The protocol achieves control authority allocation between nodes by having the controlled node learn the master node ID.

8. The Mesh communication protocol based on blockchain architecture according to claim 1 is characterized in that: The protocol supports multi-party mutual control between nodes, and each node can serve as a sending node, a receiving node and a relay node at the same time.

9. The Mesh communication protocol based on blockchain architecture according to claim 1 is characterized in that: The protocol avoids signal collision and interference during path construction and path reconstruction through dynamic encryption and random delay forwarding mechanism.