CN115915324A - Multi-channel routing method, device, computer equipment and storage medium - Google Patents

Multi-channel routing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN115915324A
CN115915324A CN202211386122.XA CN202211386122A CN115915324A CN 115915324 A CN115915324 A CN 115915324A CN 202211386122 A CN202211386122 A CN 202211386122A CN 115915324 A CN115915324 A CN 115915324A
Authority
CN
China
Prior art keywords
routing
channel
hoc network
node
protocol frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211386122.XA
Other languages
Chinese (zh)
Inventor
邓昭彰
李卫军
王桥飞
廖送林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan Leading Wisdom Telecommunication and Technology Co Ltd
Original Assignee
Hunan Leading Wisdom Telecommunication and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan Leading Wisdom Telecommunication and Technology Co Ltd filed Critical Hunan Leading Wisdom Telecommunication and Technology Co Ltd
Priority to CN202211386122.XA priority Critical patent/CN115915324A/en
Publication of CN115915324A publication Critical patent/CN115915324A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a multichannel routing method, a multichannel routing device, a computer device and a storage medium. The method comprises the steps of adding a channel selection field in an original routing protocol frame structure of the ad hoc network, expanding the original routing protocol frame structure, obtaining a multi-channel routing protocol frame structure and a corresponding multi-channel routing frame protocol, and simultaneously operating the multi-channel routing frame protocol in the public network and the ad hoc network. The invention makes nodes transmit routing protocol frames through self-networking channels and public network channels respectively by switching channel selection fields of a multi-channel routing frame protocol, and adds penalty factors to the weight of a routing path in which the protocol frames are transmitted through the public network channels, so that after a routing table is updated, if the self-networking channels and the public network channels exist between the nodes at the same time, the self-networking channels can be preferentially selected for data transmission according to the penalty factors, and the public network flow is saved. By adopting the invention, the network cooperation capability of the wireless ad hoc network can be effectively improved.

Description

Multi-channel routing method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of wireless communications technologies, and in particular, to a multi-channel routing method, apparatus, computer device, and storage medium.
Background
The wireless ad hoc network has the characteristics of no center and distribution, and the wireless ad hoc network equipment can carry out local networking communication independent of infrastructure by configuring the same radio frequency parameters; at present, communication between cross-domain ad hoc network teams in different regions and even different countries is generally realized through an external gateway device and a method of manual network setting. When node cross-network movement, subnet fusion or subnet splitting occurs between ad hoc network teams, network gateway configuration needs to be carried out again, and the use is not flexible enough.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a multi-channel routing method, apparatus, computer device and storage medium for flexibly coping with distribution change of ad hoc network nodes and improving communication cooperation capability of the ad hoc network nodes.
A multi-channel routing method, the method comprising:
acquiring an original routing protocol frame structure of an ad hoc network, adding a channel selection field in the original routing protocol frame structure to obtain a multichannel routing protocol frame structure and a corresponding multichannel routing protocol, and simultaneously operating the multichannel routing protocol in a public network and the ad hoc network; the channel selection field is used for indicating that the routing protocol frame is forwarded through an ad hoc network channel or a public network channel; the ad hoc network channel and the public network channel are independent of each other; the ad hoc network comprises a plurality of ad hoc network teams; each ad hoc network sub-group comprises at least one node;
switching the channel selection field to enable the current node to forward a routing protocol frame to a next node through an ad hoc network channel and a public network channel respectively, and adding a penalty factor to a weight of a routing path from the public network channel when the routing protocol frame received by the next node comes from the ad hoc network channel and the public network channel; the ad hoc network sub-group where the current node is located is different from the ad hoc network sub-group where the next node is located;
acquiring an updated routing table; the routing table comprises a plurality of routing table entries; each routing table entry corresponds to a routing path from other nodes in the ad hoc network to a source node and a weight value of the corresponding routing path;
and selecting a channel for data transmission between nodes according to the weight of the routing path in the routing table.
A multi-channel routing apparatus, the apparatus comprising:
the protocol frame extension module is used for acquiring an original routing protocol frame structure of the ad hoc network, adding a channel selection field in the original routing protocol frame structure to acquire a multi-channel routing protocol frame structure and a corresponding multi-channel routing protocol, and simultaneously operating the multi-channel routing protocol in the public network and the ad hoc network; the channel selection field is used for indicating that the routing protocol frame is forwarded through an ad hoc network channel or a public network channel; the ad hoc network channel and the public network channel are independent of each other; the ad hoc network comprises a plurality of ad hoc network teams; each ad hoc network sub-group comprises at least one node;
the protocol frame forwarding module is used for switching the channel selection field to enable the current node to forward a routing protocol frame to the next node through an ad hoc network channel and a public network channel respectively, and when the routing protocol frame received by the next node comes from the ad hoc network channel and the public network channel, a penalty factor is added to a weight of a routing path from the public network channel;
a routing table obtaining module, configured to obtain an updated routing table; the routing table comprises a plurality of routing table entries; each routing table entry corresponds to a routing path from other nodes in the ad hoc network to a source node and a weight value of the corresponding routing path;
and the transmission channel selection module is used for selecting a channel for data transmission between the nodes according to the weight of the routing path in the routing table.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring an original routing protocol frame structure of an ad hoc network, adding a channel selection field in the original routing protocol frame structure to obtain a multichannel routing protocol frame structure and a corresponding multichannel routing protocol, and simultaneously operating the multichannel routing protocol in a public network and the ad hoc network; the channel selection field is used for indicating that the routing protocol frame is forwarded through an ad hoc network channel or a public network channel; the ad hoc network channel and the public network channel are independent of each other; the ad hoc network comprises a plurality of ad hoc network teams; each ad hoc network sub-group comprises at least one node;
switching the channel selection field to enable the current node to forward a routing protocol frame to a next node through an ad hoc network channel and a public network channel respectively, and adding a penalty factor to a weight of a routing path from the public network channel when the routing protocol frame received by the next node comes from the ad hoc network channel and the public network channel; the ad hoc network sub-group where the current node is located is different from the ad hoc network sub-group where the next node is located;
acquiring an updated routing table; the routing table comprises a plurality of routing table entries; each routing table entry corresponds to a routing path from other nodes in the ad hoc network to a source node and a weight value of the corresponding routing path;
and selecting a channel for data transmission between nodes according to the weight of the routing path in the routing table.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring an original routing protocol frame structure of an ad hoc network, adding a channel selection field in the original routing protocol frame structure to obtain a multichannel routing protocol frame structure and a corresponding multichannel routing protocol, and simultaneously operating the multichannel routing protocol in a public network and the ad hoc network; the channel selection field is used for indicating that the routing protocol frame is forwarded through an ad hoc network channel or a public network channel; the ad hoc network channel and the public network channel are independent of each other; the ad hoc network comprises a plurality of ad hoc network teams; each ad hoc network sub-group comprises at least one node;
switching the channel selection field to enable the current node to forward a routing protocol frame to the next node through an ad hoc network channel and a public network channel respectively, and adding a penalty factor to a weight of a routing path from the public network channel when the routing protocol frame received by the next node comes from the ad hoc network channel and the public network channel; the ad hoc network sub-group where the current node is located is different from the ad hoc network sub-group where the next node is located;
acquiring an updated routing table; the routing table comprises a plurality of routing table entries; each routing table entry corresponds to a routing path from other nodes in the ad hoc network to a source node and a weight value of the corresponding routing path;
and selecting a channel for data transmission between nodes according to the weight of the routing path in the routing table.
The multi-channel routing method, the device, the computer equipment and the storage medium realize the expansion of the original routing protocol frame structure by adding the channel selection field in the original routing protocol frame structure of the ad hoc network, obtain the multi-channel routing protocol frame structure and the corresponding multi-channel routing frame protocol, and simultaneously operate the multi-channel routing frame protocol in the public network and the ad hoc network. The invention makes the nodes transmit the routing protocol frame through the self-networking channel and the public network channel respectively by switching the channel selection field of a multi-channel routing frame protocol, adds a penalty factor to the weight of the routing path of the protocol frame transmitted through the public network channel, makes the nodes automatically select the optimal routing path to transmit the service data according to the self-networking routing table after the routing table is updated, and adaptively performs routing selection and routing switching after the network changes such as cross-network movement, subnet fusion or subnet splitting, and the like, without configuring a specific public network gateway or reconfiguring the public network gateway after the network changes, thereby effectively improving the network cooperation capability of the wireless self-networking and being capable of adaptively flexibly coping with the distribution conditions of various self-networking nodes. If the nodes have the ad hoc network channel and the public network channel at the same time, the ad hoc network channel can be preferentially selected for data transmission according to the punishment factor so as to save the public network flow. In contrast, the existing public network + ad hoc network convergence network generally requires manual configuration of a public network gateway, and when node cross-network movement, subnet convergence or subnet splitting occurs between ad hoc network teams, network gateway configuration needs to be performed again, which is not flexible to use.
Drawings
FIG. 1 is a flow diagram illustrating a method for multi-channel routing in one embodiment;
FIG. 2 is a diagram illustrating the establishment of routing paths by relatively closely spaced ad hoc networks in one embodiment;
FIG. 3 is a diagram illustrating the establishment of routing paths by relatively distant ad hoc network teams, in one embodiment;
FIG. 4 is a diagram illustrating an extended multichannel routing protocol frame structure in an embodiment;
FIG. 5 is a block diagram of a multi-channel routing device in one embodiment;
FIG. 6 is a diagram of the internal structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, there is provided a multi-channel routing method comprising the steps of:
step 102, obtaining an original routing protocol frame structure of the ad hoc network, adding a channel selection field in the original routing protocol frame structure to obtain a multichannel routing protocol frame structure and a corresponding multichannel routing protocol, and simultaneously operating the multichannel routing protocol in the public network and the ad hoc network.
The channel selection field is used for indicating that the routing protocol frame is forwarded through an ad hoc network channel or a public network channel. The ad hoc network channel and the public network channel are independent of each other.
The ad hoc network comprises a plurality of ad hoc network sub-groups, and each ad hoc network sub-group comprises at least one node. The method is based on a virtual two-layer switching network based on SDN, a cross-domain self-organizing network is constructed across a public network, each self-organizing network node simultaneously runs SDN software and wireless self-organizing network routing protocol software, a plurality of wireless self-organizing network sub-groups accessed to the public network are similar to a large virtual two-layer switching network, and network communication based on TCP/IP can be carried out as long as each device is in the same network segment.
And 104, by switching the channel selection field, the current node forwards the routing protocol frame to the next node through the ad hoc network channel and the public network channel respectively, and when the routing protocol frame received by the next node comes from the ad hoc network channel and the public network channel, a penalty factor is added to the weight of the routing path from the public network channel.
And the ad hoc network sub-group where the current node is located is different from the ad hoc network sub-group where the next node is located.
And step 106, acquiring the updated routing table.
The routing table comprises a plurality of routing table entries, and each routing table entry corresponds to a routing path from other nodes in the ad hoc network to a source node and a weight value of the corresponding routing path.
And 108, selecting a channel for data transmission between the nodes according to the weight of the routing path in the routing table.
In the multi-channel routing method, the expansion of the original routing protocol frame structure is realized by adding the channel selection field in the original routing protocol frame structure of the ad hoc network, so that the multi-channel routing protocol frame structure and the corresponding multi-channel routing frame protocol are obtained, and the multi-channel routing frame protocol is operated in the public network and the ad hoc network simultaneously. The invention makes the nodes transmit the routing protocol frame through the self-networking channel and the public network channel respectively by switching the channel selection field of a multichannel routing frame protocol, and adds a punishment factor to the weight of the routing path in which the protocol frame is transmitted through the public network channel, so that if the self-networking channel and the public network channel exist between the nodes at the same time after the routing table is updated, the self-networking channel can be preferentially selected for data transmission according to the punishment factor, thereby saving the public network flow. Compared with the prior public network and ad hoc network converged network, a public network gateway generally needs to be manually configured, when node position distribution changes due to node cross-network movement, subnet convergence or subnet splitting of ad hoc network teams, communication capacity of ad hoc network channels between the changed teams may also change, if the ad hoc network teams are too far apart, ad hoc network channels between the ad hoc network teams cannot communicate, and therefore external gateway equipment is needed, but when node conditions change, the gateway equipment also needs to be correspondingly adjusted, and thus the use is not flexible. The invention can still carry out the whole network forwarding of the routing protocol frame and the establishment of the routing path through a multi-channel routing frame protocol and two mutually independent channels without manually adjusting the configuration of a network gateway, thereby effectively improving the network cooperation capability of the wireless ad hoc network.
As shown in fig. 2, a schematic diagram is provided for establishing routing paths by ad hoc network sub-teams which are relatively close to each other. For node A, after the node is powered on, the node periodically sends OM frames, and after the node B receives the OM frames through the ad hoc network channel, the node B establishes a route to the node A. The ad hoc network sub-groups where the node A and the node B are located are closer to the ad hoc network sub-groups where the node C and the node D are located, ad hoc network channels of the node B and the node C of the two sub-groups and a public network channel can both communicate, the node C can receive routing protocol frames from the node B in the ad hoc network channels and the public network channel, and a penalty factor is added to a routing path weight from the public network channel, so that the node C can select to reach a next hop of the node B through the ad hoc network channel to transmit data. Then, the node C forwards the OM frame on the ad hoc network channel and the public network channel at the same time, and after receiving the OM frame through the ad hoc network channel, the node D establishes a route to the node A, and meanwhile, the next hop of the route is the node C. Wherein, the OM frame represents a routing protocol frame, the sequence number 1 represents forwarding the OM frame through an ad hoc network channel, the sequence number 2 represents forwarding the OM frame through a 4G public network channel, dest represents a source node, next hop represents a routing Next hop node, and neighbor list represents a routing table entry.
As shown in fig. 3, a schematic diagram is provided for establishing a routing path by ad hoc network teams that are far apart. The ad hoc network sub-groups in which the node A and the node B are positioned and the ad hoc network sub-groups in which the node C and the node D are positioned are far away from each other, and ad hoc network channels of the two sub-groups cannot communicate with each other, but the node B and the node C have a public network channel, so that the two sub-groups can communicate with each other through the public network channel. For the node A, the node A periodically sends an OM frame after being started, the node B establishes a route to the node A after receiving the OM frame through an ad hoc network channel, then the node B forwards the OM frame on the ad hoc network channel and a public network channel at the same time, the node C establishes a route to the node A after receiving the OM frame through the public network channel, the next hop of the route is the node B, then the node C forwards the OM frame on the ad hoc network channel and the public network channel at the same time, the node D establishes a route to the node A after receiving the OM frame through the ad hoc network channel, and the next hop of the route is the node C.
In one embodiment, the step of updating the routing table comprises: after other nodes receive the routing protocol frame, if the node does not have a routing table entry reaching the source node, a routing table entry taking the source node as a routing destination node is added, and if the node has the routing table entry reaching the source node, the routing table entry is updated.
In one embodiment, switching the channel selection field to make the current node forward the routing protocol frame to the next node through the ad hoc network channel and the public network channel respectively comprises: setting the channel selection field to 0, so that the current node forwards the routing protocol frame to the next node through the ad hoc network channel; setting the channel selection field to 1, so that the current node forwards the routing protocol frame to the next node through the public network channel.
As shown in fig. 4, an extended multichannel routing protocol frame structure is provided. Wherein the type field is a frame type; TTL is survival time; seq is the OM frame number; orig ID represents the ID number of the source node sending the OM frame; the TQ value is the link transmission quality and is the basis for routing. The wireless ad hoc network routing protocol is expanded, a field is added on the basis of an original periodic routing protocol frame OM frame, and the gw _ flag field is used for indicating whether the OM frame is sent through an ad hoc network channel or a public network channel.
Each node in the ad hoc network periodically sends OM frames in the ad hoc network channel and the public network channel in a broadcasting mode, if the OM frames are sent through the ad hoc network channel, the gw _ flag field is set to be 0, and if the OM frames are sent through the public network channel, the gw _ flag field is set to be 1. The node that generates the OM frame is referred to as the source node and the frame is forwarded through the network to advertise the presence of the source node.
If the OM frame gw _ flag field is 1, adding a penalty factor to the routing path weight of the path, so that when an ad hoc network channel and a public network channel exist at the same time, the node preferentially selects the ad hoc network channel to perform data transmission, so as to save public network traffic.
And after the routing table is updated, forwarding the current OM frame, and if the node has an ad hoc network channel and a public network channel at the same time, forwarding the OM frame on the ad hoc network channel and the public network channel at the same time.
It should be understood that, although the steps in the flowchart of fig. 1 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided a multi-channel routing apparatus, including: module A, module B and module C, wherein:
the protocol frame extension module 502 is configured to obtain an original routing protocol frame structure of the ad hoc network, add a channel selection field in the original routing protocol frame structure, obtain a multi-channel routing protocol frame structure and a corresponding multi-channel routing protocol, and simultaneously run the multi-channel routing protocol in the public network and the ad hoc network.
The channel selection field is used for indicating that the routing protocol frame is forwarded through an ad hoc network channel or a public network channel; the ad hoc network channel and the public network channel are mutually independent; the ad hoc network comprises a plurality of ad hoc network teams; each ad hoc network sub-team comprises at least one node.
The protocol frame forwarding module 504 is configured to forward, by switching the channel selection field, the routing protocol frame by the current node to the next node through the ad hoc network channel and the public network channel, and add a penalty factor to a weight of a routing path from the public network channel when the routing protocol frame received by the next node comes from the ad hoc network channel and the public network channel.
A routing table obtaining module 506, configured to obtain the updated routing table.
The routing table includes a plurality of routing table entries; each routing table entry corresponds to a routing path from other nodes in the ad hoc network to a source node and a weight value of the corresponding routing path;
a transmission channel selecting module 508, configured to select a channel for data transmission between nodes according to the weight of the routing path in the routing table.
For specific limitations of the multi-channel routing apparatus, reference may be made to the above limitations of the multi-channel routing method, which are not described herein again. The various modules in the multi-channel routing device described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is for storing protocol frame data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a multi-channel routing method.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, a computer device is provided, comprising a memory storing a computer program and a processor implementing the steps of the method in the above embodiments when the processor executes the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method in the above-mentioned embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (6)

1. A method for multi-channel routing, the method comprising:
acquiring an original routing protocol frame structure of an ad hoc network, adding a channel selection field in the original routing protocol frame structure to obtain a multichannel routing protocol frame structure and a corresponding multichannel routing protocol, and simultaneously operating the multichannel routing protocol in a public network and the ad hoc network; the channel selection field is used for indicating that the routing protocol frame is forwarded through an ad hoc network channel or a public network channel; the ad hoc network channel and the public network channel are independent of each other; the ad hoc network comprises a plurality of ad hoc network teams; each ad hoc network sub-group comprises at least one node;
switching the channel selection field to enable the current node to forward a routing protocol frame to a next node through an ad hoc network channel and a public network channel respectively, and adding a penalty factor to a weight of a routing path from the public network channel when the routing protocol frame received by the next node comes from the ad hoc network channel and the public network channel; the ad hoc network sub-group where the current node is located is different from the ad hoc network sub-group where the next node is located;
acquiring an updated routing table; the routing table comprises a plurality of routing table entries; each routing table entry corresponds to a routing path from other nodes in the ad hoc network to a source node and a weight value of the corresponding routing path;
and selecting a channel for data transmission between nodes according to the weight of the routing path in the routing table.
2. The method of claim 1, wherein the step of updating the routing table comprises:
after other nodes receive a routing protocol frame, if the node does not have a routing table entry reaching the source node, a routing table entry taking the source node as a routing destination node is newly added, and if the node has the routing table entry reaching the source node, the routing table entry is updated.
3. The method of claim 1, wherein switching the channel selection field to enable a current node to forward a routing protocol frame to a next node via an ad hoc network channel and a public network channel respectively comprises:
setting the channel selection field to 0, so that the current node forwards a routing protocol frame to the next node through an ad hoc network channel;
and setting the channel selection field to be 1, so that the current node forwards a routing protocol frame to the next node through a public network channel.
4. A multi-channel routing apparatus, the apparatus comprising:
the protocol frame extension module is used for acquiring an original routing protocol frame structure of the ad hoc network, adding a channel selection field in the original routing protocol frame structure to acquire a multi-channel routing protocol frame structure and a corresponding multi-channel routing protocol, and simultaneously operating the multi-channel routing protocol in the public network and the ad hoc network; the channel selection field is used for indicating that the routing protocol frame is forwarded through an ad hoc network channel or a public network channel; the ad hoc network channel and the public network channel are independent of each other; the ad hoc network comprises a plurality of ad hoc network teams; each ad hoc network sub-group comprises at least one node;
the protocol frame forwarding module is used for switching the channel selection field to enable the current node to forward a routing protocol frame to a next node through an ad hoc network channel and a public network channel respectively, and adding a penalty factor to a weight of a routing path from the public network channel when the routing protocol frame received by the next node comes from the ad hoc network channel and the public network channel;
a routing table obtaining module, configured to obtain an updated routing table; the routing table comprises a plurality of routing table entries; each routing table entry corresponds to a routing path from other nodes in the ad hoc network to a source node and a weight value of the corresponding routing path;
and the transmission channel selection module is used for selecting a channel for data transmission between the nodes according to the weight of the routing path in the routing table.
5. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 3 when executing the computer program.
6. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 3.
CN202211386122.XA 2022-11-07 2022-11-07 Multi-channel routing method, device, computer equipment and storage medium Pending CN115915324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211386122.XA CN115915324A (en) 2022-11-07 2022-11-07 Multi-channel routing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211386122.XA CN115915324A (en) 2022-11-07 2022-11-07 Multi-channel routing method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115915324A true CN115915324A (en) 2023-04-04

Family

ID=86481634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211386122.XA Pending CN115915324A (en) 2022-11-07 2022-11-07 Multi-channel routing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115915324A (en)

Similar Documents

Publication Publication Date Title
US10212077B2 (en) Label switched packet transfer device
CN110351109B (en) Topology information management method, device, system, storage medium and electronic device
US7620003B2 (en) System and method of operation of a communication network
US7839856B2 (en) Centrally controlled routing with tagged packet forwarding in a wireless mesh network
US10382226B2 (en) Integrated services processing for mobile networks
EP1316174B1 (en) Methods and apparatus for supporting mobility within a radio access network
US11445430B2 (en) Data forwarding method and apparatus
EP1964339A1 (en) Method and apparatus for end node assisted neighbor discovery
US20130322404A1 (en) Method for handover in wireless communications network comprising a number of sub-networks
EP1506640B1 (en) Distribution scheme for distributing network parameters among network nodes
US10785697B2 (en) Systems and methods for establishing and managing communication in a mobile ad-hoc network
CN115941584A (en) High dynamic on-demand routing method for ad hoc network, communication node and storage medium
CN113037883B (en) Method and device for updating MAC address table entries
JPWO2007119598A1 (en) High-speed QoS handover method and processing node used in the method
EP2353221A2 (en) Cooperative relaying data method and system for wireless mesh network
CN115915324A (en) Multi-channel routing method, device, computer equipment and storage medium
US20170195456A1 (en) Traffic control in a communication network
CN113613306B (en) Multipath routing method and device suitable for wireless ad hoc network
US8204009B2 (en) Providing connectivity between subnets of a wireless network
WO2022091476A1 (en) Network control device, network control system, network control method, and wireless network system construction method
CN106488518B (en) Method for realizing user data continuous transmission under multi-cell switching
CN115413068A (en) Cross-domain networking communication method and device suitable for wireless ad hoc network
CN117580122A (en) Different-frequency cross-linked networking system based on terminal bridging
CN117063520A (en) Information receiving and transmitting method, data transmitting method and device
CN117579582A (en) Communication method, device, core network equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination