Communication system switching method and system based on channel detection, and medium
Through the communication system adaptive switching method driven by channel detection and feedback information, the problem of insufficient communication capabilities of the ad hoc network in extreme channel environments is solved, and the stable and reliable communication of the ad hoc network in complex environments is realized, and the environmental adaptability and robustness of the network are enhanced.
Patent Information
- Application Number
- CN202510380830.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-27
- Publication Date
- 2025-07-08
AI Technical Summary
The existing ad hoc network communications lack communication capabilities in extreme channel environments and cannot adapt to environmental changes in real time, resulting in poor reliability and adaptability.
By performing channel detection between the detection node and the receiving node that sends the detection signal within the complete channel frame, the detection results are generated and the adaptive handover of the communication system is performed based on the feedback information, including the design of the detection frame and the feedback frame, the time slot type and channel quality evaluation are used to judge the communication system handover, and the communication system handover is determined.
It improves the environmental adaptability and communication reliability of the ad hoc network, ensures stable and reliable service communication in complex channel environments, reduces the collision probability of channel detection and service communication, and enhances the robustness of the network.
Smart Images

Figure CN120282170A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of wireless communication technologies, and in particular, to a communication mode switching method, system, and medium based on channel detection. Background Art
[0002] In wireless ad-hoc network communication, the channel environment and network topology are complex and changeable. The channel may be affected by various factors such as multipath fading, shadow fading, and noise. The topology of the ad-hoc network also changes continuously with node movement and environmental changes. Therefore, improving the reliable communication ability of ad-hoc network communication is an important direction in ad-hoc network communication research.
[0003] Existing methods for solving the problem of reliable communication in ad-hoc networks mainly include the following several types: The first is to adaptively change the service waveform under the same communication mode, but it cannot meet the communication requirements in extreme channel environments; the second is the adaptive self-switching of the single-hop network communication mode, which is not suitable for direct application in multi-hop ad-hoc network scenarios; the third is the manual switching of multiple communication modes, but it cannot adapt to environmental changes in real time. Summary of the Invention
[0004] Embodiments of the present invention provide a communication mode switching method, system, and medium based on channel detection, aiming to solve the problems that the environmental adaptability and communication ability of existing ad-hoc networks are both poor.
[0005] In a first aspect, embodiments of the present invention provide a communication mode switching method based on channel detection, which is applied to a communication mode switching system based on channel detection. The communication mode switching system includes multiple network nodes of a multi-hop network. The network node that sends a detection signal within a complete channel frame is used as a detection node, and other network nodes are used as receiving nodes. Among them, the receiving nodes include nodes to be detected. The complete channel frame includes a detection frame and a feedback frame. The method includes:
[0006] When the detection node does not detect that there is traffic to be sent, the detection node sends a detection signal within the common time slot in the detection frame;
[0007] The node to be detected generates a detection result according to the captured detection signal, and decides whether to send feedback information to the detection node within the feedback time slot in the feedback frame according to the detection result;
[0008] The detection node adaptively switches the communication mode according to the feedback information to conduct traffic communication with the receiving node.
[0009] Second aspect, an embodiment of the present invention further provides a communication system switching based on channel detection. The communication system switching includes multiple network nodes of a multi-hop network. The network node that sends a detection signal within a complete channel frame is used as a detection node, and other network nodes are used as receiving nodes. Among them, the receiving node includes a node to be detected. The complete channel frame includes a detection frame and a feedback frame. The system includes: a first sending unit and a communication switching unit configured in the detection node, and a feedback generation unit configured in the node to be detected. Among them,
[0010] The first sending unit is used for when the detection node does not detect that there is traffic to be sent, the detection node sends a detection signal within a common time slot in the detection frame;
[0011] The feedback generation unit is used for the node to be detected to generate a detection result according to the captured detection signal, and decide whether to send feedback information to the detection node within a feedback time slot in the feedback frame according to the detection result;
[0012] The communication switching unit is used for the detection node to perform adaptive switching of the communication system according to the feedback information, so as to perform traffic communication with the receiving node.
[0013] Third aspect, an embodiment of the present invention further provides a communication system switching based on channel detection. The communication system switching based on channel detection includes a detection node and a receiving node. Both the detection node and the receiving node include a memory and a processor. A computer program is stored on the memory. When the processor executes the computer program, the above method is implemented.
[0014] Fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium. The storage medium stores a computer program. When the computer program is executed by a processor, the above method can be implemented.
[0015] An embodiment of the present invention provides a communication mode switching method, system and medium based on channel detection. The method is applied to a communication mode switching system based on channel detection. The communication mode switching system includes multiple network nodes of a multi-hop network. The network node that sends a detection signal within a complete channel frame is used as a detection node, and other network nodes are used as receiving nodes. Among them, the receiving nodes include nodes to be detected. The complete channel frame includes a detection frame and a feedback frame. The method includes: when the detection node does not detect that there is traffic to be sent, the detection node sends a detection signal within a common time slot in the detection frame; the node to be detected generates a detection result according to the captured detection signal, and decides whether to send feedback information to the detection node within a feedback time slot in the feedback frame according to the detection result; the detection node performs adaptive switching of the communication mode according to the feedback information to perform traffic communication with the receiving node. The technical solution of the embodiment of the present invention first sends a detection signal within a common time slot in the detection frame by the detection node, then generates a detection result by the node to be detected according to the captured detection signal, and decides whether to send feedback information to the detection node within the feedback time slot in the feedback frame according to the detection result. Finally, the detection node performs adaptive switching of the communication mode according to the feedback information to perform traffic communication with the receiving node, improving the environmental adaptability and communication ability of the ad hoc network. Description of the Drawings
[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0017] Figure 1 It is a schematic flow chart of a communication mode switching method based on channel detection provided by an embodiment of the present invention;
[0018] Figure 2 It is a schematic diagram of a detection frame and a feedback frame provided by an embodiment of the present invention;
[0019] Figure 3 It is a schematic diagram of a detection frame and a feedback frame when node 1 of the embodiment of the present invention detects;
[0020] Figure 4 It is a schematic diagram of a detection frame and a feedback frame when node 2 of the embodiment of the present invention detects;
[0021] Figure 5 It is a schematic sub-flow chart of a communication mode switching method based on channel detection provided by an embodiment of the present invention;
[0022] Figure 6 Schematic flowchart of a communication mode switching method based on channel detection provided by another embodiment of the present invention;
[0023] Figure 7 Simplified flowchart of channel detection provided by an embodiment of the present invention;
[0024] Figure 8 Simplified flowchart of channel detection feedback provided by an embodiment of the present invention;
[0025] Figure 9 Schematic diagram of performance simulation of two communication modes provided by an embodiment of the present invention;
[0026] Figure 10 Schematic diagram of simulation of channel quality assessment provided by an embodiment of the present invention;
[0027] Figure 11 Schematic block diagram of a communication mode switching system based on channel detection provided by an embodiment of the present invention;
[0028] Figure 12 Schematic block diagram of a network node device provided by an embodiment of the present invention. Detailed implementation manners
[0029] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0030] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprise" indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their combinations.
[0031] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in this specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include the plural forms.
[0032] It should be further understood that the term " / and" used in this specification of the present invention and the appended claims refers to any combination and all possible combinations of one or more of the related listed items, and includes these combinations.
[0033] As used in this specification and the appended claims, the term "if" can be construed contextually as "when", "once", "in response to determining", or "in response to detecting". Similarly, the phrase "if determined" or "if [the described condition or event] is detected" can be construed contextually to mean "once determined", "in response to determining", "once [the described condition or event] is detected", or "in response to detecting [the described condition or event]".
[0034] Please refer to Figure 1 , Figure 1 is a schematic flowchart of a communication mode switching method based on channel probing provided by an embodiment of the present invention. The communication mode switching method based on channel probing will be described in detail below. As Figure 1 shown, the method includes the following steps S110 - S130.
[0035] S110. When the probing node does not detect any traffic to be sent, the probing node sends a probing signal in the common time slot of the probing frame.
[0036] In an embodiment of the present invention, the communication mode switching method based on channel probing is applied to a communication mode switching system based on channel probing. The communication mode switching system includes multiple network nodes of a multi-hop network. The network node that sends a probing signal within the channel complete frame is regarded as the probing node, and the other network nodes are regarded as receiving nodes. Among them, the receiving node includes the node to be probed. The channel complete frame includes a probing frame and a feedback frame. It should be noted that in an embodiment of the present invention, the probing frame and the feedback frame are as Figure 2 shown. In Figure 2 , the probing frame includes a common time slot. The common time slot is a time slot for each network node in the network to send a probing signal and is composed of two pseudo-random sequences. The feedback frame includes a feedback time slot. The feedback time slot is arranged according to the one-to-one correspondence relationship of time slots for the network nodes in the ad hoc network. For ease of understanding, taking Figure 3 and Figure 4 as examples, Figure 3 is a schematic diagram of the probing frame and the feedback frame when node 1 probes provided by an embodiment of the present invention; Figure 4 is a schematic diagram of the probing frame and the feedback frame when node 2 probes provided by an embodiment of the present invention; In Figure 3 , although node 1 is the probing node, that is, node 1 sends a probing signal in the common time slot, in the feedback frame, the feedback time slot of node 1 needs to be left out to facilitate the arrangement of the feedback time slots of the remaining network nodes. Understandably, in Figure 4Among them, although node 2 is a detection node, that is, node 2 sends a detection signal during the common time slot, in the feedback frame, the feedback time slot of node 2 needs to be reserved to facilitate the arrangement of the feedback time slots of the remaining network nodes. It should also be noted that in the embodiments of the present invention, all network nodes are both detection nodes and detected nodes, and only the network nodes that can directly communicate with the current detection node are the detected nodes corresponding to the current detection node.
[0037] Further, when the detection node does not detect that there is traffic to be sent, the detection node sends a detection signal during the common time slot in the detection frame. It should be noted that in the embodiments of the present invention, all network nodes in the ad hoc network send detection signals in the common time slot in a time-division manner. In the complete channel frame, the network nodes that have sent detection signals during the common time slot are used as the detection nodes, and the network nodes in the wireless ad hoc network that have received the detection signals are used as the detected nodes.
[0038] S120, the detected node generates a detection result based on the captured detection signal, and decides whether to send feedback information to the detection node during the feedback time slot in the feedback frame according to the detection result.
[0039] In the embodiments of the present invention, after the detection node sends a detection signal, the detected node captures the detection signal, generates a detection result according to the detected node, and decides whether to send feedback information to the detection node during the feedback time slot in the feedback frame according to the detection result. Specifically, as Figure 5As shown, step S120 may specifically include steps S121 - S124: S121. The detected node captures the detection signal and determines the time slot type according to the detection signal; S122. If the time slot type is the common time slot, generate the detection result according to the detection signal; S123. If the detection result is that the channel quality assessment passes, determine the transmission start time of the detection signal according to the two pseudo - random sequences in the detection signal; S124. Calculate the feedback time slot of the detected node in the feedback frame according to the transmission start time and the network node number of the detection node, and send the feedback information to the detection node in the feedback time slot. Specifically, determining the time slot type according to the detection signal includes: If two pseudo - random sequences are detected in the detection signal, it is determined that the time slot type of the detection signal transmission is the common time slot; if one pseudo - random sequence is detected in the detection signal, it is determined that the time slot type of the detection signal transmission is the feedback time slot. If the time slot type is the common time slot, it indicates that there are two pseudo - random sequences in the detection signal, and then calculate the ratio of the received signal energy to the noise energy through the two pseudo - random sequences in the detection signal to obtain the channel signal - to - noise ratio; if the channel signal - to - noise ratio is greater than the preset channel signal - to - noise ratio threshold, set the detection result as the channel quality assessment passes; if the channel signal - to - noise ratio is not greater than the preset channel signal - to - noise ratio threshold, set the detection result as the channel quality assessment fails. It should be noted that in the embodiment of the present invention, if the time slot type is the feedback time slot, no detection result is generated; the preset channel signal - to - noise ratio threshold is set according to the actual situation and is not specifically limited here. It should also be noted that in the embodiment of the present invention, the feedback information is arranged according to the network node time slots, and a single pseudo - random sequence identical to the detection pseudo - random sequence is used for feedback in the corresponding feedback time slots of each network node. Understandably, that is, the waveform of the feedback information is the same as the waveform of the detection signal.
[0040] S130. The detection node performs adaptive switching of the communication system according to the feedback information to perform service communication with the receiving node.
[0041] In an embodiment of the present invention, the communication mode includes a conventional communication mode and an extreme communication mode. The detection node records the number of times the feedback information is received within a preset time period to obtain the reception count, and determines whether the reception count is greater than a preset reception count threshold. If the reception count is greater than the preset reception count threshold, the communication mode is switched to the conventional communication mode to perform service communication with the receiving node. If the reception count is not greater than the preset reception count threshold, the communication mode is switched to the extreme communication mode to perform service communication with the receiving node. It should be noted that in the embodiment of the present invention, the preset reception count threshold is set according to the actual situation and is not specifically limited herein. It should also be noted that in the embodiment of the present invention, the conventional communication mode is a multi-hop networking mode, and the extreme communication mode is a single-hop enhancement mode.
[0042] Figure 6 The flowchart of a communication mode switching method based on channel detection provided in another embodiment of the present invention is shown as Figure 6 shown. In this embodiment, the method includes steps S110 - S160. That is, in this embodiment, after step S130 of the above embodiment, the method further includes steps S140 - S180.
[0043] S140. When the detection node monitors that there is a service to be sent, it determines the communication mode for sending the service according to the most recent detection result of the detection node to obtain the target communication mode.
[0044] S150. If the target communication mode is the conventional communication mode, the detection node sends the service to all nodes except the receiving node until the service ends, and then switches the service sending to channel detection.
[0045] S160. The receiving node receives the service until the service ends, and then switches the service reception to adaptive reception.
[0046] S170. If the target communication mode is the extreme communication mode, the detection node sends the service to the one-hop neighboring node of the detection node until the service ends, and then switches the service sending to channel detection, where the one-hop neighboring node is the receiving node.
[0047] S180. The one-hop neighboring node receives the service until the service ends, and then switches the service reception to adaptive reception.
[0048] In an embodiment of the present invention, when the detection node monitors that there is traffic to be sent, the detection node with traffic to be sent determines the communication mode for sending the traffic based on the latest detection result of the detection node to obtain a target communication mode. If the target communication mode is a conventional communication mode, the detection node sends the traffic to the receiving node, and the receiving node receives the traffic. After the traffic ends, the detection node switches the traffic sending to channel detection to send a detection signal, and the receiving node switches the traffic reception to adaptive reception to receive the detection signal. If the target communication mode is an extreme communication mode, the detection node sends the traffic to the one-hop neighbor node of the detection node, and the hop neighbor node receives the traffic. After the traffic ends, the detection node switches the traffic sending to channel detection to send a detection signal, and the hop neighbor node switches the traffic reception to adaptive reception to receive the detection signal.
[0049] Please refer to Figure 7 , Figure 7 which is a flowchart of channel detection provided by an embodiment of the present invention. In Figure 7 , each network node monitors whether there is traffic to be sent. If there is traffic to be sent, the traffic is sent first, and it is determined whether the traffic has been sent completely. If the traffic has not been sent completely, the sending continues. After the traffic is sent completely, a detection signal is sent according to the detection frame format. If there is no traffic to be sent, a detection signal is sent in the common time slot according to the detection frame format. After sending the detection signal, the channel is switched to reception to monitor whether feedback information is received. The number of times of receiving feedback information within a certain period is recorded. It is determined whether the number of times of receiving feedback information meets the threshold condition. If the threshold condition is met, a multi-hop networking mode is selected. If the threshold condition is not met, a single-hop enhancement mode is selected.
[0050] Please refer to Figure 8 , Figure 8 which is a flowchart of channel detection feedback provided by an embodiment of the present invention. In Figure 8 , the detected node performs adaptive reception. It is determined whether a detection signal is received. If the detection signal is not received, it is determined whether service information is received. If service information is received, service reception is performed until the service ends. If no service is received, the detected node returns to adaptive reception. If a detection signal is received, a detection result is generated according to the detection signal, and it is determined whether the detection feedback condition is met according to the detection result. If the feedback condition is met, feedback information is sent to the detection node. If the feedback condition is not met, the detected node returns to adaptive reception.
[0051] For ease of understanding, the above-described communication mode switching method based on channel detection will be described by taking a communication mode switching system based on channel detection with 16 network nodes and a relay hop count of 3 hops as an example. In this embodiment, the two communication modes are a multi-hop multi-node ad hoc network communication mode with a bandwidth of 64 kHz and a single-hop multi-node ad hoc network communication mode with a bandwidth of 16 kHz. The detection waveform is designed with a 64 kHz bandwidth. Each detection node time slot consists of two correlation sequences with a duration of 2 ms. Combining with the number of network nodes, the maximum detection frame length is 68 ms. The actual detection frame length is related to the number of network nodes in the network. For example, when the number of network nodes in the network is 6, the detection frame length is 28 ms; when the number of network nodes in the network is 8, the detection frame length is 36 ms, and the detection period is 2 s. The specific detection process and service communication process are as follows:
[0052] Detection and service processing process: The network nodes actually communicating in the network send detection signals in the common time slots of different detection frames according to a pre-set mechanism in a time-sharing manner; the detected nodes that are one hop away from the detection node capture the detection signals, judge the time slot type (if two pseudo-random sequences are detected, it is judged that this time slot is a common time slot, if only one pseudo-random sequence is detected, then it is judged that this time slot is a feedback time slot), and generate detection results; decide whether to send feedback information to the detection node in the feedback time slot according to the detection results. Among them, the feedback time slot is the time slot corresponding to the detected node calculated by the detected node based on the common time slot as the time reference according to the node number; the detection node decides which communication mode to use for service transmission according to the most recently received detection feedback information.
[0053] Detection node processing process: First step, each network node monitors whether there is a service to be sent; Second step, if there is a service to be sent, give priority to sending the service. If there is no service to be sent, send a detection signal in the common time slot according to the detection frame format; if a service is sent, after the service sending is completed, send a detection signal according to the detection frame format; Third step, after sending the detection signal, switch the channel to receive and monitor whether feedback information is received; Fourth step, record the number of times of receiving feedback information within a certain period of time, which is currently set to 1 time (can be adjusted according to specific embodiments). If 1 time is received in the most recent 2 s, select the multi-hop multi-node ad hoc network communication mode; otherwise, select the single-hop multi-node ad hoc network communication mode.
[0054] Detected node processing process: First step, the detected node adaptively receives; Second step, judge whether a detection signal is received. If a detection signal is received, calculate the channel signal-to-noise ratio of the received detection signal, and compare the channel signal-to-noise ratio with a preset channel signal-to-noise ratio threshold (the preset channel signal-to-noise ratio threshold is based on theoretical simulation results (such as Figure 9 、 Figure 10)Set to -2dB, which can be adjusted according to the actual measured environment) for comparison; if the channel signal-to-noise ratio is greater than the preset channel signal-to-noise ratio threshold, feedback information is sent to the detection node, otherwise continue to adaptively receive; if service information is received, service reception is performed; otherwise, return to adaptive reception.
[0055] Through the above processing process, the communication mode switching system based on channel detection can adaptively decide the best communication mode suitable for the current network environment, enabling stable and reliable service communication among network nodes in the network. It should be noted that in Figure 9 , the multi-hop multi-node ad-hoc network communication mode is simply referred to as the multi-hop networking mode, and the single-hop multi-node ad-hoc network communication mode is simply referred to as the single-hop networking mode. The requirements for the channel signal-to-noise ratio of the multi-hop networking mode and the single-hop networking mode differ by about 6dB at a 1% packet loss rate; in Figure 10 , the horizontal axis is the actual channel signal-to-noise ratio, and the vertical axis is the calculated channel signal-to-noise ratio. It can be seen from Figure 10 that the channel signal-to-noise ratio estimation deviation is about 1dB. Based on the channel quality assessment method in this embodiment, network nodes in the network can reliably determine the communication mode applicable to the current communication environment.
[0056] In summary, in this embodiment, by designing a dedicated channel detection technology independent of the two communication modes to scan and evaluate the channel quality situation among network nodes in the network in real time, all network nodes in the network decide which communication mode to use to initiate service communication based on the channel quality assessment results. This can not only ensure the real-time and accuracy of channel detection, minimize the collision probability between channel detection and service communication to the greatest extent, and ensure the robustness of the entire network communication, but also ensure the ultimate communication ability between network nodes, thereby improving the environmental adaptability of the ad-hoc network.
[0057] Figure 11 is a schematic block diagram of a communication mode switching system 200 based on channel detection provided by an embodiment of the present invention. As Figure 11 shown, corresponding to the above communication mode switching method based on channel detection, the communication mode switching system 200 based on channel detection includes units for executing the above communication mode switching method based on channel detection. Specifically, please refer to Figure 11 , the communication mode switching system 200 based on channel detection includes a first transmission unit 101 and a switching communication unit 102 configured in the detection node, and a generation feedback unit 201 configured in the detected node.
[0058] Among them, the first sending unit 101 is configured to, when the detection node does not detect that there is traffic to be sent, the detection node sends a detection signal in a common time slot in the detection frame; the generating feedback unit 201 is configured to the generating feedback unit is configured to the detected node generates a detection result according to the captured detection signal, and decides whether to send feedback information to the detection node in a feedback time slot in the feedback frame according to the detection result; the switching communication unit 102 is configured to the switching communication unit is configured to the detection node performs an adaptive switch of the communication mode according to the feedback information to perform traffic communication with the receiving node.
[0059] In some embodiments, such as this embodiment, the generating feedback unit 201 includes a capturing and judging unit, a generating unit, a determining unit, and a calculating and sending unit.
[0060] Among them, the capturing and judging unit is configured to the detected node captures the detection signal and judges the time slot type according to the detection signal; the generating unit is configured to if the time slot type is the common time slot, generate the detection result according to the detection signal; the determining unit is configured to if the detection result is that the channel quality assessment passes, determine the sending start time of the detection signal according to two of the pseudo-random sequences in the detection signal; the calculating and sending unit is configured to calculate the feedback time slot of the detected node in the feedback frame according to the sending start time and the network node number of the detection node, and send the feedback information to the detection node in the feedback time slot.
[0061] In some embodiments, such as this embodiment, the capturing and judging unit includes a first judging unit and a second judging unit.
[0062] Among them, the first judging unit is configured to if two pseudo-random sequences are detected in the detection signal, judge that the time slot type sent by the detection signal is the common time slot; the second judging unit is configured to if one pseudo-random sequence is detected in the detection signal, judge that the time slot type sent by the detection signal is the feedback time slot.
[0063] In some embodiments, such as this embodiment, the generating unit includes a calculating unit, a first setting unit, and a second setting unit.
[0064] Wherein, the calculation unit is configured to calculate the ratio of the received signal energy to the noise energy through two pseudo-random sequences in the detection signal to obtain the channel signal-to-noise ratio if the time slot type is the common time slot; the first setting unit is configured to set the detection result to pass the channel quality assessment if the channel signal-to-noise ratio is greater than a preset channel signal-to-noise ratio threshold; and the second setting unit is configured to set the detection result to fail the channel quality assessment if the channel signal-to-noise ratio is not greater than the preset channel signal-to-noise ratio threshold.
[0065] In some embodiments, such as this embodiment, the handover communication unit 102 includes a recording unit, a first handover unit, and a second handover unit.
[0066] Wherein, the recording unit is configured to record the number of times the feedback information is received by the detection node within a preset time period to obtain the reception times; the first handover unit is configured to switch the communication mode to the conventional communication mode to perform service communication with the receiving node if the reception times are greater than a preset reception times threshold; and the second handover unit is configured to switch the communication mode to the extreme communication mode to perform service communication with the receiving node if the reception times are not greater than the preset reception times threshold.
[0067] In some embodiments, such as this embodiment, the communication mode switching system 200 based on channel detection further includes a monitoring and decision-making unit, a second sending unit, and a third sending unit configured in the detection node, and a first receiving unit and a second receiving unit configured in the receiving node.
[0068] Wherein, the monitoring and decision-making unit is configured to decide the communication mode for sending the service according to the latest detection result of the detection node to obtain the target communication mode when the detection node monitors that there is a service to be sent; the second sending unit is configured to, if the target communication mode is the conventional communication mode, the detection node sends the service to all nodes except the receiving node until the service ends, and switches the service sending to channel detection; the first receiving unit is configured to receive the service by the receiving node until the service ends, and switches the service reception to adaptive reception; the third sending unit is configured to, if the target communication mode is the extreme communication mode, the detection node sends the service to the one-hop neighboring node of the detection node until the service ends, and switches the service sending to channel detection, where the hop neighboring node is the receiving node; and the second receiving unit is configured to receive the service by the hop neighboring node until the service ends, and switches the service reception to adaptive reception.
[0069] The above communication mode switching system based on channel detection can be implemented in the form of a computer program, which can be stored in a storage medium such asFigure 12 running on the network node device shown.
[0070] Please refer to Figure 12 , Figure 12 which is a schematic block diagram of a network node device provided by an embodiment of the present invention. The network node device 300 is a device with a communication mode switching function based on channel detection, and can be the above-mentioned detection node and receiving node.
[0071] Refer to Figure 12 , the network node device 300 includes a processor 302, a memory, and a network interface 305 connected through a system bus 301. Among them, the memory may include a non-volatile storage medium 303 and an internal memory 304.
[0072] The non-volatile storage medium 303 can store an operating system 3031 and a computer program 3032. When the computer program 3032 is executed, the processor 302 can be made to execute a communication mode switching method based on channel detection.
[0073] The processor 302 is used to provide computing and control capabilities to support the operation of the entire network node device 300.
[0074] The internal memory 304 provides an environment for the operation of the computer program 3032 in the non-volatile storage medium 303. When the computer program 3032 is executed by the processor 302, the processor 302 can be made to execute a communication mode switching method based on channel detection.
[0075] The network interface 305 is used for network communication with other devices. Those skilled in the art can understand that Figure 12 the structure shown in
[0076] is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the network node device 300 to which the solution of the present invention is applied. The specific network node device 300 may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0077] It should be understood that in the embodiments of the present invention, the processor 302 may be a central processing unit (CPU), and the processor 302 may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0078] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a storage medium, and the storage medium is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.
[0079] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. When the computer program is executed by a processor, the processor executes any of the embodiments of the communication mode switching method based on channel detection described above.
[0080] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, an optical disc, or other computer-readable storage media that can store program codes.
[0081] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed in this article can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0082] In several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0083] The steps in the method embodiments of the present invention can be adjusted, combined, and deleted according to actual needs. The units in the apparatus embodiments of the present invention can be combined, divided, and deleted according to actual needs. In addition, the functional units in each embodiment of the present invention can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
[0084] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a network node device to execute all or part of the steps of the methods described in the various embodiments of the present invention.
[0085] In the above embodiments, the descriptions of the various embodiments have their own emphases. For the parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0086] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these changes and modifications.
[0087] The above is only the specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. A communication mode switching method based on channel detection, which is applied to a communication mode switching system based on channel detection, and is characterized in that, The communication system for switching communication modes includes a plurality of network nodes of a multi-hop network. The network node that sends a detection signal within a complete channel frame is used as a detection node, and the other network nodes are used as receiving nodes. Among them, the receiving nodes include nodes to be detected. The complete channel frame includes a detection frame and a feedback frame. The method includes: When the detection node does not detect any traffic to be sent, the detection node sends a detection signal within the common time slot in the detection frame; The node to be detected generates a detection result based on the captured detection signal, and decides whether to send feedback information to the detection node within the feedback time slot in the feedback frame according to the detection result; The detection node performs adaptive switching of the communication mode according to the feedback information to conduct traffic communication with the receiving node.
2. The method according to claim 1, wherein The node to be detected generates a detection result based on the captured detection signal, including: The node to be detected captures the detection signal and judges the time slot type according to the detection signal; If the time slot type is the common time slot, the detection result is generated according to the detection signal.
3. The method according to claim 2, wherein The judging of the time slot type according to the detection signal includes: If two pseudo-random sequences are detected in the detection signal, it is determined that the time slot type sent by the detection signal is the common time slot; If one pseudo-random sequence is detected in the detection signal, it is determined that the time slot type sent by the detection signal is the feedback time slot.
4. The method according to claim 2, characterized in that, The generating of the detection result according to the detection signal if the time slot type is the common time slot includes: If the time slot type is the common time slot, the ratio of the received signal energy to the noise energy is calculated through the two pseudo-random sequences in the detection signal to obtain the channel signal-to-noise ratio; If the channel signal-to-noise ratio is greater than a preset channel signal-to-noise ratio threshold, the detection result is set to pass the channel quality assessment; If the channel signal-to-noise ratio is not greater than the preset channel signal-to-noise ratio threshold, the detection result is set to fail the channel quality assessment.
5. The method according to claim 4, characterized in that, The decision of whether to send feedback information to the detection node within the feedback time slot in the feedback frame according to the detection result includes: If the detection result is that the channel quality assessment passes, the sending start time of the detection signal is determined according to the two pseudo-random sequences in the detection signal; The feedback time slot of the node to be detected in the feedback frame is calculated according to the sending start time and the network node number of the detection node, and the feedback information is sent to the detection node within the feedback time slot.
6. The method according to any one of claims 1-5, characterized in that, The communication modes include a conventional communication mode and an extreme communication mode. The detection node performs adaptive switching of the communication mode according to the feedback information to conduct traffic communication with the receiving node, including: The detection node records the number of times of receiving the feedback information within a preset time period to obtain the receiving times; If the receiving times are greater than a preset receiving times threshold, the communication mode is switched to the conventional communication mode to conduct traffic communication with the receiving node; If the number of receptions is not greater than the preset reception number threshold, switch the communication mode to the extreme communication mode to conduct service communication with the receiving node.
7. The method according to any one of claims 1-5, characterized in that The method further includes: When the detection node detects that there is a service to be sent, determine the communication mode for sending the service according to the most recent detection result of the detection node to obtain the target communication mode; If the target communication mode is the conventional communication mode, the detection node sends the service to all nodes except the receiving node until the service ends, and then switches the service sending to channel detection; The receiving node receives the service until the service ends, and then switches the service reception to adaptive reception; If the target communication mode is the extreme communication mode, the detection node sends the service to the one-hop neighbor nodes of the detection node until the service ends, and then switches the service sending to channel detection, where the one-hop neighbor node is the receiving node; The one-hop neighbor node receives the service until the service ends, and then switches the service reception to adaptive reception.
8. A communication system for switching communication modes based on channel detection, characterized in that, The communication mode switching system includes multiple network nodes of a multi-hop network. The network node that sends a detection signal within a complete channel frame is used as the detection node, and the other network nodes are used as receiving nodes. Among them, the receiving node includes the detected node. The complete channel frame includes a detection frame and a feedback frame. The system includes: a first sending unit and a communication mode switching unit configured in the detection node, and a feedback generation unit configured in the detected node. Among them, The first sending unit is used for the detection node to send a detection signal within the common time slot of the detection frame when the detection node does not detect that there is a service to be sent; The feedback generation unit is used for the detected node to generate a detection result according to the captured detection signal, and determine whether to send feedback information to the detection node within the feedback time slot of the feedback frame according to the detection result; The communication mode switching unit is used for the detection node to perform adaptive switching of the communication mode according to the feedback information to conduct service communication with the receiving node.
9. A communication mode switching system based on channel detection, characterized in that, The communication mode switching system based on channel detection includes a detection node and a receiving node. Both the detection node and the receiving node include a memory and a processor. A computer program is stored on the memory. When the processor executes the computer program, the method described in any one of claims 1-7 is implemented.
10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of claims 1-7 can be implemented.