A competition-based adaptive multi-channel wireless anti-interference communication method and system
By adopting a competition-based adaptive multi-channel wireless anti-jamming communication method in the fire early warning alarm network, dynamically adjusting the channel and time slices, the problems of insufficient communication timeliness and poor anti-jamming in traditional networks are solved, and more efficient communication is achieved and stronger anti-interference ability.
Patent Information
- Application Number
- CN202211683607.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-27
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2042-12-27
AI Technical Summary
Traditional wireless communication networks have problems such as insufficient communication timeliness and poor anti-interference in fire warning and alarm networks, especially in the case of external environment interference.
Adopting adaptive multi-channel wireless anti-jamming communication method based on competition is adopted, and multi-channel preemptive communication with pre-transmission listening function is set up to dynamically adjust the channel and time slices to realize real-time communication and anti-jamming.
It effectively improves the real-time communication and anti-interference of the fire early warning alarm network, and avoids the problems of poor communication timeliness and poor anti-interference caused by fixed channels and time slices.
Smart Images

Figure CN116321504B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology applied in the fire protection industry, and more specifically, to a competition-based adaptive multi-channel wireless anti-interference communication method and system. Background Art
[0002] In order to solve the problem of wireless space communication channel utilization, traditional wireless communication networks solve this problem by allocating the time occupancy rate of the channel, that is, the network time allocation mechanism in which the host makes time division multiplexing for the slave, and allocates working time slices to the slave. The specific method is that after the slave first enters the network, the host calculates the slave's channel and channel occupancy rate, allocates the corresponding channel and time slice, and then generates a work configuration file and sends it to the slave, so that different slaves can work in different working time slices. The key lies in the effective use of channel time resources. At the same time, for the allocation of air interface channel resources, each slave will be fixed on the corresponding time slice of a channel.
[0003] However, this network allocation method is inefficient. On the one hand, each slave can only work in the corresponding polling time slice. If the transmission fails, it needs to wait for the next round of transmission time slice, which affects the timeliness of the alarm. On the other hand, it only considers the mutual time interference within the system, and does not consider the external environmental interference. When there is environmental interference, this transmission may fail. The core disadvantage is that the timeliness of the network is insufficient, and the fire warning alarm wireless network requires the timeliness of the alarm as the core. At the same time, this method of allocating air interface resources has inherent defects in anti-interference, because the channels and time slices it allocates are fixed and regular, and it does not have sufficient anti-interference ability when encountering regular interference. Summary of the invention
[0004] In view of the above problems, the present invention proposes a competition-based adaptive multi-channel wireless anti-interference communication method and system, which solves the problems of real-time communication and anti-interference of the fire warning alarm network by setting up a multi-channel preemptive communication with a pre-sentence listening function, and can effectively avoid the problems of poor communication timeliness and poor anti-interference of the network due to the allocation of fixed channels and communication time slices.
[0005] According to a first aspect of an embodiment of the present invention, a competition-based adaptive multi-channel wireless anti-interference communication method is provided.
[0006] In one or more embodiments, preferably, the competition-based adaptive multi-channel wireless anti-interference communication method includes:
[0007] Start monitoring the radio network noise floor to obtain the network noise floor;
[0008] Determine whether the network noise floor is greater than the network environment judgment margin, if satisfied, issue a first command, if not satisfied, issue a second command;
[0009] After receiving the second command, determine whether the delay requirement is met, and if so, issue a third command, otherwise, issue a fourth command;
[0010] After receiving the fourth command, determining whether the channel change requirement is met, issuing a fifth command if the requirement is met, and issuing a sixth command if the requirement is not met;
[0011] After receiving the first command and the third command, sending communication data in the current channel;
[0012] After receiving the fifth command, communication data is sent on the new channel, and after receiving the sixth command, the network channel is updated.
[0013] In one or more embodiments, preferably, the initiating monitoring of radio network background noise to obtain the network background noise specifically includes:
[0014] Activate all noise monitoring sensors;
[0015] The radio network noise floor monitoring is started according to the preset monitoring interval to obtain the network noise floor.
[0016] In one or more embodiments, preferably, the determining whether the network noise floor is greater than the network environment determination margin, if satisfied, issuing a first command, and if not satisfied, issuing a second command, specifically includes:
[0017] Set the network environment judgment margin;
[0018] When it is determined that the network noise floor is less than the network environment judgment margin, issuing a first command;
[0019] If the network noise floor is not less than the network environment judgment margin, a second command is issued.
[0020] In one or more embodiments, preferably, after receiving the second command, determining whether the delay requirement is met, and whether the third command is issued if the delay requirement is met, and whether the fourth command is issued if the delay requirement is not met, specifically includes:
[0021] After receiving the second command, the delay judgment is automatically started;
[0022] After three consecutive cumulative random number delay tests;
[0023] After the detection is completed, if the network environment judgment margin is still not met, the fourth command is issued, otherwise the third command is issued.
[0024] In one or more embodiments, preferably, after receiving the fourth command, determining whether the channel change requirement is met, issuing a fifth command if the requirement is met, and issuing a sixth command if the requirement is not met, specifically includes:
[0025] After receiving the fourth command, automatically determining whether there is a preset new channel;
[0026] If the preset new channel exists, directly issue the fifth command;
[0027] Otherwise, if the preset new channel does not exist, the sixth command is directly issued.
[0028] In one or more embodiments, preferably, after receiving the first command and the third command, sending communication data in the current channel specifically includes:
[0029] collecting in real time whether the first command and the third command exist currently, and if they do exist, it is considered that the current communication channel meets the clean environment requirement;
[0030] The communication data is sent on the current communication channel.
[0031] In one or more embodiments, preferably, after receiving the fifth command, sending communication data in a new channel, and after receiving the sixth command, updating the network channel, specifically includes:
[0032] After receiving the fifth command, the communication data is sent in the new channel;
[0033] After the sixth command is received, the network channel is updated cyclically according to a preset period.
[0034] According to a second aspect of an embodiment of the present invention, a competition-based adaptive multi-channel wireless anti-interference communication method is provided.
[0035] In one or more embodiments, preferably, the competition-based adaptive multi-channel wireless anti-interference communication method comprises:
[0036] A monitoring module is used to start monitoring of radio network noise floor and obtain network noise floor;
[0037] A first judgment module is used to judge whether the network noise floor is greater than the network environment judgment margin. If it is satisfied, a first command is issued, and if it is not satisfied, a second command is issued;
[0038] A second judgment module is used to judge whether the delay requirement is met after receiving the second command, and whether the delay requirement is met to issue a third command, and whether the delay requirement is met to issue a fourth command;
[0039] A third judgment module is used to judge whether the channel change requirement is met after receiving the fourth command, and issue a fifth command if the requirement is met, and issue a sixth command if the requirement is not met;
[0040] A current channel sending module, configured to send communication data on the current channel after receiving the first command and the third command;
[0041] The channel updating sending module is used to send communication data in a new channel after receiving the fifth command, and to update the network channel after receiving the sixth command.
[0042] According to a third aspect of an embodiment of the present invention, there is provided a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method as described in any one of the first aspect of the embodiment of the present invention is implemented.
[0043] According to a fourth aspect of an embodiment of the present invention, there is provided an electronic device, comprising a memory and a processor, wherein the memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement any one of the methods described in the first aspect of the embodiment of the present invention.
[0044] The technical solution provided by the embodiments of the present invention may have the following beneficial effects:
[0045] The present invention is based on the time conflict mechanism. Before sending, the terminal or slave performs pre-sending listening detection, detects all modulated and non-modulated signals in the space, and performs appropriate detection and conflict avoidance. The network does not need to allocate time slices and communication channels. The gateway has multiple physical channels. The communication rates and communication parameters of each channel are different and form an orthogonal relationship. When the terminal or slave first accesses the network, the gateway sends down its communication channel frequency, communication rate, bandwidth, modulation mode and other information. When the terminal communicates, it defaults to communicating from a high-speed channel. After a communication failure caused by, for example, mutual interference and collision within the same system or interference from different systems or environmental influences, it communicates from a lower-speed channel.
[0046] The present invention reduces the demand for the accuracy of the terminal's clock hardware. Through the gateway multi-channel, the slave machine can adapt to multi-channel communication through a conflict mechanism to solve the problems encountered by traditional solutions. The technical solution has obvious advantages, and the anti-interference, concurrency and load capacity are significantly improved.
[0047] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0048] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0050] Figure 1 The present invention is a flowchart of a competition-based adaptive multi-channel wireless anti-interference communication method according to an embodiment of the present invention.
[0051] Figure 2 The present invention is a flowchart of starting to monitor the background noise of a radio network in a competition-based adaptive multi-channel wireless anti-interference communication method to obtain the background noise of the network.
[0052] Figure 3 It is a flowchart of a competition-based adaptive multi-channel wireless anti-interference communication method according to an embodiment of the present invention for judging whether the network background noise is greater than the network environment judgment margin, and issuing a first command if it is satisfied, and issuing a second command if it is not satisfied.
[0053] Figure 4 It is a flowchart of a competition-based adaptive multi-channel wireless anti-interference communication method in an embodiment of the present invention, which determines whether the delay requirement is met after receiving the second command, and sends a third command if it is satisfied, and sends a fourth command if it is not satisfied.
[0054] Figure 5 It is a flowchart of a competition-based adaptive multi-channel wireless anti-interference communication method of an embodiment of the present invention, which determines whether the channel change requirement is met after receiving the fourth command, and sends a fifth command if it is met, and sends a sixth command if it is not met.
[0055] Figure 6 It is a flowchart of sending communication data in the current channel after receiving the first command and the third command in a competition-based adaptive multi-channel wireless anti-interference communication method according to an embodiment of the present invention.
[0056] Figure 7 It is a flowchart of an adaptive multi-channel wireless anti-interference communication method based on competition in one embodiment of the present invention, in which communication data is sent in a new channel after receiving the fifth command, and the network channel is updated after receiving the sixth command.
[0057] Figure 8It is a structural diagram of a competition-based adaptive multi-channel wireless anti-interference communication system according to an embodiment of the present invention.
[0058] Fig. 9 It is a structural diagram of an electronic device in one embodiment of the present invention. DETAILED DESCRIPTION
[0059] In some of the processes described in the specification and claims of the present invention and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.
[0060] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0061] In order to solve the problem of wireless space communication channel utilization, traditional wireless communication networks solve this problem by allocating the time occupancy rate of the channel, that is, the network time allocation mechanism in which the host makes time division multiplexing for the slave, and allocates working time slices to the slave. The specific method is that after the slave first enters the network, the host calculates the slave's channel and channel occupancy rate, allocates the corresponding channel and time slice, and then generates a work configuration file and sends it to the slave, so that different slaves can work in different working time slices. The key lies in the effective use of channel time resources. At the same time, for the allocation of air interface channel resources, each slave will be fixed on the corresponding time slice of a channel.
[0062] However, this network allocation method is inefficient. On the one hand, each slave can only work in the corresponding polling time slice. If the transmission fails, it needs to wait for the next round of transmission time slice, which affects the timeliness of the alarm. On the other hand, it only considers the mutual time interference within the system, and does not consider the external environmental interference. When there is environmental interference, this transmission may fail. The core disadvantage is that the timeliness of the network is insufficient, and the fire warning alarm wireless network requires the timeliness of the alarm as the core. At the same time, this method of allocating air interface resources has inherent defects in anti-interference, because the channels and time slices it allocates are fixed and regular, and it does not have sufficient anti-interference ability when encountering regular interference.
[0063] In the embodiment of the present invention, a competition-based adaptive multi-channel wireless anti-interference communication method and system are provided. The scheme solves the communication real-time and anti-interference problems of the fire warning alarm network by setting up a multi-channel preemptive communication with a pre-sentence listening function, and can effectively avoid the communication timeliness and anti-interference problems of the network due to the allocation of fixed channels and communication time slices.
[0064] According to a first aspect of an embodiment of the present invention, a competition-based adaptive multi-channel wireless anti-interference communication method is provided.
[0065] Figure 1 The present invention is a flowchart of a competition-based adaptive multi-channel wireless anti-interference communication method according to an embodiment of the present invention.
[0066] In one or more embodiments, preferably, the competition-based adaptive multi-channel wireless anti-interference communication method includes:
[0067] S101, start monitoring of radio network background noise to obtain the network background noise;
[0068] S102, determining whether the network noise floor is greater than a network environment judgment margin, if satisfied, issuing a first command, otherwise issuing a second command;
[0069] S103, after receiving the second command, determining whether the delay requirement is met, if it is met, issuing a third command, if not, issuing a fourth command;
[0070] S104, after receiving the fourth command, determining whether the channel change requirement is met, if yes, issuing a fifth command, if not, issuing a sixth command;
[0071] S105. After receiving the first command and the third command, send communication data in the current channel;
[0072] S106. After receiving the fifth command, communication data is sent in the new channel, and after receiving the sixth command, the network channel is updated.
[0073] In an embodiment of the present invention, a competition-based adaptive multi-channel wireless anti-interference communication method is provided, which solves the shortcoming of traditional wireless gateways allocating fixed time slices to the terminals they carry when they enter the network, and solves the needs of wireless network anti-interference, large capacity, and high-concurrency communication in new radio environments.
[0074] Figure 2 The present invention is a flowchart of starting to monitor the background noise of a radio network in a competition-based adaptive multi-channel wireless anti-interference communication method to obtain the background noise of the network.
[0075] like Figure 2 As shown, in one or more embodiments, preferably, the starting of monitoring the radio network background noise to obtain the network background noise specifically includes:
[0076] S201, start all noise monitoring sensors;
[0077] S202: Start monitoring the radio network noise floor at a preset monitoring interval to obtain the network noise floor.
[0078] In the embodiment of the present invention, after the network noise floor is monitored, it is stored as the network noise floor for subsequent environmental analysis.
[0079] Figure 3 It is a flowchart of a competition-based adaptive multi-channel wireless anti-interference communication method according to an embodiment of the present invention for judging whether the network background noise is greater than the network environment judgment margin, and issuing a first command if it is satisfied, and issuing a second command if it is not satisfied.
[0080] like Figure 3 As shown, in one or more embodiments, preferably, the determining whether the network background noise is greater than the network environment determination margin, if satisfied, issuing a first command, if not satisfied, issuing a second command, specifically includes:
[0081] S301, setting a network environment judgment margin;
[0082] S302, when it is determined that the network noise floor is less than the network environment judgment margin, issuing a first command;
[0083] S303: If the network noise floor is not less than the network environment judgment margin, issue a second command.
[0084] In the embodiment of the present invention, the first step is to determine the initial cleaning environment, and if the conditions are met after the determination, communication data is automatically sent.
[0085] Figure 4It is a flowchart of a competition-based adaptive multi-channel wireless anti-interference communication method in an embodiment of the present invention, which determines whether the delay requirement is met after receiving the second command, and sends a third command if it is satisfied, and sends a fourth command if it is not satisfied.
[0086] like Figure 4 As shown, in one or more embodiments, preferably, after receiving the second command, determining whether the delay requirement is met, whether the third command is issued if the delay requirement is met, and whether the fourth command is issued if the delay requirement is not met specifically includes:
[0087] S401, after receiving the second command, automatically start delay judgment;
[0088] S402, performing three consecutive cumulative random number delay detections;
[0089] S403: After the detection is completed, if the network environment judgment margin still cannot be met, a fourth command is issued; otherwise, the third command is issued.
[0090] In the embodiment of the present invention, after receiving the second command, it is determined whether the requirement of accumulating random number delay detection for 3 times is met, and if so, the third command is issued, and if not, the fourth command is issued.
[0091] Figure 5 It is a flowchart of a competition-based adaptive multi-channel wireless anti-interference communication method of an embodiment of the present invention, which determines whether the channel change requirement is met after receiving the fourth command, and sends a fifth command if it is met, and sends a sixth command if it is not met.
[0092] like Figure 5 As shown, in one or more embodiments, preferably, after receiving the fourth command, judging whether the channel change requirement is met, issuing the fifth command if it is met, and issuing the sixth command if it is not met, specifically includes:
[0093] S501, after receiving the fourth command, automatically determining whether there is a preset new channel;
[0094] S502: If the preset new channel exists, directly issue a fifth command;
[0095] S503: Otherwise, if the preset new channel does not exist, directly issue a sixth command.
[0096] In the embodiment of the present invention, after receiving the fourth command, it is determined whether the channel change requirement is met. If the channel change is possible, a fifth command is issued; if not, a sixth command is issued.
[0097] Figure 6It is a flowchart of sending communication data in the current channel after receiving the first command and the third command in a competition-based adaptive multi-channel wireless anti-interference communication method according to an embodiment of the present invention.
[0098] like Figure 6 As shown, in one or more embodiments, preferably, after receiving the first command and the third command, sending communication data in the current channel specifically includes:
[0099] S601, collecting in real time whether the first command and the third command exist currently, and if so, it is considered that the current communication channel meets the clean environment requirement;
[0100] S602: Send communication data on the current communication channel.
[0101] In the embodiment of the present invention, after receiving the first command and the third command, communication data is sent in the current channel, and there is no need to change the communication channel during this process.
[0102] Figure 7 It is a flowchart of an adaptive multi-channel wireless anti-interference communication method based on competition in one embodiment of the present invention, in which communication data is sent in a new channel after receiving the fifth command, and the network channel is updated after receiving the sixth command.
[0103] like Figure 7 As shown, in one or more embodiments, preferably, after receiving the fifth command, the communication data is sent in the new channel, and after receiving the sixth command, the network channel is updated, which specifically includes:
[0104] S701, after receiving the fifth command, sending communication data in a new channel;
[0105] S702: After the sixth command is received, the network channel is updated according to a preset periodic cycle.
[0106] In the embodiment of the present invention, after receiving the fifth command, the communication data is sent on the new channel, and after receiving the sixth command, the network channel is updated, and finally by using the time competition conflict mechanism and multiple physical communication channels, the radio environment is monitored before sending, and when a wireless signal is detected, a random time delay is performed, thereby solving the short-range time conflict. At the same time, when there is a long-term time conflict, other physical communication channels are used for communication to solve the same-frequency interference problem.
[0107] According to a second aspect of an embodiment of the present invention, a competition-based adaptive multi-channel wireless anti-interference communication method is provided.
[0108] Figure 8 The present invention is a structural diagram of a competition-based adaptive multi-channel wireless anti-interference communication method according to an embodiment of the present invention.
[0109] In one or more embodiments, preferably, the competition-based adaptive multi-channel wireless anti-interference communication method comprises:
[0110] The monitoring module 801 is used to start monitoring the radio network noise floor and obtain the network noise floor;
[0111] A first judgment module 802 is used to judge whether the network noise floor is greater than the network environment judgment margin. If it is satisfied, a first command is issued, and if it is not satisfied, a second command is issued;
[0112] A second judgment module 803 is used to judge whether the delay requirement is met after receiving the second command, and whether the third command is issued if the delay requirement is met, and whether the fourth command is issued if the delay requirement is not met;
[0113] A third judgment module 804 is used to judge whether the channel change requirement is met after receiving the fourth command, and issue a fifth command if the requirement is met, and issue a sixth command if the requirement is not met;
[0114] The current channel sending module 805 is used to send communication data on the current channel after receiving the first command and the third command;
[0115] The update channel sending module 806 is used to send communication data on the new channel after receiving the fifth command, and to update the network channel after receiving the sixth command.
[0116] In the embodiment of the present invention, a system suitable for different structures is realized through a series of modular designs. The system can achieve closed-loop, reliable and efficient execution through collection, analysis and control.
[0117] According to a third aspect of an embodiment of the present invention, there is provided a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method as described in any one of the first aspect of the embodiment of the present invention is implemented.
[0118] According to a fourth aspect of an embodiment of the present invention, an electronic device is provided. Fig. 9 It is a structural diagram of an electronic device in one embodiment of the present invention. Fig. 9The electronic device shown is a general-purpose competition-based adaptive multi-channel wireless anti-interference communication device. The electronic device can be a smart phone, a tablet computer, or other devices. As shown, the electronic device 900 includes a processor 901 and a memory 902. Among them, the processor 901 is electrically connected to the memory 902. The processor 901 is the control center of the terminal 900, which uses various interfaces and lines to connect various parts of the entire terminal, and executes various functions of the terminal and processes data by running or calling computer programs stored in the memory 902, and calling data stored in the memory 902, thereby monitoring the terminal as a whole.
[0119] In this embodiment, the processor 901 in the electronic device 900 will load the instructions corresponding to the processes of one or more computer programs into the memory 902 according to the following steps, and the processor 901 will run the computer program stored in the memory 902 to implement various functions: start monitoring the radio network background noise to obtain the network background noise; determine whether the network background noise is greater than the network environment judgment margin, and issue a first command if it is satisfied, otherwise issue a second command; after receiving the second command, determine whether the delay requirement is met, and issue a third command if it is satisfied, and issue a fourth command if it is not satisfied; after receiving the fourth command, determine whether the channel change requirement is met, and issue a fifth command if it is satisfied, and issue a sixth command if it is not satisfied; after receiving the first command and the third command, send communication data on the current channel; after receiving the fifth command, send communication data on the new channel, and after receiving the sixth command, update the network channel.
[0120] The memory 902 may be used to store computer programs and data. The computer programs stored in the memory 902 include instructions that can be executed in the processor. The computer programs may constitute various functional modules. The processor 901 executes various functional applications and data processing by calling the computer programs stored in the memory 902.
[0121] The technical solution provided by the embodiments of the present invention may have the following beneficial effects:
[0122] The present invention is based on the time conflict mechanism. Before sending, the terminal or slave performs pre-sending listening detection, detects all modulated and non-modulated signals in the space, and performs appropriate detection and conflict avoidance. The network does not need to allocate time slices and communication channels. The gateway has multiple physical channels. The communication rates and communication parameters of each channel are different and form an orthogonal relationship. When the terminal or slave first accesses the network, the gateway sends down its communication channel frequency, communication rate, bandwidth, modulation mode and other information. When the terminal communicates, it defaults to communicating from a high-speed channel. After a communication failure caused by, for example, mutual interference and collision within the same system or interference from different systems or environmental influences, it communicates from a lower-speed channel.
[0123] The present invention reduces the demand for the accuracy of the terminal's clock hardware. Through the gateway multi-channel, the slave machine can adapt to multi-channel communication through a conflict mechanism to solve the problems encountered by traditional solutions. The technical solution has obvious advantages, and the anti-interference, concurrency and load capacity are significantly improved.
[0124] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0125] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0126] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0127] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0128] 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, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A competition-based adaptive multi-channel wireless anti-interference communication method, characterized in that: The method includes: Start monitoring the radio network noise floor to obtain the network noise floor; Determine whether the network noise floor is greater than the network environment judgment margin, if satisfied, issue a second command, if not satisfied, issue a first command; After receiving the second command, determine whether the delay requirement is met, and if so, issue a third command, otherwise, issue a fourth command; After receiving the fourth command, determining whether the channel change requirement is met, issuing a fifth command if the requirement is met, and issuing a sixth command if the requirement is not met; After receiving the first command and the third command, sending communication data in the current channel; After receiving the fifth command, communication data is sent on the new channel, and after receiving the sixth command, the network channel is updated.
2. A competition-based adaptive multi-channel wireless anti-interference communication method as claimed in claim 1, characterized in that: The initiation of monitoring the radio network background noise to obtain the network background noise specifically includes: All noise monitoring sensors; The radio network noise floor monitoring is started according to the preset monitoring interval to obtain the network noise floor.
3. The method for adaptive multi-channel wireless anti-interference communication based on competition as claimed in claim 1, characterized in that: The determining whether the network noise floor is greater than the network environment determination margin, if satisfied, issuing a second command, and if not satisfied, issuing a first command, specifically includes: Set the network environment judgment margin; When it is determined that the network noise floor is less than the network environment judgment margin, issuing a first command; If the network noise floor is not less than the network environment judgment margin, a second command is issued.
4. The method for adaptive multi-channel wireless anti-interference communication based on competition as claimed in claim 1, characterized in that: After receiving the second command, determining whether the delay requirement is met, if the delay requirement is met, issuing the third command, and if the delay requirement is not met, issuing the fourth command, specifically includes: After receiving the second command, the delay judgment is automatically started; After three consecutive cumulative random number delay tests; After the detection is completed, if the network environment judgment margin is still not met, the fourth command is issued, otherwise the third command is issued.
5. The method for adaptive multi-channel wireless anti-interference communication based on competition as claimed in claim 1, characterized in that: After receiving the fourth command, determining whether the channel change requirement is met, issuing a fifth command if the requirement is met, and issuing a sixth command if the requirement is not met, specifically includes: After receiving the fourth command, automatically determining whether there is a preset new channel; If the preset new channel exists, directly issue the fifth command; Otherwise, if the preset new channel does not exist, the sixth command is directly issued.
6. The competition-based adaptive multi-channel wireless anti-interference communication method according to claim 1, characterized in that: After receiving the first command and the third command, sending communication data on the current channel specifically includes: collecting in real time whether the first command and the third command exist currently, and if they do exist, it is considered that the current communication channel meets the clean environment requirement; The communication data is sent on the current communication channel.
7. The method for adaptive multi-channel wireless anti-interference communication based on competition as claimed in claim 1, characterized in that: After receiving the fifth command, the communication data is sent in the new channel, and after receiving the sixth command, the network channel is updated, which specifically includes: After receiving the fifth command, the communication data is sent in the new channel; After the sixth command is received, the network channel is updated cyclically according to a preset period.
8. A competition-based adaptive multi-channel wireless anti-interference communication system, characterized in that: The system is used to implement the method according to any one of claims 1 to 7, and the system comprises: A monitoring module is used to start monitoring of radio network noise floor and obtain network noise floor; A first judgment module is used to judge whether the network noise floor is greater than the network environment judgment margin. If it is satisfied, a second command is issued, and if it is not satisfied, a first command is issued; A second judgment module is used to judge whether the delay requirement is met after receiving the second command, and whether the delay requirement is met to issue a third command, and whether the delay requirement is met to issue a fourth command; A third judgment module is used to judge whether the channel change requirement is met after receiving the fourth command, and issue a fifth command if the requirement is met, and issue a sixth command if the requirement is not met; A current channel sending module, configured to send communication data on the current channel after receiving the first command and the third command; The channel updating sending module is used to send communication data in a new channel after receiving the fifth command, and to update the network channel after receiving the sixth command.
9. A computer-readable storage medium storing computer program instructions, characterized in that: The computer program instructions implement the method according to any one of claims 1 to 7 when executed by a processor.
10. An electronic device comprising a memory and a processor, characterized in that: The memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method according to any one of claims 1-7.
Citation Information
Patent Citations
Channel frequency hopping method for large-scale verification system of wireless pulse type metering equipment
CN112702082A
Ad hoc network anti-interference method based on interference perception and application
CN114845411A