Autonomous decentralized wireless ad hoc network communication method, device, equipment and medium

By deploying the blockchain, quantum key distribution system, spectrum perception and adaptive consensus algorithm in wireless self -forming, combined with edge computing and fog computing, it solves the problem of high -efficiency communication and autonomy of decentralized wireless network. Realize efficient, secure and reliable communication.

CN118265025BActive Publication Date: 2025-01-28CHINA YANGTZE POWER +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410364606.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-28
Publication Date
2025-01-28
Estimated Expiration
2044-03-28

AI Technical Summary

Technical Problem

The existing wireless ad hoc network technology is difficult to achieve efficient communication under a decentralized structure, ensuring the autonomy and coordination of the network, and there are problems such as single point failure, poor scalability, and high energy consumption.

Method used

By deploying wireless self -self -composite node equipment in the target area, using blockchain technology to build a decentralized network, establishing a quantum key distribution system, obtaining spectrum perception information, coordinated decision -making of wireless adaptive consensus algorithms, dynamically allocated spectrum resources, and and of. Deploy edge computing and fog computing equipment at key nodes, automatically allocate computing tasks through blockchain smart contracts, form a synergistic computing network, select the optimal route path, and encrypt communication data through quantum key.

Benefits of technology

Achieve efficient communication under decentralized structure, ensure the autonomy and synergy of the network, reduce dependence on central control, improve the robustness and scalability of the network, ensure the security, timeliness, and time limit of communication and communication of communication. reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118265025B_ABST
    Figure CN118265025B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of wireless communication technology, and in particular to an autonomous decentralized wireless ad hoc network communication method, device, equipment and medium, including using blockchain technology to construct an initialized decentralized wireless ad hoc network; making collaborative decisions and dynamically allocating available spectrum resources between wireless ad hoc network node devices through a wireless adaptive consensus algorithm based on spectrum sensing information of each network node; selecting the optimal routing path using a wireless ad hoc network collaborative computing network based on available spectrum resources and current network status; encrypting communication data in the wireless ad hoc network through quantum keys, generating communication encryption data, and transmitting the communication encryption data to a target node device via the optimal routing path. The present invention selects the optimal routing path through collaborative calculation of the wireless ad hoc network, reduces dependence on central control, enables the network to adapt to environmental changes, and ensures the security, timeliness and reliability of wireless ad hoc network communication.
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 technology, and in particular to an autonomous decentralized wireless ad hoc network communication method, device, equipment and medium. Background Art

[0002] With the rapid development of wireless communication technology, Wireless Ad Hoc Networks (WAHNs) have been widely used as a network form that can be quickly built without the support of fixed infrastructure. Traditional wireless ad hoc networks usually adopt a centralized management method and rely on central nodes for information aggregation, forwarding and control. However, this centralized structure has many problems, such as single point failure, poor scalability, high energy consumption, etc. Therefore, it is of great significance to study a more flexible and efficient wireless ad hoc network communication method.

[0003] In the existing wireless ad hoc network technology, decentralization is an important trend. The decentralized structure can eliminate the bottleneck effect of the central node and improve the robustness and scalability of the network. At the same time, with the rapid development of technologies such as the Internet of Things and smart devices, the requirements for the autonomy of wireless ad hoc networks are becoming higher and higher. Autonomy means that the nodes in the network can make decisions and adjustments autonomously according to their own status and environmental changes to adapt to various complex application scenarios. However, although decentralization and autonomy have many advantages in wireless ad hoc networks, there are still some problems that need to be solved in the existing technology:

[0004] First of all, how to achieve an efficient decentralized communication mechanism is a challenge. Decentralization means that there is no fixed central node in the network, and each node needs to have certain information processing and forwarding capabilities. However, how to avoid network congestion and information redundancy while ensuring communication efficiency is a problem that needs to be solved.

[0005] Secondly, how to ensure the autonomy and coordination of the network is also an important issue. Autonomy requires nodes to be able to make decisions and adjustments independently, but excessive autonomy may lead to chaos and conflicts in the network. Therefore, it is necessary to design an effective coordination mechanism so that nodes can achieve overall optimization of the network while maintaining autonomy.

[0006] In summary, how to achieve efficient communication and ensure the autonomy and coordination of the network under a decentralized structure is a technical problem that needs to be solved urgently, so as to provide more flexible and efficient communication solutions for various application scenarios. Summary of the invention

[0007] The purpose of the present invention is to provide an autonomous decentralized wireless ad hoc network communication method, device, equipment and medium to achieve efficient communication under a decentralized structure and ensure the autonomy and coordination of the network.

[0008] In order to solve the above technical problems, the present invention provides an autonomous decentralized wireless ad hoc network communication method, device, equipment and medium.

[0009] In a first aspect, the present invention provides an autonomous decentralized wireless ad hoc network communication method, the method comprising the following steps:

[0010] Deploy wireless ad hoc network node devices in the target area, and use blockchain technology to build an initialized decentralized wireless ad hoc network, so that each wireless ad hoc network node device serves as a node of the blockchain;

[0011] A quantum key distribution system is established between wireless ad hoc network node devices, and in response to a data transmission request, a quantum key is generated using a quantum key exchange protocol;

[0012] Acquire spectrum sensing information of the surrounding environment of each network node, and make collaborative decisions and dynamically allocate available spectrum resources among wireless ad hoc network node devices through a wireless adaptive consensus algorithm based on the spectrum sensing information;

[0013] Deploy edge computing node devices and fog computing node devices at key nodes of the wireless ad hoc network, and automatically allocate computing tasks through blockchain smart contracts to jointly form a wireless ad hoc collaborative computing network;

[0014] Based on the available spectrum resources and the current network status, selecting the optimal routing path by using the wireless ad hoc collaborative computing network;

[0015] The communication data in the wireless ad hoc network is encrypted by the quantum key to generate communication encryption data, and the communication encryption data is transmitted to the target node device via the optimal routing path.

[0016] In a further implementation scheme, the steps of obtaining spectrum sensing information of the surrounding environment of each network node, and making collaborative decisions and dynamically allocating available spectrum resources through a wireless adaptive consensus algorithm among wireless ad hoc network node devices based on the spectrum sensing information include:

[0017] Control each wireless ad hoc network node device to scan the spectrum of its surrounding environment at a preset period to obtain spectrum sensing data;

[0018] Preprocessing and feature extracting the spectrum sensing data to obtain spectrum sensing features;

[0019] Using a machine learning algorithm to identify a spectrum usage pattern from the spectrum sensing features, and predict spectrum availability;

[0020] According to the spectrum availability, a wireless adaptive consensus algorithm is used to make collaborative decisions among wireless ad hoc network node devices, and the spectrum allocation strategy is determined through a voting mechanism;

[0021] The available spectrum resources are dynamically allocated according to the spectrum allocation strategy.

[0022] In a further implementation scheme, the wireless adaptive consensus algorithm is integrated into the decentralized wireless ad hoc network, and the steps of using the wireless adaptive consensus algorithm to make collaborative decisions among wireless ad hoc network node devices based on spectrum availability and determining the spectrum allocation strategy through a voting mechanism include:

[0023] The delegated proof-of-stake blockchain consensus algorithm is used as the basic framework, and the trusted nodes in the decentralized wireless ad hoc network architecture are selected as the initial nodes participating in the consensus;

[0024] The node activity is obtained according to the performance evaluation of the initial node; wherein the performance of the initial node includes the equity, online time, communication quality and computing power of the initial representative node;

[0025] At the beginning of each consensus cycle, a preset number of representative nodes are dynamically selected from the initial nodes based on the node activity to participate in the consensus process;

[0026] Dynamically allocating voting weights of the representative nodes in the consensus process according to node equity and the network status of the decentralized wireless ad hoc network;

[0027] In response to the spectrum allocation request, each representative node votes on the spectrum allocation task to be decided according to the voting weight and spectrum availability, and determines the spectrum allocation strategy according to the voting result.

[0028] In a further embodiment, the mathematical expression of the voting weight is:

[0029]

[0030] in,

[0031] N i =λ1*α i +λ2*β i +λ3*γ i

[0032] E i =δ i *(ε i ) k +w i *(logηi +logθ i )

[0033] Where V i Represents voting weight; N i represents the network status factor of node i; E i represents the equity factor of node i; subscript j represents the jth node; M represents the total number of nodes; λ1, λ2 and λ3 all represent the weight coefficient of the network status factor; α i represents the connectivity of node i in the decentralized wireless ad hoc network; β i represents the communication quality of node i in the decentralized wireless ad hoc network; γ i represents the delay of node i in the decentralized wireless ad hoc network; δ i Indicates the amount of currency held by node i; ε i represents the contribution coefficient of node i; k represents the influence coefficient of node equity on voting weight; η i represents the active time of node i in the decentralized wireless ad hoc network; θ i represents the amount of data contributed by node i in the decentralized wireless ad hoc network; w i Represents the equity weight coefficient.

[0034] In a further embodiment, the edge computing node device and the fog computing node device are both deployed at the edge of the wireless ad hoc network;

[0035] The edge computing node device is used to receive and process data streams from the wireless ad hoc network, monitor the operating status of the wireless ad hoc network in real time, and dynamically adjust its own computing resources and network configuration;

[0036] The fog computing node device serves as the resource pool of the entire network. It is used to receive and process data from the edge computing node devices, and through interaction with the blockchain smart contract, adjust the allocation strategy of computing tasks in real time according to network status change information.

[0037] In a further embodiment, the step of selecting the optimal routing path using the wireless ad hoc collaborative computing network based on the available spectrum resources and the current network status includes:

[0038] Each wireless ad hoc network node device is used as a federated learning node, and a federated learning communication framework is established according to the learning task of the decentralized wireless ad hoc network;

[0039] The relationship between the node devices of the wireless ad hoc network is modeled by using a graph neural network, a network topology is constructed, and the association information between the node devices of the wireless ad hoc network is captured according to the network topology; wherein the nodes in the network topology represent federated learning nodes, and the edges represent communication links between the federated learning nodes;

[0040] Through the federated learning model, the graph neural network is used as the local model of the federated learning node for training and optimization, and the local models of each federated learning node are integrated through the model aggregation algorithm to obtain the global model parameters;

[0041] The current network status is obtained by using the global model parameters, the current network status is analyzed in real time by using the wireless ad hoc network collaborative computing network, and the spectrum resources are dynamically allocated through a dynamic spectrum auction mechanism in combination with the global model parameters, so that each wireless ad hoc network node device obtains the optimal spectrum resources;

[0042] According to the optimal spectrum resources and the association information between wireless ad hoc network node devices, the Dijkstra algorithm is used to select the optimal routing path.

[0043] In a further embodiment, the method further comprises:

[0044] When the wireless ad hoc network node device transmits the communication encrypted data according to the optimal routing path, if it is detected that the current wireless ad hoc network node device is a problem node or there is room for optimization in its communication path, the wireless ad hoc network collaborative computing network is used to re-analyze the current network state and find the optimal neighboring node;

[0045] A communication path collaborative optimization request is sent to the optimal neighboring node, so that the optimal neighboring node analyzes and predicts the current network behavior and its own state through a machine learning algorithm, generates a communication path collaborative optimization plan, and updates the optimal routing path according to the communication path collaborative optimization plan.

[0046] In a second aspect, the present invention provides an autonomous decentralized wireless ad hoc network communication device, the device comprising:

[0047] The network construction module is used to deploy wireless ad hoc network node devices in the target area and use blockchain technology to build an initialized decentralized wireless ad hoc network, so that each wireless ad hoc network node device serves as a node of the blockchain;

[0048] A key generation module is used to establish a quantum key distribution system between wireless ad hoc network node devices, and generate a quantum key using a quantum key exchange protocol in response to a data transmission request;

[0049] The spectrum allocation module is used to obtain spectrum sensing information of the surrounding environment of each network node, and make collaborative decisions and dynamically allocate available spectrum resources among wireless ad hoc network node devices through a wireless adaptive consensus algorithm based on the spectrum sensing information;

[0050] A path analysis module is used to deploy edge computing node devices and fog computing node devices on key nodes of the wireless ad hoc network, and automatically allocate computing tasks through blockchain smart contracts to jointly form a wireless ad hoc collaborative computing network; based on the available spectrum resources and the current network status, the wireless ad hoc collaborative computing network is used to select the optimal routing path;

[0051] The data transmission module is used to encrypt the communication data in the wireless ad hoc network by using the quantum key, generate communication encryption data, and transmit the communication encryption data to the target node device via the optimal routing path.

[0052] In a third aspect, the present invention further provides a computer device, comprising a processor and a memory, wherein the processor is connected to the memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory so that the computer device performs the steps of implementing the above method.

[0053] In a fourth aspect, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program implements the steps of the above method when executed by a processor.

[0054] The present invention provides an autonomous decentralized wireless ad hoc network communication method, device, equipment and medium. The method deploys wireless ad hoc network node devices in a target area, and uses blockchain technology to construct an initialized decentralized wireless ad hoc network. According to spectrum sensing information, a wireless adaptive consensus algorithm is used between wireless ad hoc network node devices to make collaborative decisions and dynamically allocate available spectrum resources; based on available spectrum resources and current network status, the wireless ad hoc network collaborative computing network is used to select the optimal routing path; the communication data in the wireless ad hoc network is encrypted by quantum keys to generate communication encryption data, and the communication encryption data is transmitted to the target node device via the optimal routing path. Compared with the prior art, the method uses a wireless adaptive consensus algorithm and wireless spectrum usage information to make collaborative decisions, dynamically allocates available spectrum resources, reduces dependence on central control, enables the network to self-adjust to adapt to environmental changes, and uses a wireless ad hoc network collaborative computing network to select the optimal routing path, ensuring the security, timeliness and reliability of wireless ad hoc network communication, and improving the overall performance of the network. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1It is a flow chart of an autonomous decentralized wireless ad hoc network communication method provided by an embodiment of the present invention;

[0056] Figure 2 It is a block diagram of an autonomous decentralized wireless ad hoc network communication device provided by an embodiment of the present invention;

[0057] Figure 3 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0058] The following specifically illustrates the implementation mode of the present invention in conjunction with the accompanying drawings. The embodiments are provided for illustrative purposes only and cannot be understood as limiting the present invention. The accompanying drawings are provided for reference and illustration only and do not constitute a limitation on the scope of patent protection of the present invention, because many changes can be made to the present invention without departing from the spirit and scope of the present invention.

[0059] refer to Figure 1 , the embodiment of the present invention provides an autonomous decentralized wireless ad hoc network communication method, such as Figure 1 As shown, the method comprises the following steps:

[0060] S1. Deploy wireless ad hoc network node devices in the target area, and use blockchain technology to build an initialized decentralized wireless ad hoc network, so that each wireless ad hoc network node device serves as a node of the blockchain.

[0061] This embodiment deploys wireless ad hoc network node devices in the target area. Each node device has basic communication, computing and storage capabilities. Then, a decentralized blockchain network suitable for the wireless ad hoc network is created as the infrastructure of the entire decentralized wireless ad hoc network. The blockchain stores network topology information, device authentication information, communication records and other data to ensure the security and non-tamperability of the data. Each node device serves as a node of the blockchain to jointly maintain the status and security of the network.

[0062] S2. Establish a quantum key distribution system between wireless ad hoc network node devices, and generate quantum keys using the quantum key exchange protocol in response to data sending requests.

[0063] Since quantum communication has the characteristics of high security and efficiency, this embodiment applies it to wireless ad hoc network communications, and establishes a quantum key distribution (QKD) system between wireless ad hoc network node devices, so that network nodes can generate and share secure keys through the quantum key exchange protocol, and use the secure keys generated by the QKD system to encrypt the communication data in the wireless ad hoc network, which can greatly improve the security and privacy of communications. This embodiment combines the high security of quantum communication and the flexibility of wireless ad hoc networks, and provides strong security protection for wireless ad hoc networks through quantum communication node technology, especially in scenarios with extremely high security requirements.

[0064] S3. Acquire spectrum sensing information of the surrounding environment of each network node, and based on the spectrum sensing information, make collaborative decisions and dynamically allocate available spectrum resources through a wireless adaptive consensus algorithm among wireless ad hoc network node devices.

[0065] In this embodiment, the steps of obtaining spectrum sensing information of the surrounding environment of each network node, and making collaborative decisions and dynamically allocating available spectrum resources through a wireless adaptive consensus algorithm among wireless ad hoc network node devices based on the spectrum sensing information include:

[0066] Control each wireless ad hoc network node device to scan the spectrum of its surrounding environment at a preset period to obtain spectrum sensing data;

[0067] Preprocessing and feature extracting the spectrum sensing data to obtain spectrum sensing features;

[0068] Using a machine learning algorithm to identify a spectrum usage pattern from the spectrum sensing features, and predict spectrum availability;

[0069] According to the spectrum availability, a wireless adaptive consensus algorithm is used to make collaborative decisions among the wireless ad hoc network node devices, and a spectrum allocation strategy is determined through a voting mechanism, and available spectrum resources are dynamically allocated according to the spectrum allocation strategy; wherein the wireless adaptive consensus algorithm is integrated into the decentralized wireless ad hoc network, and according to the spectrum availability, a wireless adaptive consensus algorithm is used to make collaborative decisions among the wireless ad hoc network node devices, and the steps of determining the spectrum allocation strategy through a voting mechanism include:

[0070] The delegated proof-of-stake blockchain consensus algorithm is used as the basic framework, and the trusted nodes in the decentralized wireless ad hoc network architecture are selected as the initial nodes participating in the consensus;

[0071] The node activity is obtained according to the performance evaluation of the initial node; wherein the performance of the initial node includes the equity, online time, communication quality and computing power of the initial representative node;

[0072] At the beginning of each consensus cycle, a preset number of representative nodes are dynamically selected from the initial nodes based on the node activity to participate in the consensus process;

[0073] Dynamically allocating voting weights of the representative nodes in the consensus process according to node equity and the network status of the decentralized wireless ad hoc network;

[0074] In response to the spectrum allocation request, each representative node votes on the spectrum allocation task to be decided according to the voting weight and spectrum availability, and determines the spectrum allocation strategy according to the voting result; in this embodiment, the mathematical expression of the voting weight is:

[0075]

[0076] in,

[0077] N i =λ1*α i +λ2*β i +λ3*γ i

[0078] E i =δ i *(ε i ) k +w i *(logη i +logθ i )

[0079] Where V i Represents voting weight; N i represents the network status factor of node i; E i represents the equity factor of node i; subscript j represents the jth node; M represents the total number of nodes; λ1, λ2 and λ3 all represent the weight coefficient of the network status factor; α i represents the connectivity of node i in the decentralized wireless ad hoc network, which is the number of connections between the node and other nodes; β i represents the communication quality of node i in the decentralized wireless ad hoc network, including signal strength, packet loss rate, delay, etc.; γ i represents the delay of node i in the decentralized wireless ad hoc network; δ i Represents the amount of coins held by node i, which is the number of tokens held by node i in the network; ε i represents the contribution coefficient of node i, such as the points or rewards obtained by the node for participating in network maintenance and providing services; k represents the influence coefficient of node equity on voting weight; η i represents the active time of node i in the decentralized wireless ad hoc network; θ i represents the amount of data contributed by node i in the decentralized wireless ad hoc network; w iRepresents the equity weight coefficient.

[0080] The node devices in the wireless ad hoc network will regularly monitor the spectrum information of the surrounding environment through spectrum sensing technology, including spectrum occupancy, signal strength, interference level, etc., and then use machine learning algorithms to identify spectrum usage patterns from spectrum sensing features, and predict spectrum availability based on these patterns, and broadcast the evaluated spectrum availability to other nodes in the network. Among them, the spectrum usage pattern refers to the rules and characteristics of spectrum being occupied or idle at different times, places and conditions, and the spectrum availability refers to the probability or degree that spectrum resources can be used for communication at a specific time, place and condition. In order to ensure the consistency of decisions between nodes, this embodiment adopts a wireless adaptive consensus algorithm on the blockchain platform to implement a consensus algorithm suitable for wireless ad hoc networks.

[0081] For the wireless adaptive consensus algorithm, since the topological structure of the wireless ad hoc network is dynamic, nodes may join or leave the network at any time. Therefore, this embodiment uses the delegated proof of stake (DPoS) blockchain consensus algorithm as the basic framework, and dynamically selects a specific number of representative nodes to participate in the consensus process based on factors such as the node's equity, online time, communication quality, and computing power. At the same time, the wireless adaptive consensus algorithm will monitor the network status in real time, including the number of nodes, connection status, communication delay, etc., and dynamically adjust the set of nodes participating in the consensus and the weight distribution based on this information. When the network topology changes, the wireless adaptive consensus algorithm will re-evaluate the status of all nodes, and re-select representative nodes and distribute weights to ensure the stability and efficiency of the consensus process. In addition, this embodiment can set a certain number of node failures or offline to improve the communication stability of the consensus algorithm.

[0082] At the beginning of each consensus cycle, the representative node will receive the spectrum allocation task to be decided. The representative node will upload the decision parameters to the blockchain based on the predicted spectrum availability and other relevant parameters (such as communication requirements, node location, etc.), and use the smart contract function of the blockchain to make collaborative decisions on the spectrum allocation task based on the voting weight. When the preset voting threshold is reached (for example, more than two-thirds of the total weight), consensus is reached, the spectrum allocation strategy is determined and broadcast to other nodes in the network. During the communication process, the node will continue to monitor the spectrum usage and dynamically adjust the spectrum allocation strategy based on real-time data. These adjustments also need to be made through the consensus mechanism of the blockchain. The nodes in the blockchain network can manage spectrum resources autonomously without the need for a central management agency. When problems occur in nodes or spectrum allocation, the network can be automatically repaired through re-voting and smart contracts. The wireless adaptive consensus algorithm proposed in this embodiment can dynamically allocate spectrum according to spectrum availability, and realize collaborative decision-making between nodes through a voting mechanism, which not only improves the efficiency of spectrum resource utilization, but also enhances the autonomy and robustness of the network.

[0083] S4. Deploy edge computing node devices and fog computing node devices at the key nodes of the wireless ad hoc network, and automatically allocate computing tasks through blockchain smart contracts to jointly form a wireless ad hoc collaborative computing network.

[0084] In this embodiment, edge computing and fog computing devices are deployed on key nodes at the edge of the wireless ad hoc network, wherein the edge computing node device is used to receive and process data streams from the wireless ad hoc network, monitor the operating status of the wireless ad hoc network in real time, and dynamically adjust its own computing resources and network configuration. At the same time, the edge computing node device has a local storage function, which can store and process a certain amount of data, reducing data transmission delay; the fog computing node device serves as a resource pool for the entire network, which can coordinate and manage computing resources in the network to ensure reasonable allocation and efficient utilization of resources. In this embodiment, the fog computing node device is used to receive and process data from the edge computing node device, and interact with the blockchain smart contract to adjust the allocation strategy of computing tasks in real time according to network status change information. In this embodiment, fog computing node devices are deployed to work together with edge computing node devices to form a wireless ad hoc collaborative computing network, and automatically adjust the allocation of computing tasks by real-time analysis of network status and resource usage, thereby improving data processing and decision-making capabilities.

[0085] S5. Based on the available spectrum resources and the current network status, the optimal routing path is selected using the wireless ad hoc collaborative computing network.

[0086] In this embodiment, the step of selecting the optimal routing path by using the wireless ad hoc collaborative computing network based on the available spectrum resources and the current network status includes:

[0087] Each wireless ad hoc network node device is used as a federated learning node, and a federated learning communication framework is established according to the learning task of the decentralized wireless ad hoc network;

[0088] The relationship between the node devices of the wireless ad hoc network is modeled by using a graph neural network, a network topology is constructed, and the association information between the node devices of the wireless ad hoc network is captured according to the network topology; wherein the nodes in the network topology represent federated learning nodes, and the edges represent communication links between the federated learning nodes;

[0089] Through the federated learning model, the graph neural network is used as the local model of the federated learning node for training and optimization, and the local models of each federated learning node are integrated through the model aggregation algorithm to obtain the global model parameters;

[0090] The current network status is obtained by using the global model parameters, the current network status is analyzed in real time by using the wireless ad hoc network collaborative computing network, and the spectrum resources are dynamically allocated through a dynamic spectrum auction mechanism in combination with the global model parameters, so that each wireless ad hoc network node device obtains the optimal spectrum resources;

[0091] According to the optimal spectrum resources and the association information between wireless ad hoc network node devices, the Dijkstra algorithm is used to select the optimal routing path.

[0092] In this embodiment, each wireless ad hoc network node device is regarded as a federated learning node, and a federated learning communication framework is established according to the learning task requirements of the decentralized wireless ad hoc network. In the federated learning communication framework, each node device is both a learning node and a communication node. The federated learning communication framework can ensure that the nodes can perform effective data exchange and collaborative learning. The wireless ad hoc network learning task can be to predict the communication quality between nodes, predict the availability of spectrum resources, etc., to assist in routing selection; then, the relationship between the wireless ad hoc network node devices is modeled using a graph neural network to construct a network topology structure that can reflect the physical connection and communication capabilities between nodes. In the network topology structure, the node represents the federated learning node, and the edge represents the communication link between these nodes. In this embodiment, the association information between the wireless ad hoc network node devices is captured and understood through the network topology structure, and the graph neural network is used as a local model of each federated learning node for training and optimization through the federated learning model. In the local model training and optimization process, each node can learn local knowledge related to the network topology structure without sharing its original data, and through model aggregation algorithms, such as the Federated Average Algorithm (Federated Average Algorithm). Averaging, FedAvg) or other suitable aggregation algorithms are used to integrate the local model parameters of each node to form the global model parameters.

[0093] This embodiment uses global model parameters to obtain the current network status of each wireless ad hoc network node device and its adjacent nodes. This information includes the node's connection status, communication quality, and available resources. The wireless ad hoc network collaborative computing network will analyze the current network status in real time, and predict the communication quality and resource availability of different paths based on the global model parameters. The spectrum resources are dynamically allocated through a dynamic spectrum auction mechanism, so that the wireless ad hoc network can more efficiently utilize limited spectrum resources, ensuring that each node can obtain the optimal spectrum resources according to the current network conditions and requirements, improve spectrum utilization and reduce interference; finally, this embodiment uses the Dijkstra algorithm (Dijkstra algorithm) or other heuristic algorithms to select the optimal routing path for data transmission based on the association information between the optimal spectrum resources and the wireless ad hoc network node devices. This algorithm takes into account factors such as node connectivity, spectrum resource availability, and communication efficiency, thereby ensuring that data can be transmitted in the wireless ad hoc network in the most efficient manner.

[0094] In this embodiment, after the step of selecting the optimal routing path using the Dijkstra algorithm according to the association information between the optimal spectrum resources and the wireless ad hoc network node devices, the method further includes:

[0095] When the wireless ad hoc network node device transmits the communication encrypted data according to the optimal routing path, if it is detected that the current wireless ad hoc network node device is a problem node or there is room for optimization in its communication path, the wireless ad hoc network collaborative computing network is used to re-analyze the current network state and find the optimal neighboring node;

[0096] A communication path collaborative optimization request is sent to the optimal neighboring node, so that the optimal neighboring node analyzes and predicts the current network behavior and its own state through a machine learning algorithm, generates a communication path collaborative optimization plan, and updates the optimal routing path according to the communication path collaborative optimization plan.

[0097] In this embodiment, when a node finds that there is a problem or optimization space in the communication path, it analyzes the optimal neighboring node based on the current network status and sends a collaboration request to it, requesting assistance in optimizing the communication path. After receiving the request, the optimal neighboring node provides a collaboration plan based on its own status and network information, such as replanning the path or sharing the data transmission task, thereby updating the optimal routing path according to the communication path collaborative optimization plan.

[0098] S6. Encrypt the communication data in the wireless ad hoc network using the quantum key to generate communication encryption data, and transmit the communication encryption data to the target node device via the optimal routing path.

[0099] The embodiment of the present invention provides an autonomous decentralized wireless ad hoc network communication method, which deploys wireless ad hoc network node devices in the target area, and uses blockchain technology to build an initialized decentralized wireless ad hoc network. According to spectrum sensing information, a wireless adaptive consensus algorithm is used between wireless ad hoc network node devices to make collaborative decisions and dynamically allocate available spectrum resources; based on available spectrum resources and current network status, the wireless ad hoc network collaborative computing network is used to select the optimal routing path; the communication data in the wireless ad hoc network is encrypted by quantum key to generate communication encryption data, and the communication encryption data is transmitted to the target node device via the optimal routing path. Compared with the prior art, the autonomous decentralized wireless ad hoc network communication method proposed in this embodiment enables each node device to participate in the management and optimization of the network, and combines methods such as federated learning, graph neural network and dynamic spectrum allocation to realize the optimal routing path selection in the autonomous decentralized wireless ad hoc network, which can not only improve the communication efficiency and reliability of the network, but also adapt to the dynamic changes of the network, ensuring the security and efficiency of the network.

[0100] It should be noted that the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0101] In one embodiment, Figure 2 As shown, an embodiment of the present invention provides an autonomous decentralized wireless ad hoc network communication device, the device comprising:

[0102] The network construction module 101 is used to deploy wireless ad hoc network node devices in the target area, and use blockchain technology to construct an initialized decentralized wireless ad hoc network, so that each wireless ad hoc network node device serves as a node of the blockchain;

[0103] The key generation module 102 is used to establish a quantum key distribution system between wireless ad hoc network node devices, and generate a quantum key using a quantum key exchange protocol in response to a data transmission request;

[0104] The spectrum allocation module 103 is used to obtain spectrum sensing information of the surrounding environment of each network node, and make collaborative decisions and dynamically allocate available spectrum resources among wireless ad hoc network node devices through a wireless adaptive consensus algorithm based on the spectrum sensing information;

[0105] The path analysis module 104 is used to deploy edge computing node devices and fog computing node devices on key nodes of the wireless ad hoc network, and automatically allocate computing tasks through blockchain smart contracts to jointly form a wireless ad hoc network collaborative computing network; based on the available spectrum resources and the current network status, the wireless ad hoc network collaborative computing network is used to select the optimal routing path;

[0106] The data transmission module 105 is used to encrypt the communication data in the wireless ad hoc network by using the quantum key, generate communication encryption data, and transmit the communication encryption data to the target node device via the optimal routing path.

[0107] For the specific definition of an autonomous decentralized wireless ad hoc network communication device, please refer to the above-mentioned definition of an autonomous decentralized wireless ad hoc network communication method, which will not be repeated here. A person of ordinary skill in the art will appreciate that the various modules and steps described in conjunction with the embodiments disclosed in this application can be implemented in hardware, software, or a combination of both. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0108] The embodiment of the present invention provides an autonomous decentralized wireless ad hoc network communication device, which deploys wireless ad hoc network node devices in the target area through a network construction module, and uses blockchain technology to build an initialized decentralized wireless ad hoc network; through the spectrum allocation module, collaborative decision-making is made between wireless ad hoc network node devices through a wireless adaptive consensus algorithm and available spectrum resources are dynamically allocated; through the path analysis module, based on available spectrum resources and current network status, the wireless ad hoc network collaborative computing network is used to select the optimal routing path; through the data transmission module, the communication data in the wireless ad hoc network is encrypted by quantum key, communication encryption data is generated, and the communication encryption data is transmitted to the target node device through the optimal routing path. Compared with the prior art, the autonomous decentralized wireless ad hoc network communication device proposed in this embodiment enables each node device to participate in the management and optimization of the network, and combines methods such as federated learning, graph neural network and dynamic spectrum allocation to realize the optimal routing path selection in the autonomous decentralized wireless ad hoc network, which can not only improve the communication efficiency and reliability of the network, but also adapt to the dynamic changes of the network, ensuring the security and efficiency of the network.

[0109] Figure 3 A computer device provided by an embodiment of the present invention includes a memory, a processor and a transceiver, which are connected via a bus; the memory is used to store a set of computer program instructions and data, and can transmit the stored data to the processor, and the processor can execute the program instructions stored in the memory to perform the steps of the above method.

[0110] The memory may include a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories; the processor may be a central processing unit, a microprocessor, an application-specific integrated circuit, a programmable logic device, or a combination thereof. By way of example but not limitation, the programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic, or any combination thereof.

[0111] Additionally, the memory may be a physically separate unit or may be integrated with the processor.

[0112] It can be understood by those skilled in the art that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have the same component arrangement.

[0113] In one embodiment, the present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method are implemented.

[0114] An autonomous decentralized wireless ad hoc network communication method, apparatus, device and medium provided by an embodiment of the present invention, wherein the autonomous decentralized wireless ad hoc network communication method enables each node device to participate in the management and optimization of the network through quantum communication technology, machine learning algorithm, dynamic spectrum allocation and other methods, not only realizing efficient communication of the autonomous decentralized wireless ad hoc network under a decentralized structure, providing a high degree of security and privacy protection, but also ensuring the autonomy and coordination of the network, providing an efficient and secure solution for wireless ad hoc network communication, and reducing the consumption of network resources.

[0115] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., an SSD), etc.

[0116] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods.

[0117] The above-mentioned embodiments only express several preferred implementation modes of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in the technical field, several improvements and substitutions can be made without departing from the technical principles of the present invention, and these improvements and substitutions should also be regarded as the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be based on the protection scope of the claims.

Claims

1. An autonomous decentralized wireless ad hoc network communication method, characterized in that: The following steps are involved: Deploy wireless ad hoc network node devices in the target area, and use blockchain technology to build an initialized decentralized wireless ad hoc network, so that each wireless ad hoc network node device serves as a node of the blockchain; A quantum key distribution system is established between wireless ad hoc network node devices, and in response to a data transmission request, a quantum key is generated using a quantum key exchange protocol; Acquire spectrum sensing information of the surrounding environment of each network node, and make collaborative decisions and dynamically allocate available spectrum resources among wireless ad hoc network node devices through a wireless adaptive consensus algorithm based on the spectrum sensing information; Deploy edge computing node devices and fog computing node devices at key nodes of the wireless ad hoc network, and automatically allocate computing tasks through blockchain smart contracts to jointly form a wireless ad hoc collaborative computing network; Based on the available spectrum resources and the current network status, selecting the optimal routing path by using the wireless ad hoc collaborative computing network; Encrypting communication data in the wireless ad hoc network by using the quantum key to generate communication encryption data, and transmitting the communication encryption data to the target node device via an optimal routing path; The steps of obtaining spectrum sensing information of the surrounding environment of each network node, and making collaborative decisions and dynamically allocating available spectrum resources through a wireless adaptive consensus algorithm among wireless ad hoc network node devices based on the spectrum sensing information include: Control each wireless ad hoc network node device to scan the spectrum of its surrounding environment at a preset period to obtain spectrum sensing data; Preprocessing and feature extracting the spectrum sensing data to obtain spectrum sensing features; Using a machine learning algorithm to identify a spectrum usage pattern from the spectrum sensing features, and predict spectrum availability; According to the spectrum availability, a wireless adaptive consensus algorithm is used to make collaborative decisions among wireless ad hoc network node devices, and the spectrum allocation strategy is determined through a voting mechanism; Dynamically allocate available spectrum resources according to the spectrum allocation strategy; The wireless adaptive consensus algorithm is integrated into the decentralized wireless ad hoc network. The steps of using the wireless adaptive consensus algorithm to make collaborative decisions among wireless ad hoc network node devices according to spectrum availability and determining the spectrum allocation strategy through a voting mechanism include: The delegated proof-of-stake blockchain consensus algorithm is used as the basic framework, and the trusted nodes in the decentralized wireless ad hoc network architecture are selected as the initial nodes participating in the consensus; The node activity is obtained according to the performance evaluation of the initial node; wherein the performance of the initial node includes the equity, online time, communication quality and computing power of the initial representative node; At the beginning of each consensus cycle, a preset number of representative nodes are dynamically selected from the initial nodes based on the node activity to participate in the consensus process; Dynamically allocating voting weights of the representative nodes in the consensus process according to node equity and the network status of the decentralized wireless ad hoc network; In response to the spectrum allocation request, each representative node votes on the spectrum allocation task to be decided according to the voting weight and spectrum availability, and determines the spectrum allocation strategy according to the voting result.

2. The autonomous decentralized wireless ad hoc network communication method according to claim 1, characterized in that: The mathematical expression of the voting weight is: in, N i =λ1*a i +λ2*β i +λ3*γ i E i =d i *(e i ) k +w i *(log) i +logθ i ) Where V i Represents voting weight; N i represents the network status factor of node i; E i represents the equity factor of node i; subscript j represents the jth node; M represents the total number of nodes; λ1, λ2 and λ3 all represent the weight coefficient of the network status factor; α i represents the connectivity of node i in the decentralized wireless ad hoc network; β i represents the communication quality of node i in the decentralized wireless ad hoc network; γ i represents the delay of node i in the decentralized wireless ad hoc network; δ i Indicates the amount of currency held by node i; ε i represents the contribution coefficient of node i; k represents the influence coefficient of node equity on voting weight; η i represents the active time of node i in the decentralized wireless ad hoc network; θ i represents the amount of data contributed by node i in the decentralized wireless ad hoc network; w i Represents the equity weight coefficient.

3. The autonomous decentralized wireless ad hoc network communication method according to claim 1, characterized in that: The edge computing node device and the fog computing node device are both deployed at the edge of the wireless ad hoc network; The edge computing node device is used to receive and process data streams from the wireless ad hoc network, monitor the operation status of the wireless ad hoc network in real time, and dynamically adjust its own computing resources and network configuration; The fog computing node device serves as the resource pool of the entire network. It is used to receive and process data from the edge computing node devices, and through interaction with the blockchain smart contract, adjust the allocation strategy of computing tasks in real time according to network status change information.

4. The autonomous decentralized wireless ad hoc network communication method according to claim 1, characterized in that: The step of selecting the optimal routing path by using the wireless ad hoc collaborative computing network based on the available spectrum resources and the current network status comprises: Each wireless ad hoc network node device is used as a federated learning node, and a federated learning communication framework is established according to the learning task of the decentralized wireless ad hoc network; The relationship between the node devices of the wireless ad hoc network is modeled by using a graph neural network, a network topology is constructed, and the association information between the node devices of the wireless ad hoc network is captured according to the network topology; wherein the nodes in the network topology represent federated learning nodes, and the edges represent communication links between the federated learning nodes; Through the federated learning model, the graph neural network is used as the local model of the federated learning node for training and optimization, and the local models of each federated learning node are integrated through the model aggregation algorithm to obtain the global model parameters; The current network status is obtained by using the global model parameters, the current network status is analyzed in real time by using the wireless ad hoc network collaborative computing network, and the spectrum resources are dynamically allocated through a dynamic spectrum auction mechanism in combination with the global model parameters, so that each wireless ad hoc network node device obtains the optimal spectrum resources; According to the optimal spectrum resources and the association information between wireless ad hoc network node devices, the Dijkstra algorithm is used to select the optimal routing path.

5. The autonomous decentralized wireless ad hoc network communication method according to claim 4, characterized in that: Also includes: When the wireless ad hoc network node device transmits the communication encrypted data according to the optimal routing path, if it is detected that the current wireless ad hoc network node device is a problem node or there is room for optimization in its communication path, the wireless ad hoc network collaborative computing network is used to re-analyze the current network state and find the optimal neighboring node; A communication path collaborative optimization request is sent to the optimal neighboring node, so that the optimal neighboring node analyzes and predicts the current network behavior and its own state through a machine learning algorithm, generates a communication path collaborative optimization plan, and updates the optimal routing path according to the communication path collaborative optimization plan.

6. An autonomous decentralized wireless ad hoc network communication device, characterized in that: The device comprises: The network construction module is used to deploy wireless ad hoc network node devices in the target area and use blockchain technology to build an initialized decentralized wireless ad hoc network, so that each wireless ad hoc network node device serves as a node of the blockchain; A key generation module is used to establish a quantum key distribution system between wireless ad hoc network node devices, and generate a quantum key using a quantum key exchange protocol in response to a data transmission request; The spectrum allocation module is used to obtain spectrum sensing information of the surrounding environment of each network node, and make collaborative decisions and dynamically allocate available spectrum resources among wireless ad hoc network node devices through a wireless adaptive consensus algorithm based on the spectrum sensing information; A path analysis module is used to deploy edge computing node devices and fog computing node devices on key nodes of the wireless ad hoc network, and automatically allocate computing tasks through blockchain smart contracts to jointly form a wireless ad hoc collaborative computing network; based on the available spectrum resources and the current network status, the wireless ad hoc collaborative computing network is used to select the optimal routing path; A data transmission module, used to encrypt communication data in the wireless ad hoc network by using the quantum key, generate communication encryption data, and transmit the communication encryption data to the target node device via an optimal routing path; The spectrum allocation module is specifically used to: Control each wireless ad hoc network node device to scan the spectrum of its surrounding environment at a preset period to obtain spectrum sensing data; Preprocessing and feature extracting the spectrum sensing data to obtain spectrum sensing features; Using a machine learning algorithm to identify a spectrum usage pattern from the spectrum sensing features, and predict spectrum availability; According to the spectrum availability, a wireless adaptive consensus algorithm is used to make collaborative decisions among wireless ad hoc network node devices, and the spectrum allocation strategy is determined through a voting mechanism; Dynamically allocate available spectrum resources according to the spectrum allocation strategy; The wireless adaptive consensus algorithm is integrated into the decentralized wireless ad hoc network. The wireless adaptive consensus algorithm is used to make collaborative decisions among the wireless ad hoc network node devices according to the spectrum availability, and the spectrum allocation strategy is determined through a voting mechanism, which specifically includes: The delegated proof-of-stake blockchain consensus algorithm is used as the basic framework, and the trusted nodes in the decentralized wireless ad hoc network architecture are selected as the initial nodes participating in the consensus; The node activity is obtained according to the performance evaluation of the initial node; wherein the performance of the initial node includes the equity, online time, communication quality and computing power of the initial representative node; At the beginning of each consensus cycle, a preset number of representative nodes are dynamically selected from the initial nodes based on the node activity to participate in the consensus process; Dynamically allocating voting weights of the representative nodes in the consensus process according to node equity and the network status of the decentralized wireless ad hoc network; In response to the spectrum allocation request, each representative node votes on the spectrum allocation task to be decided according to the voting weight and spectrum availability, and determines the spectrum allocation strategy according to the voting result.

7. A computer device, characterized in that: The computer device comprises a processor and a memory, wherein the processor is connected to the memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the computer device executes the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Dynamic spectrum access system design method based on blockchain

    CN113099458A