Method for data transmission between nodes, electronic equipment and node communication system

By setting the backoff time according to the number of publicly available channels between nodes, the problem of difficulty in reserving channels by the source node is solved, network performance is improved, and the situation of becoming a bottleneck node due to reservation failure is avoided.

CN118804340AActive Publication Date: 2024-10-18CHINA MOBILE GROUP ZHEJIANG +3
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410500636.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-24
Publication Date
2024-10-18
Estimated Expiration
2044-04-24

AI Technical Summary

Technical Problem

In a multi-channel communication environment, the source node may have difficulty reserving channels, causing it to become a bottleneck node and affecting network performance.

Method used

By setting the backoff time according to the number of public available channels between the source node and the target node, the source node sends a request to send frame after the backoff time expires, avoiding fixed competition in fewer available channels and improving the reservation success rate.

Benefits of technology

It effectively avoids the problem that the source node cannot realize data transmission for a long time due to reservation failure, improves network performance, especially for nodes with a small number of available channels, and improves the possibility of successful reservation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118804340A_ABST
    Figure CN118804340A_ABST
Patent Text Reader

Abstract

The invention discloses a method for data transmission between nodes, electronic equipment and a node communication system, and belongs to the field of communication. The method for data transmission between the nodes comprises the following steps that: a source node acquires back-off time under the condition that idle time of a target channel is monitored to be greater than a threshold value; the target channel is a public available channel between the source node and a target node, and the backoff time is related to the number of public available channels between the source node and the target node; if the target channel is in an idle state within the backoff time after the idle time, the source node sends a request sending frame to the target node after the backoff time is ended, and the request sending frame is used for initiating reservation of the target channel; and the source node performs data transmission with the target node by using the target channel under the condition of receiving a transmission permission frame sent by the target node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communications, and specifically relates to a method for data transmission between nodes, an electronic device, and a node communication system. Background Art

[0002] In a multi-channel communication environment, there are multiple available channels in the self-organizing network. Nodes can communicate in parallel on multiple channels. Nodes reserve channels for data transmission by exchanging control information on the channels. After the reservation is successful, data is transmitted on the reserved channels.

[0003] In the process of channel reservation between source nodes and destination nodes, some source nodes may easily reserve channels, while others may not. Such source nodes that are not easy to reserve channels may become bottleneck nodes, thus affecting the network performance in the self-organizing network. Summary of the invention

[0004] The embodiments of the present application provide a method, an electronic device, and a node communication system for data transmission between nodes, which can specifically set the backoff time of the source node according to the number of publicly available channels of the source node and the target node, so that the time when the source node sends a request to send a frame for reserving a target channel after the backoff time has a certain correlation with the number of publicly available channels, thereby avoiding the situation where the source node with a smaller number of publicly available channels can only compete with other nodes with a fixed probability in a smaller number of publicly available channels, resulting in the source node being unable to achieve the purpose of data transmission for a long time when the reservation of the target channel fails, and then becoming a bottleneck node, affecting network performance.

[0005] In a first aspect, an embodiment of the present application provides a method for performing data transmission between nodes, the method comprising:

[0006] The source node acquires a backoff time when it is detected that the idle time of the target channel is greater than a threshold; the target channel is a common available channel between the source node and the target node, and the backoff time is related to the number of common available channels between the source node and the target node;

[0007] If the target channel is in an idle state within the backoff time after the idle time, the source node sends a request to send frame to the target node after the backoff time ends, where the request to send frame is used to initiate a reservation for the target channel;

[0008] When the source node receives the permission-to-send frame sent by the target node, the source node uses the target channel to perform data transmission with the target node.

[0009] In a second aspect, an embodiment of the present application provides another method for performing data transmission between nodes, the method comprising:

[0010] If the target channel is in an idle state within a backoff time after the idle time, the target node receives a request to send frame sent by the source node after the backoff time ends, the request to send frame is used to initiate a reservation for the target channel, the target channel is a common available channel between the source node and the target node, and the backoff time is related to the number of common available channels between the source node and the target node;

[0011] The target node sends a permission-to-send frame to the source node in response to the request-to-send frame, wherein the permission-to-send frame is used to indicate that the source node has successfully reserved the target channel;

[0012] The target node performs data transmission with the source node by using the target channel.

[0013] In a third aspect, an embodiment of the present application provides a node communication system, the system comprising:

[0014] The source node acquires a backoff time when it is detected that the idle time of the target channel is greater than a threshold; the target channel is a common available channel between the source node and the target node, and the backoff time is related to the number of common available channels between the source node and the target node;

[0015] If the target channel is in an idle state within the backoff time after the idle time, the source node sends a request to send frame to the target node after the backoff time ends, where the request to send frame is used to initiate a reservation for the target channel;

[0016] After receiving the request to send frame sent by the source node after the backoff time ends, the target node sends a permission to send frame to the source node in response to the request to send frame, wherein the permission to send frame is used to indicate that the source node has successfully reserved the target channel;

[0017] In a case where the source node receives the permission-to-send frame sent by the target node, the source node and the target node perform data transmission using the target channel.

[0018] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0019] In a fifth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0020] In a sixth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by the processor, the steps of the method described in the first aspect are implemented.

[0021] In an embodiment of the present application, the source node acquires the backoff time when it detects that the idle time of the target channel is greater than a threshold value; the target channel is a common available channel between the source node and the target node, and the backoff time is related to the number of common available channels between the source node and the target node; if the target channel is in an idle state within the backoff time after the idle time, the source node sends a request to send frame to the target node after the backoff time ends, and the request to send frame is used to initiate a reservation for the target channel; the source node uses the target channel to perform data transmission with the target node when it receives a permission to send frame sent by the target node. In this process, when the idle time of the target channel is greater than a threshold value, the source node determines that the target channel is still in an idle state within the backoff time after the idle time, and sends a request to send frame to the target node to reserve the target channel for data transmission with the target node. The backoff time is used to avoid collision of request to send frames, and the backoff time is related to the number of public available channels between the source node and the target node. In this way, the backoff time of the source node is set in a targeted manner according to the number of public available channels of the source node and the target node, so that after the backoff time ends, the time when the source node sends a request to send frame for reserving the target channel has a certain correlation with the number of public available channels, thereby avoiding the situation where the source node with a small number of public available channels can only compete with other nodes with a fixed probability in a small number of public available channels, resulting in the source node being unable to achieve the purpose of data transmission for a long time when the reservation of the target channel fails, and then becoming a bottleneck node, affecting network performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 This is a schematic diagram of an overall process of data transmission between nodes provided in an embodiment of the present application;

[0023] Figure 2 is a flowchart of a method for performing data transmission between nodes provided in an embodiment of the present application;

[0024] Figure 3 is a flowchart of another method for performing data transmission between nodes provided in an embodiment of the present application;

[0025] Figure 4 is a flowchart of another method for performing data transmission between nodes provided in an embodiment of the present application;

[0026] Figure 5 It is a structural block diagram of a node communication system provided by an embodiment of the present application;

[0027] Figure 6 It is a structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0029] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0030] Figure 1 1 is a schematic diagram of the overall process of data transmission between nodes provided by an embodiment of the present application, which intuitively shows the interaction process between the source node and the target node during the data transmission process. Figure 1 As shown, when the nodes interact with each other, the source node and the target node realize data transmission through three steps: information synchronization, channel reservation, and data transmission. In the embodiment of the present application, each node is set with two antennas, namely, a control antenna and a transmission antenna. In the process of data transmission between nodes, channel synchronization and data transmission are realized through the transmission antenna of the node, and channel reservation is realized through the control antenna of the node.

[0031] During the information synchronization process, Figure 1 As shown in the transmission antenna part, the source node and the target node perform channel hopping based on the transmission antenna and exchange channel status frames (CSF) to synchronize each other's channel status information, so that the source node and the target node can obtain each other's available channel information, and then obtain the common available channel information of the source node and the target node.

[0032] At this point, assuming Figure 1 The channel Cj in is a common available channel between the source node and the target node. Figure 1 As shown in the control antenna section, during the channel reservation process, when the control antenna of the source node hops to channel Cj, the source node first monitors channel Cj through the control antenna. When the channel idle time is greater than the Distributed Inter-frame Spacing (DIFS), in order to reduce the probability of collision caused by the target node receiving multiple Request To Send (RTS) frames from different sources, the source node will not directly send the RTS frame, but will perform a random backoff for a period of time. If the Cj channel is still idle during the backoff time, the source node will send an RTS frame in the target channel after the backoff time ends to initiate a channel reservation to the target node. After that, if the source node receives a Clear To Send (CTS) frame sent by the target node in the target channel, it can be considered that the source node and the target node have successfully reserved channel Cj.

[0033] In the embodiment of the present application, regardless of whether data transmission is in progress, the control antennas of all nodes will listen to the information of the frequency hopping control channel in a synchronous frequency hopping manner. Therefore, after the source node and the target node complete the reservation channel, the neighboring nodes (all nodes within the one-hop communication range of the source node or the target node) will all be informed of the reserved communication channel and reservation time of the source node and the target node. In this way, when the neighboring node jumps to the channel Cj being communicated with the frequency hopping sequence during the communication process between the source node and the target node, it will not send any control information on the channel Cj to avoid affecting the data transmission of the source node and the target node. After that, after listening to the confirmation character sent by the target node indicating the successful reception of data, the neighboring node can resume the normal reservation on the channel Cj. In addition, through this reservation method, the hidden terminal problem can also be effectively avoided, wherein the hidden terminal problem refers to the problem that the nodes cannot monitor each other, but when it is not possible to transmit simultaneously, two or more nodes transmit simultaneously, thereby causing the problem of conflict.

[0034] During data transmission, Figure 1 As shown in the transmission antenna section, after the source node and the target node successfully reserve a channel through the channel reservation step, the transmission antennas of the source node and the target node exit the synchronous frequency hopping mode and switch to the reserved channel Cj for data transmission. Afterwards, if the data transmission is completed, the transmission antennas of the source node and the target node switch back to the synchronous frequency hopping mode.

[0035] In the process of data transmission between the above nodes, the nodes in the network can achieve data transmission tasks without the help of a fixed global public control channel, and the channel state can be synchronized in time through the channel synchronization step to improve the network's anti-destruction ability. However, there are still certain problems in the above method. When nodes make channel reservations, if all nodes compete for channels with the same probability, it will make it more difficult for nodes with fewer available channels to make reservations successfully. After a long time, such nodes may become bottleneck nodes in the network, limiting network performance.

[0036] In order to avoid this problem, the embodiment of the present application proposes a method for data transmission between nodes based on the number of public available channels. The details are as follows:

[0037] Figure 2 is a flowchart of a method for performing data transmission between nodes provided in an embodiment of the present application, such as Figure 2 As shown, the method for performing data transmission between nodes provided in an embodiment of the present application includes:

[0038] Step 210: When the source node detects that the idle time of the target channel is greater than a threshold, the source node acquires a backoff time; the target channel is a common available channel between the source node and the target node, and the backoff time is related to the number of common available channels between the source node and the target node;

[0039] In this step, the threshold value may refer to the above-mentioned DIFS, and the common channel refers to an available channel that can be used by both the source node and the target node. In an embodiment of the present application, the source node determines the random backoff time during scheduled communication based on the number of common available channels between the source node and the target node. The more common available channels there are between the source node and the target node, the longer the backoff time; the smaller the number of common available channels between the source node and the target node, the shorter the backoff time. The number of common available channels is the number of channels used by the source node and the target node in common. Specifically, as shown in Table 1:

[0040]

[0041]

[0042] Referring to the contents in Table 1, assume that node N1 is the source node and node N2 is the target node. Node N1 has three available channels, C2, C3 and C4, and node N2 has two available channels, C3 and C4. Then, the common available channels of node N1 and node N2 are C3 and C4, and the number of common available channels is 2. Similarly, if node N3 is assumed to be the source node and node N4 is the target node, then it can be known that the number of common available channels of node N3 and node N4 is 3.

[0043] Therefore, when the target node is the same node, for N (N is a positive integer) source nodes that have the intention to communicate with the target node, the reservation backoff time of the i-th (i is a positive integer less than or equal to N) source node can be calculated by the following formula:

[0044] Backoff Time=Random()×aBaseTime×ChannelNum

[0045] Wherein, Backoff Time is the reserved backoff time, Random() represents a pseudo-random integer uniformly distributed in [0, CW], CW is the set basic contention window value, aBaseTime is the basic backoff time value, and ChannelNum is the number of public available channels between the i-th source node and the target node. Wherein, the IEEE802.11 protocol stipulates that the contention window (CW) is set to a fixed value at initialization, and CW is the key to congestion control in the 802.11 protocol. The basic backoff time can be set according to demand, such as 20ns, 25ns or 30ns.

[0046] Refer to Table 1 for an example. Assume that the source node is N3 and the target node is N4. The public available channels between node N3 and node N4 are C2, C3 and C4. Therefore, when N3 makes a reservation through C2, C3 or C4, the backoff time is 3×Random()×aBaseTime. Assume that the source node is N1 and the target node is N7. Since the only public available channel between node N1 and node N7 is C2, the backoff time when they make a reservation on the C2 channel is Random()×aBaseTime.

[0047] Step 220: If the target channel is in an idle state within the backoff time after the idle time, the source node sends a request to send frame to the target node after the backoff time ends, where the request to send frame is used to initiate a reservation for the target channel;

[0048] By the content shown in step 210, the reservation backoff time of the source node for the target node is determined. At this time, it is assumed that node N1 and node N3 are waiting for the reservation channel at the same time, and their control antennas jump to channel C2 with the common frequency hopping sequence. Then, since the number of common available channels of node N1 and node N7 is 1, and the number of common available channels of node N3 and node N4 is 3, at this time, the backoff time of node N1 and node N7 is Random()×aBaseTime. Compared with the backoff time of node N3 and node N4 3×Random()×aBaseTime, node N1 and node N7 will have a greater chance of successfully reserving channel C2. At this time, even if node N3 and node N4 fail to reserve channel C2, they can still perform data transmission tasks on channels C3 and C4.

[0049] In this way, it can be avoided that after nodes N3 and N4 occupy channel C2, node N1 must wait for their communication to end before reserving the communication task, so that the task of node N1 may not be completed for a long time, effectively reducing the probability of bottleneck nodes appearing.

[0050] Step 230: When the source node receives the permission-to-send frame sent by the target node, the source node uses the target channel to perform data transmission with the target node.

[0051] In this step, when the control antenna of the target node detects the RTS frame of the source node in the target channel, the control antenna of the target node sends a CTS frame in the target channel.

[0052] Therefore, when the control antenna of the source node detects the CTS frame sent by the target node in the target channel, it can be considered that the channel reservation is successful. At this time, the transmission antenna of the source node exits the synchronous frequency hopping mode and performs data transmission in the target channel.

[0053] In addition, in an embodiment of the present application, if the available channel state of the source node changes, then in the case where the channel state of the source node changes, the source node hops to the target public available channel between the source node and the neighboring node, and the source node sends a channel state frame through the target public available channel, and the channel state frame is used to synchronize the channel state. Among them, the source node implements channel hopping and channel state synchronization through a transmission antenna. The change in the channel state of the source node may be caused by interference with one or more channels in the self-organizing network, resulting in the inability to transmit data, resulting in a reduction in the number of available channels of the source node. The neighboring nodes may include all nodes within the self-organizing network within a one-hop communication range with the source node, and may also include all nodes within a one-hop communication range with the target node. The nodes within the one-hop communication range of the source node refer to all nodes that can be reached by the data sent by the source node without forwarding.

[0054] Specifically, after the channel state information of the source node changes, the source node starts a timer, and the timer is set to ensure that all one-hop neighbor nodes receive the channel state information of this node as much as possible. At this time, compared with the way in which the node broadcasts its own channel state on all available channels when it enters the network, the source node does not need to send channel state information on all available channels, but only needs to send channel state frames on the public available channels with neighbor nodes through the transmission antenna. The source node broadcasts the channel state frame in the target public available channel, so that all neighbor nodes that have public available channels with the source node can detect the channel state of the source node through the transmission antenna. Among them, the target public available channel is the public available channel between the source node and the neighbor node (one or more).

[0055] For example, if the available channels of the source node are C1, C2, C3, C4 and C5, the neighbor nodes of the source node are N2 and N3, the common available channel between N2 and the source node is C2, and the common available channels between N3 and the source node are C3 and C4, then the target common available channels are C2, C3 and C4. The source node only needs to send channel status frames in the above three channels to synchronize the channel status of the source node to the neighbor nodes without broadcasting in all available channels of the source node.

[0056] In an embodiment of the present application, the source node acquires the backoff time when it detects that the idle time of the target channel is greater than a threshold value; the target channel is a common available channel between the source node and the target node, and the backoff time is related to the number of common available channels between the source node and the target node; if the target channel is in an idle state within the backoff time after the idle time, the source node sends a request to send frame to the target node after the backoff time ends, and the request to send frame is used to initiate a reservation for the target channel; the source node uses the target channel to perform data transmission with the target node when it receives a permission to send frame sent by the target node. In this process, when the idle time of the target channel is greater than a threshold value, the source node determines that the target channel is still in an idle state within the backoff time after the idle time, and sends a request to send frame to the target node to reserve the target channel for data transmission with the target node. The backoff time is used to avoid collision of request to send frames, and the backoff time is related to the number of public available channels between the source node and the target node. In this way, the backoff time of the source node is set in a targeted manner according to the number of public available channels of the source node and the target node, so that after the backoff time ends, the time when the source node sends a request to send frame for reserving the target channel has a certain correlation with the number of public available channels, thereby avoiding the situation where the source node with a small number of public available channels can only compete with other nodes with a fixed probability in a small number of public available channels, resulting in the source node being unable to achieve the purpose of data transmission for a long time when the reservation of the target channel fails, and then becoming a bottleneck node, affecting network performance.

[0057] Figure 3 is a flowchart of another method for performing data transmission between nodes provided in an embodiment of the present application, such as Figure 3 As shown, the method for performing data transmission between nodes provided in an embodiment of the present application includes:

[0058] Step 310: When the source node detects that the idle time of the target channel is greater than a threshold, the source node acquires a backoff time; the target channel is a common available channel between the source node and the target node, and the backoff time is related to the number of common available channels between the source node and the target node;

[0059] Step 320: If the target channel is in an idle state within the backoff time after the idle time, the source node sends a request to send frame to the target node after the backoff time ends, where the request to send frame is used to initiate a reservation for the target channel;

[0060] Step 330: When the source node receives the permission-to-send frame sent by the target node, the source node uses the target channel to perform data transmission with the target node.

[0061] The specific explanation of step 310, step 320 and step 330 can be referred to as Figure 1 Detailed description of the corresponding steps in .

[0062] Step 340 and step 350 are not necessarily related to the process of data transmission between nodes of the present application. The source node can execute step 340 and step 350 in any case where the execution conditions of step 340 and step 350 are met.

[0063] Step 340: When the channel state of the source node changes, the source node frequency-hops to a target public available channel between the source node and a neighboring node;

[0064] In this step, the source node realizes channel hopping and channel state synchronization through the transmission antenna. The change of the channel state of the source node may be caused by interference with one or more channels in the self-organizing network, resulting in the inability to perform data transmission, resulting in a reduction in the number of available channels of the source node. The neighboring nodes may include all nodes within the self-organizing network within a one-hop communication range with the source node, and may also include all nodes within a one-hop communication range with the target node. The nodes within the one-hop communication range of the source node refer to all nodes that can be reached by the data sent by the source node without forwarding.

[0065] In this step, after the channel state information of the source node changes, the source node starts a timer, and the timer is set to ensure that all one-hop neighbor nodes receive the channel state information of this node as much as possible. At this time, compared with the way that the node broadcasts its own channel state on all available channels when it joins the network, the source node does not need to send channel state information on all available channels, but only needs to send channel state frames on the common available channels with neighbor nodes through the transmission antenna.

[0066] Step 350: The source node sends a channel status frame through the target public available channel, where the channel status frame is used for channel status synchronization.

[0067] In this step, the source node broadcasts a channel status frame in the target public available channel, so that all neighbor nodes that have a public available channel with the source node can detect the channel status of the source node through the transmission antenna. The target public available channel is the public available channel between the source node and the neighbor node (one or more).

[0068] For example, if the available channels of the source node are C1, C2, C3, C4 and C5, the neighbor nodes of the source node are N2 and N3, the common available channel between N2 and the source node is C2, and the common available channels between N3 and the source node are C3 and C4, then the target common available channels are C2, C3 and C4. The source node only needs to send channel status frames in the above three channels to synchronize the channel status of the source node to the neighbor nodes without broadcasting in all available channels of the source node.

[0069] In executing Figure 2 or Figure 3 Before the method for performing data transmission between nodes provided in the embodiment of the present application, the source node may also perform the following process:

[0070] 1. Initial channel perception: After powering on, the source node actively senses all channels in the network and generates a list of available channels for this node.

[0071] 2. Network establishment and network access: The node generates a frequency hopping sequence based on the list of available channels obtained from the initial channel perception, and establishes or accesses the network through slow frequency hopping.

[0072] In general, the control antenna of the network node switches channels with 1 time slot as the frequency hopping dwell time. When the non-network node joins the network, slow frequency hopping is performed with the global channel number N as the frequency hopping dwell time slot. Through slow frequency hopping, the non-network node can switch channels with N 2 In a time slot, the node can intersect with the network node once on the global N channels. 2 If the network access request frames within the time slot do not receive any reply network access synchronization frames from other nodes, it determines that it is the network building node.

[0073] At this time, the node, as a network building node, selects a frequency hopping seed as the frequency hopping phase and generates a frequency hopping sequence according to the frequency hopping sequence generation method, and performs frequency hopping with 1 time slot as the frequency hopping dwell time according to the frequency hopping sequence, and enters the network state. When the network node receives the network access request frame from other nodes, it replies with a network access synchronization frame, which contains the frequency hopping phase and the time slot phase. The non-networked nodes that receive the network access synchronization frame synchronize the frequency hopping phase and the time slot phase accordingly, realizing synchronous frequency hopping between nodes.

[0074] The frequency hopping sequence generation method is as follows: In order to prevent the common control channel frequency hopping rule from being interfered with by the node learning, each node determines the common control channel frequency hopping sequence through a random seed. All nodes store a set of random seeds set in advance: {Seed1, Seed2...Seed K}. The first frequency hopping cycle generates a frequency hopping sequence through Seed1, the second cycle generates a frequency hopping sequence through Seed2, and so on. The Mth cycle uses M (when M is greater than K, M is modulo) Seeds. The serial number of the random seed used is called the frequency hopping phase, and the order of the current time slot in this frequency hopping cycle is called the time slot phase. Therefore, as long as the frequency hopping phase and time slot phase of the two nodes are consistent, synchronous frequency hopping can be maintained from the current time slot. By using a globally common synchronous frequency hopping control channel generated by a random seed array, on the one hand, it ensures that data can still be transmitted between nodes when some channels are interfered, and on the other hand, it avoids the problem of easy discovery of conventional global common frequency hopping patterns.

[0075] In an embodiment of the present application, channel reservation for data transmission through a global common frequency hopping sequence can achieve communication tasks without relying on a fixed global common available channel. Compared with the blind frequency hopping convergence method, the convergence time is more controllable and can avoid the hidden terminal problem that is difficult to avoid in conventional frequency hopping convergence methods and multiple control channel methods.

[0076] 3. Channel state synchronization: When the following two situations occur, the network node needs to synchronize the channel state information with the neighboring nodes. Node access: After the node accesses the network, it broadcasts the channel state information in all available channels and synchronizes the channel state with the neighboring nodes. On the one hand, it informs the neighboring nodes of the available channel information of the node, and on the other hand, it needs to know the channel state of the neighboring nodes. Channel state change: For details, please refer to Figure 3 Detailed description of step 340 and step 350 in FIG.

[0077] In an embodiment of the present application, when the idle time of the target channel is greater than a threshold, the source node determines that the target channel is still in an idle state within the backoff time after the idle time, and sends a request to send frame to the target node to reserve the target channel for data transmission with the target node. The backoff time is used to avoid request to send frame collision, and the backoff time is related to the number of public available channels between the source node and the target node. In this way, the backoff time of the source node is set in a targeted manner through the number of public available channels of the source node and the target node, so that the time when the source node sends a request to send frame for reserving the target channel after the backoff time has a certain correlation with the number of public available channels, so as to avoid the source node with a small number of public available channels can only compete with other nodes with a fixed probability in a small number of public available channels, resulting in the source node being unable to achieve the purpose of data transmission for a long time in the case of failure to reserve the target channel, and then becoming a bottleneck node, affecting network performance. In addition, when the channel state is sent to change, the source node sends a channel state frame to all neighboring nodes for channel state synchronization to avoid the problem of hidden terminals.

[0078] Figure 4 is a flowchart of another method for performing data transmission between nodes provided in an embodiment of the present application, such as Figure 4 As shown, the method for performing data transmission between nodes provided in an embodiment of the present application includes:

[0079] Step 410: If the target channel is in an idle state within a backoff time after the idle time, the target node receives a request to send frame sent by the source node after the backoff time ends, the request to send frame is used to initiate a reservation for the target channel, the target channel is a common available channel between the source node and the target node, and the backoff time is related to the number of common available channels between the source node and the target node;

[0080] In this step, the target node monitors information in multiple available channels (including the target channel) by controlling the antenna, and executes step 420 after monitoring the RTS frame sent by the source node in the target channel.

[0081] Step 420: the target node sends a permission-to-send frame to the source node in response to the request-to-send frame, where the permission-to-send frame is used to indicate that the source node has successfully reserved the target channel;

[0082] In this step, after receiving the RTS frame on the target channel, the target node sends a CTS frame in response to the RTS frame in the target channel. It should be noted that in this process, there may be multiple source nodes participating in the process of reserving the communication channel, and the node that first sends the RTS frame can reserve the target channel first.

[0083] Generally, after the idle time of the target channel is greater than a threshold (i.e., DIFS), the node that needs the target channel can reserve the channel. However, in order to avoid RTS frame collisions, after the idle time of the target channel is greater than DIFS, the source node will wait for a random period of time, that is, the source node will wait for the backoff time after DIFS. In this process, since the backoff time is related to the number of common available channels between the source node and the target node, the more the number of common available channels between the source node and the target node, the longer the backoff time; the fewer the number of common available channels between the source node and the target node, the shorter the backoff time.

[0084] Therefore, among multiple source nodes, the shorter the backoff time of the source node with fewer common available channels with the target node, the greater the possibility of successful channel reservation. In this way, the source node and the target node with fewer common available channels among multiple node pairs requiring the target channel can obtain a greater probability of successful channel reservation, thus avoiding the source node with fewer common available channels from becoming a bottleneck node due to long-term competition on fewer common available channels and failure in competition, thereby affecting the network performance of the self-organizing network.

[0085] Step 430: The target node performs data transmission with the source node using the target channel.

[0086] In this step, after the channel reservation is successful, the transmission antennas of the source node and the target node exit the synchronous frequency hopping mode and perform data transmission in the target channel. After the data transmission is completed, the transmission antennas of the source node and the target node switch back to the synchronous frequency hopping mode.

[0087] In an embodiment of the present application, if the target channel is in an idle state within the backoff time after the idle time, the target node receives a request to send frame sent by the source node after the backoff time ends, the request to send frame is used to initiate a reservation for the target channel, the target channel is a public available channel between the source node and the target node, and the backoff time is related to the number of public available channels between the source node and the target node; the target node responds to the request to send frame and sends a permission to send frame to the source node, the permission to send frame is used to indicate that the source node has successfully reserved the target channel; the target node uses the target channel to perform data transmission with the source node. In this process, the target node responds to the received request to send frame and sends a permission to send frame, and successfully reserves the target channel for data transmission. Among them, through the backoff time related to the number of public available channels between the source node and the target node, it is avoided that the source node with a small number of public available channels can only compete with other nodes with a fixed probability in a small number of public available channels, resulting in the source node being unable to achieve the purpose of data transmission for a long time when the reservation of the target channel fails, and then becomes a bottleneck node, affecting network performance.

[0088] Figure 5 is a structural block diagram of a node communication system provided in an embodiment of the present application, such as Figure 5 As shown, a node communication system 500 provided in an embodiment of the present application includes: a source node 510, a target node 520 and a neighbor node 530. Among them:

[0089] The source node 510 acquires a backoff time when it is detected that the idle time of the target channel is greater than a threshold; the target channel is a common available channel between the source node 510 and the target node 520, and the backoff time is related to the number of common available channels between the source node 510 and the target node 520;

[0090] If the target channel is in an idle state within the backoff time after the idle time, the source node 510 sends a request to send frame to the target node 520 after the backoff time ends, where the request to send frame is used to initiate a reservation for the target channel;

[0091] After receiving the request to send frame sent by the source node 510 after the backoff time ends, the target node 520 sends a permission to send frame to the source node 510 in response to the request to send frame, wherein the permission to send frame is used to indicate that the source node 510 has successfully reserved the target channel;

[0092] When the source node 510 receives the permission-to-send frame sent by the target node 520, the source node 510 and the target node 520 perform data transmission using the target channel;

[0093] The neighbor node 530 of the source node 510 learns the target channel by listening, and after the source node 510 and the target node 530 complete data transmission using the target channel, the neighbor node 530 resumes the reservation of the target channel.

[0094] In the node communication system provided by the embodiment of the present application, when the idle time of the target channel is greater than the threshold, the source node determines that the target channel is still in an idle state within the backoff time after the idle time, and sends a request to send a frame to the target node to reserve the target channel for data transmission with the target node. The backoff time is used to avoid request to send frame collision, and the backoff time is related to the number of public available channels between the source node and the target node. In this way, the backoff time of the source node is set in a targeted manner through the number of public available channels of the source node and the target node, so that after the backoff time ends, the time when the source node sends a request to send a frame for reserving the target channel has a certain correlation with the number of public available channels, so as to avoid the source node with a small number of public available channels can only compete with other nodes with a fixed probability in a small number of public available channels, resulting in the source node being unable to achieve the purpose of data transmission for a long time in the case of failure to reserve the target channel, and then becoming a bottleneck node, affecting network performance. In addition, the neighboring node synchronously listens to the channel state of the target channel, determines the data transmission strategy of its own node on the target channel, and avoids affecting the data transmission of the source node and the target node on the target channel.

[0095] like Figure 6 As shown, an embodiment of the present application provides an electronic device 600, the electronic device 600 includes: a processor 610 and a memory 620, the memory 620 stores a program, and the program is executed by the processor 610 to implement the steps of any of the methods described above. For example, when the program is executed by the processor 610, it is implemented according to the following process: obtaining a target recommendation task transmitted by the terminal; obtaining target identification embedding information of the target recommendation task from the target recommendation system, the target identification embedding information is used to improve the unique reference understanding of the target object representation by the target deep learning model, the target object includes at least one of a user and an item; the target deep learning model is used for content semantic understanding; obtaining target text embedding information of the target recommendation task from the target deep learning model; merging the target identification embedding information and the target text embedding information to obtain the overall embedding feature of the target recommendation task; processing the overall embedding feature through the large language model body in the target deep learning model to obtain a target processing result, and the target processing result is used for data transmission between nodes.

[0096] In the electronic device provided in the embodiment of the present application, the source node acquires the backoff time when it detects that the idle time of the target channel is greater than a threshold value; the target channel is a common available channel between the source node and the target node, and the backoff time is related to the number of common available channels between the source node and the target node; if the target channel is in an idle state within the backoff time after the idle time, the source node sends a request to send frame to the target node after the backoff time ends, and the request to send frame is used to initiate a reservation for the target channel; the source node uses the target channel to perform data transmission with the target node when it receives a permission to send frame sent by the target node. In this process, when the idle time of the target channel is greater than a threshold value, the source node determines that the target channel is still in an idle state within the backoff time after the idle time, and sends a request to send frame to the target node to reserve the target channel for data transmission with the target node. The backoff time is used to avoid collision of request to send frames, and the backoff time is related to the number of public available channels between the source node and the target node. In this way, the backoff time of the source node is set in a targeted manner according to the number of public available channels of the source node and the target node, so that after the backoff time ends, the time when the source node sends a request to send frame for reserving the target channel has a certain correlation with the number of public available channels, thereby avoiding the situation where the source node with a small number of public available channels can only compete with other nodes with a fixed probability in a small number of public available channels, resulting in the source node being unable to achieve the purpose of data transmission for a long time when the reservation of the target channel fails, and then becoming a bottleneck node, affecting network performance.

[0097] An embodiment of the present application also provides a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the embodiment of the method for data transmission between the above nodes is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0098] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0099] In the readable storage medium provided in the embodiment of the present application, the source node acquires the backoff time when it is detected that the idle time of the target channel is greater than the threshold value; the target channel is a common available channel between the source node and the target node, and the backoff time is related to the number of common available channels between the source node and the target node; if the target channel is in an idle state during the backoff time after the idle time, the source node sends a request to send frame to the target node after the backoff time ends, and the request to send frame is used to initiate a reservation for the target channel; the source node uses the target channel to perform data transmission with the target node when it receives the permission to send frame sent by the target node. In this process, when the idle time of the target channel is greater than the threshold value, the source node determines that the target channel is still in an idle state within the backoff time after the idle time, and sends a request to send frame to the target node to reserve the target channel for data transmission with the target node. The backoff time is used to avoid collision of request to send frames, and the backoff time is related to the number of public available channels between the source node and the target node. In this way, the backoff time of the source node is set in a targeted manner according to the number of public available channels of the source node and the target node, so that after the backoff time ends, the time when the source node sends a request to send frame for reserving the target channel has a certain correlation with the number of public available channels, thereby avoiding the situation where the source node with a small number of public available channels can only compete with other nodes with a fixed probability in a small number of public available channels, resulting in the source node being unable to achieve the purpose of data transmission for a long time when the reservation of the target channel fails, and then becoming a bottleneck node, affecting network performance.

[0100] An embodiment of the present application also provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0101] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0102] In the computer program product provided by the embodiment of the present application, the source node acquires the backoff time when it is detected that the idle time of the target channel is greater than the threshold value; the target channel is a common available channel between the source node and the target node, and the backoff time is related to the number of common available channels between the source node and the target node; if the target channel is in an idle state within the backoff time after the idle time, the source node sends a request to send frame to the target node after the backoff time ends, and the request to send frame is used to initiate a reservation for the target channel; the source node uses the target channel to perform data transmission with the target node when it receives the permission to send frame sent by the target node. In this process, when the idle time of the target channel is greater than the threshold value, the source node determines that the target channel is still in an idle state within the backoff time after the idle time, and sends a request to send frame to the target node to reserve the target channel for data transmission with the target node. The backoff time is used to avoid collision of request to send frames, and the backoff time is related to the number of public available channels between the source node and the target node. In this way, the backoff time of the source node is set in a targeted manner according to the number of public available channels of the source node and the target node, so that after the backoff time ends, the time when the source node sends a request to send frame for reserving the target channel has a certain correlation with the number of public available channels, thereby avoiding the situation where the source node with a small number of public available channels can only compete with other nodes with a fixed probability in a small number of public available channels, resulting in the source node being unable to achieve the purpose of data transmission for a long time when the reservation of the target channel fails, and then becoming a bottleneck node, affecting network performance.

[0103] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0104] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0105] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for data transmission between nodes, characterized in that: include: When the source node detects that the idle time of the target channel is greater than the threshold, it obtains the backoff time; The target channel is a common available channel between the source node and the target node, and the backoff time is related to the number of common available channels between the source node and the target node; If the target channel is in an idle state within the backoff time after the idle time, the source node sends a request to send frame to the target node after the backoff time ends, where the request to send frame is used to initiate a reservation for the target channel; When the source node receives the permission-to-send frame sent by the target node, the source node uses the target channel to perform data transmission with the target node.

2. The method according to claim 1, characterized in that: The more the number of common available channels between the source node and the target node is, the longer the backoff time is; the smaller the number of common available channels between the source node and the target node is, the shorter the backoff time is.

3. The method according to claim 2, characterized in that The obtaining of the backoff time includes: The reservation backoff time of the source node is calculated by the following formula: Backoff Time=Random()×aBaseTime×ChannelNum Among them, Backoff Time is the reserved backoff time, Random() represents a pseudo-random integer uniformly distributed in [0, CW], CW is the set basic contention window value, aBaseTime is the basic backoff time value, and ChannelNum is the number of public available channels between the source node and the target node.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When the channel state of the source node changes, the source node frequency-hops to a target common available channel between the source node and a neighboring node; The source node sends a channel status frame through the target public available channel, and the channel status frame is used for channel status synchronization.

5. A method for data transmission between nodes, characterized in that: include: If the target channel is in an idle state within a backoff time after the idle time, the target node receives a request to send frame sent by the source node after the backoff time ends, the request to send frame is used to initiate a reservation for the target channel, the target channel is a common available channel between the source node and the target node, and the backoff time is related to the number of common available channels between the source node and the target node; The target node sends a permission-to-send frame to the source node in response to the request-to-send frame, wherein the permission-to-send frame is used to indicate that the source node has successfully reserved the target channel; The target node performs data transmission with the source node by using the target channel.

6. The method according to claim 5, characterized in that The more the number of common available channels between the source node and the target node is, the longer the backoff time is; the smaller the number of common available channels between the source node and the target node is, the shorter the backoff time is.

7. The method according to claim 6, characterized in that The obtaining of the backoff time includes: The reservation backoff time of the source node is calculated by the following formula: Backoff Time=Random()×aBaseTime×ChannelNum Among them, Backoff Time is the reserved backoff time, Random() represents a pseudo-random integer uniformly distributed in [0, CW], CW is the set basic contention window value, aBaseTime is the basic backoff time value, and ChannelNum is the number of public available channels between the source node and the target node.

8. A node communication system, characterized in that: include: When the source node detects that the idle time of the target channel is greater than the threshold, it obtains the backoff time; The target channel is a common available channel between the source node and the target node, and the backoff time is related to the number of common available channels between the source node and the target node; If the target channel is in an idle state within the backoff time after the idle time, the source node sends a request to send frame to the target node after the backoff time ends, where the request to send frame is used to initiate a reservation for the target channel; After receiving the request to send frame sent by the source node after the backoff time ends, the target node sends a permission to send frame to the source node in response to the request to send frame, wherein the permission to send frame is used to indicate that the source node has successfully reserved the target channel; When the source node receives the permission-to-send frame sent by the target node, the source node and the target node perform data transmission using the target channel; The neighboring node of the source node learns the target channel by listening, and after the source node and the target node complete data transmission using the target channel, the neighboring node resumes the reservation of the target channel.

9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction running on the processor, and when the program or instruction is executed by the processor, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The medium stores a program or an instruction, and when the program or the instruction is executed, the steps of the method according to any one of claims 1 to 7 are implemented.

11. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 7 when being executed by a processor.

Citation Information

Patent Citations

  • Point-to-multipoint channel booking method

    CN101651925A

  • Communication method and device suitable for satellite-ground link

    CN111669789A

  • Method for Controlling Use Amount of Radio Channel in Ad Hoc Network and Communication Apparatus Using the Same

    US20080205370A1

  • Channel access method, station device and access point device

    WO2016106674A1

  • Uplink multi-user access method and apparatus

    WO2016145662A1