CN114630403A - Channel selection method, node, system and computer readable storage medium - Google Patents

Channel selection method, node, system and computer readable storage medium Download PDF

Info

Publication number
CN114630403A
CN114630403A CN202210108441.8A CN202210108441A CN114630403A CN 114630403 A CN114630403 A CN 114630403A CN 202210108441 A CN202210108441 A CN 202210108441A CN 114630403 A CN114630403 A CN 114630403A
Authority
CN
China
Prior art keywords
channel
wifi
bluetooth
node
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210108441.8A
Other languages
Chinese (zh)
Inventor
王明慧
何博
李辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202210108441.8A priority Critical patent/CN114630403A/en
Publication of CN114630403A publication Critical patent/CN114630403A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/541Allocation or scheduling criteria for wireless resources based on quality criteria using the level of interference
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a channel selection method, nodes, a system and a computer readable storage medium, wherein the method is applied to a Mesh network system, the Mesh network system comprises a long power supply node and a low power consumption node, and the method comprises the following steps: acquiring a preset WIFI channel table and an equipment channel table, wherein the preset WIFI channel table comprises a plurality of WIFI channels, and the equipment channel table comprises addresses of long power supply nodes and channel numbers of Bluetooth channels; screening a WIFI channel with channel quality meeting preset quality requirements from a plurality of WIFI channels to obtain a first WIFI channel; determining a Bluetooth channel matched with the first WIFI channel as a first Bluetooth transmission channel; and sending the device channel list to the low-power consumption node through the first Bluetooth transmission channel, so that the low-power consumption node selects a second Bluetooth transmission channel based on the device channel list, and sending a communication data packet to the receiving node through the second Bluetooth transmission channel. By means of the method, the power consumption of the low-power-consumption node can be reduced, and channel interference is reduced.

Description

Channel selection method, node, system and computer readable storage medium
Technical Field
The present application relates to the field of wireless technologies, and in particular, to a channel selection method, node, system, and computer readable storage medium.
Background
When the problems of channel instability and mutual interference occur in a Mesh network, the overall transmission performance can be improved by selecting a channel with better index; in order to select a suitable channel, although some schemes may improve transmission performance, in the field of Internet of Things (IoT), low power consumption and timeliness requirements of nodes cannot be met due to the need of interaction among all nodes.
Disclosure of Invention
The application provides a channel selection method, a node, a system and a computer readable storage medium, which can reduce the power consumption of a low-power node and reduce channel interference.
In order to solve the technical problem, the technical scheme adopted by the application is as follows: the method is applied to a Mesh network system, the Mesh network system comprises a long power supply node and a low power consumption node, and the method comprises the following steps: acquiring a preset WIFI channel table and an equipment channel table, wherein the preset WIFI channel table comprises a plurality of WIFI channels, and the equipment channel table comprises addresses of all long power supply nodes and channel numbers of corresponding Bluetooth channels; screening a WIFI channel with channel quality meeting preset quality requirements from a plurality of WIFI channels to obtain a first WIFI channel; determining a Bluetooth channel matched with the first WIFI channel as a first Bluetooth transmission channel; and sending the device channel list to the low-power consumption node through the first Bluetooth transmission channel, so that the low-power consumption node selects a second Bluetooth transmission channel based on the device channel list, and further sending a communication data packet to the receiving node through the second Bluetooth transmission channel.
In order to solve the technical problem, the technical scheme adopted by the application is as follows: the method is applied to a Mesh network system, the Mesh network system comprises a long power supply node and a low-power consumption node, the long power supply node is used for acquiring a preset WIFI channel list and an equipment channel list, the preset WIFI channel list comprises a plurality of WIFI channels, WIFI channels with channel quality meeting preset quality requirements are screened out from the WIFI channels, a first WIFI channel is obtained, a Bluetooth channel matched with the first WIFI channel is determined to be a first Bluetooth transmission channel, and the method comprises the following steps: receiving an equipment channel list sent by a long power supply node through a first Bluetooth transmission channel; selecting a second Bluetooth transmission channel based on the equipment channel list; and sending a communication data packet to the receiving node through a second Bluetooth transmission channel, wherein the equipment channel list comprises the addresses of all the long power supply nodes and the channel numbers of the corresponding Bluetooth channels.
In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided a long supply node comprising a memory and a processor connected to each other, wherein the memory is used for storing a computer program, and the computer program, when executed by the processor, is used for implementing the channel selection method in the above technical solution.
In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided a low power node comprising a memory and a processor connected to each other, wherein the memory is used for storing a computer program, and the computer program, when executed by the processor, is used for implementing the channel selection method in the above technical solution.
In order to solve the above technical problem, another technical solution adopted by the present application is: the Mesh network system comprises a long power supply node and a low power consumption node which are connected with each other, wherein the long power supply node is used for sending data to the low power consumption node or receiving the data sent by the low power consumption node, the long power supply node is the long power supply node in the technical scheme, and the low power consumption node is the low power consumption node in the technical scheme.
In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided a computer readable storage medium for storing a computer program for implementing the channel selection method in the above technical solution when the computer program is executed by a processor.
Through the scheme, the beneficial effects of the application are that: the Mesh network system comprises a long power supply node and a low-power consumption node, wherein the long power supply node firstly acquires a preset WIFI channel table and an equipment channel table, the preset WIFI channel table comprises a plurality of WIFI channels, and the equipment channel table comprises addresses of all the long power supply nodes and channel numbers of corresponding Bluetooth channels; then, the long power supply node screens out WIFI channels with channel quality meeting preset quality requirements from the plurality of WIFI channels to obtain a first WIFI channel; then the long power supply node determines a Bluetooth channel matched with the first WIFI channel as a first Bluetooth transmission channel; then the long power supply node sends the equipment channel list to the low power consumption node through a first Bluetooth transmission channel; the low-power consumption node selects a second Bluetooth transmission channel based on the equipment channel list and sends a communication data packet to the receiving node through the second Bluetooth transmission channel; each long power supply node can collect long power supply node's bluetooth channel, and summarize into the equipment channel table, supply low-power consumption node to select, so that low-power consumption node matches the address of receiving node with the equipment channel table, find suitable bluetooth channel and transmit the communication data package, need not to adopt the means of traversing to send the communication data package, help reducing low-power consumption equipment's consumption, satisfy the low-power consumption requirement, and, can be according to self WIFI transmission demand, initiatively change the bluetooth channel in advance, avoid channel interference, promote data transmission's accuracy.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
fig. 1 is a schematic flowchart of an embodiment of a channel selection method provided in the present application;
fig. 2 is a topology diagram of a Mesh network system provided in the present application;
FIG. 3 is a schematic diagram of a Bluetooth Low energy channel list provided herein;
fig. 4 is a schematic diagram of a format of a data packet transmitted by a low power consumption node provided in the present application;
fig. 5 is a schematic flow chart of another embodiment of a channel selection method provided in the present application;
FIG. 6 is a schematic structural diagram of an embodiment of a long supply node provided in the present application;
FIG. 7 is a schematic structural diagram of an embodiment of a low power node provided in the present application;
fig. 8 is a schematic structural diagram of an embodiment of a Mesh network system provided in the present application;
FIG. 9 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided in the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be noted that the following examples are only illustrative of the present application, and do not limit the scope of the present application. Likewise, the following examples are only some examples and not all examples of the present application, and all other examples obtained by a person of ordinary skill in the art without any inventive work are within the scope of the present application.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein may be combined with other embodiments.
It should be noted that the terms "first", "second" and "third" in this application are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to imply that the number of indicated technical features is high. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include at least one of the feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless explicitly specifically limited otherwise. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic flowchart illustrating an embodiment of a channel selection method provided in the present application, and fig. 2 is a topological diagram of a Mesh network system provided in the present application, where the method is applied to the Mesh network system, the Mesh network system includes a Long Power Node (LPN) and a Low Power Node (LPN), and the method includes:
s11: and acquiring a preset WIFI channel list and an equipment channel list.
The preset WIFI channel table is composed of WIFI channels commonly used in the related art, that is, the preset WIFI channel table includes a plurality of WIFI channels, for example: 1-13 channels; the device channel list comprises addresses of all long power supply nodes and channel numbers of corresponding Bluetooth channels; specifically, each long power supply node broadcasts its own information (including an address and a channel number of a bluetooth channel) to all devices in the Mesh network system, so that each long power supply node can know communication channels of all long power supply nodes in the Mesh network system, and each long power supply node stores the address and the channel number of each long power supply node to form a device channel table, which may be as shown in table 1 below:
TABLE 1 device channel List
Figure BDA0003494616590000041
Figure BDA0003494616590000051
The long power supply nodes can preferentially select communication channels among the long power supply nodes according to the WIFI network environment, the communication channels are collected into an equipment channel list for selection of the low-power-consumption nodes, the low-power-consumption nodes do not need to directly traverse all Bluetooth channels, and power consumption is reduced.
S12: and screening out a WIFI channel with channel quality meeting preset quality requirements from the plurality of WIFI channels to obtain a first WIFI channel.
And traversing each WIFI channel in the preset WIFI channel table to find the WIFI channel (marked as a first WIFI channel) with the channel quality meeting the preset quality requirement in all the WIFI signals.
In a specific embodiment, channel quality information corresponding to each WIFI channel in a preset WIFI channel table may be obtained first, where the channel quality information includes a signal-to-noise ratio or a number of Access Points (APs) in the WIFI channel; then, scoring is carried out on the channel quality information to obtain the channel quality; and then, determining the WIFI channel with the maximum channel quality in the preset WIFI channel table as a first WIFI channel, namely, the preset quality requirement is the maximum channel quality. Specifically, the score corresponding to the signal-to-noise ratio may be set as the channel quality, and the higher the signal-to-noise ratio is, the higher the channel quality is; or setting the score corresponding to the number of the APs as the channel quality, wherein the channel quality is lower when the number of the APs is larger; or calculating the score corresponding to the signal-to-noise ratio to obtain a first score, calculating the score corresponding to the number of the APs to obtain a second score, and performing weighted summation on the first score and the second score to obtain the channel quality.
In other embodiments, the preset quality requirement may also be set to other forms, such as: judging whether the channel quality of each WIFI channel is greater than the preset channel quality, if so, determining that the preset quality requirement is met, at the moment, further judging whether the number of the WIFI channels with the current channel quality greater than the preset channel quality exceeds one, and if so, randomly selecting one WIFI channel from the WIFI channels as a first WIFI channel, or selecting the WIFI channel with the maximum channel quality as the first WIFI channel; and if the number of the WIFI channels with the current channel quality larger than the preset channel quality is one, directly taking the WIFI channel as a first WIFI channel.
S13: and determining the Bluetooth channel matched with the first WIFI channel as a first Bluetooth transmission channel.
The long power supply node finds the WIFI channel with the minimum interference by traversing all the WIFI channels, and selects a proper Bluetooth channel (namely the Bluetooth channel matched with the WIFI channel with the minimum interference) to be supplied to the long power supply node. Specifically, a WIFI channel number range is determined based on the minimum value and the maximum value of the channel numbers of all WIFI channels in a preset WIFI channel table; splitting the WIFI channel number range into a plurality of sub-ranges; establishing a mapping table based on the sub-range and a preset broadcast channel set, wherein the preset broadcast channel set comprises a plurality of broadcast channels, and the mapping table comprises the sub-range and the broadcast channels matched with the sub-range; and matching the first WIFI channel with the mapping table to obtain a first Bluetooth transmission channel.
In a specific embodiment, the plurality of broadcast channels include a first bluetooth broadcast channel, a second bluetooth broadcast channel, and a third bluetooth broadcast channel, the 3 sub-ranges are (a first preset value, which is smaller than a second preset value), [ a second preset value, which is a third preset value), and [ a third preset value, which is a fourth preset value), respectively, and when the channel number of the first WIFI channel is greater than the first preset value and smaller than the second preset value, the first bluetooth transmission channel is determined as the first bluetooth broadcast channel; when the channel number of the first WIFI channel is larger than or equal to a second preset value and smaller than a third preset value, determining the first Bluetooth transmission channel as a first Bluetooth broadcast channel or a second Bluetooth broadcast channel; and when the channel number of the first WIFI channel is larger than/equal to a third preset value and smaller than a fourth preset value, determining the first Bluetooth transmission channel as a second Bluetooth broadcast channel or a third Bluetooth broadcast channel.
For example, as shown in fig. 3, the bluetooth low energy channel list includes a plurality of center frequencies (frequencies) and channel numbers (LL) corresponding to the center frequencies, channels 37 to 39 are broadcast channels, and their corresponding center frequencies are 2402MHz, 2426MHz, and 2480MHz, respectively; the first preset value, the second preset value, the third preset value and the fourth preset value are 1, 6, 11 and 13 respectively, and the first bluetooth broadcast channel, the second bluetooth broadcast channel and the third bluetooth broadcast channel are 39 channels, 37 channels and 38 channels respectively, that is, the mapping table is shown in table 2 below:
table 2 mapping table
Sub-ranges Channel number of bluetooth channel
(1,6) 39
[6,11) 37 or 39
[11,13) 37 or 38
As can be seen from table 2, if 1< channel number of the first WIFI channel <6, the first bluetooth transmission channel selects 39 channels; if the channel number of the first WIFI channel is more than or equal to 6 and less than 11, the first Bluetooth transmission channel selects one of a channel 37 and a channel 39; if 11 < the channel number of the first WIFI channel <13, the first bluetooth transmission channel selects one of the 37 and 38 channels.
S14: and sending the device channel list to the low-power consumption node through the first Bluetooth transmission channel, so that the low-power consumption node selects a second Bluetooth transmission channel based on the device channel list, and further sending a communication data packet to the receiving node through the second Bluetooth transmission channel.
After the long power supply node acquires the device channel list, the device channel list can be sent to the low-power consumption node through a first Bluetooth transmission channel and/or a first WIFI channel; after acquiring the device channel list, the low-power consumption node can acquire a channel number of a bluetooth channel (marked as a second bluetooth transmission channel) corresponding to the receiving node according to the device channel list and an address of the receiving node which the low-power consumption node wants to communicate with, and then send a communication data packet to the receiving node through the second bluetooth transmission channel; specifically, the receiving node may be a long power supply node, and since the device channel table includes addresses of all long power supply nodes in the Mesh network system and corresponding channel numbers in the system, the channel number matching the address of the receiving node may be found from the device channel table by matching the address of the receiving node with the device channel table. It can be understood that, if there is no information in the device channel table that is the same as the address of the receiving node, the bluetooth channel is traversed to send the communication data packet through the bluetooth channel; for example, three broadcast channels 37-39 are traversed, i.e., communication packets are transmitted to the receiving node using the three broadcast channels.
In a specific embodiment, the long power supply node may determine whether the establishment request message sent by the low power consumption node is monitored in all broadcast channels in the preset broadcast channel set; and if the long power supply node detects that all the broadcast channels in the preset broadcast channel set monitor the establishment request message, the long power supply node sends the equipment channel list to the low-power-consumption node. Specifically, a format of a Data packet (for example, an establishment request message or a communication Data packet) sent by the low power consumption device is shown in fig. 4, where Length is Length, AD type is a broadcast packet type, Content is a packet Content, a field corresponding to the Content is a Network Protocol Data Unit (Network PDU), and the Network PDU includes a transmission channel (TX channel) field and a payload (payload) field.
Further, taking the example that the preset broadcast channel set includes {37, 38, 39}, the low power consumption node sends an establishment request message in three broadcast channels 37 to 39, and carries information (including channel numbers) of the three broadcast channels in the establishment request message, and if the long power supply node in the system monitors that a certain low power consumption node sends the establishment request message in all channels 37 to 39, the device channel table (including addresses and communication channels of all long power supply nodes in the current network) is replied to the low power consumption node.
The embodiment provides a method for selecting a bluetooth Mesh broadcast channel, wherein the broadcast channel in a bluetooth Mesh network is not subjected to frequency hopping, 1/6/11 channels commonly used by WIFI can be avoided by traversing three broadcast channels 37-39, but adjacent frequency interference exists, so that the packet loss rate and the power consumption are increased, the scheme of the embodiment only needs to send a data packet once in a certain broadcast channel, the packet sending time is reduced, 67% of power consumption can be reduced, and because each broadcast channel does not need to be traversed, the network flood cannot be increased, and the burden of the Mesh network can be reduced; in the related technology, the receiving node can only monitor one channel at the same time, so the receiving node needs to traverse the 37-39 channels to receive data, so that the problem of channel inconsistency between the receiving end and the sending end occurs, and further packet loss occurs; in addition, the scheme provided by the embodiment can ensure that the Bluetooth does not drop when the Bluetooth transmission channel is dynamically switched in the Bluetooth Mesh network, and ensure the normal Bluetooth communication; in addition, the Bluetooth Mesh transmission cannot be interfered when the WIFI channel is switched.
Referring to fig. 5, fig. 5 is a schematic flowchart of another embodiment of a channel selection method provided by the present application, where the method is applied to a Mesh network system, the Mesh network system includes a long power supply node and a low power consumption node, the long power supply node is configured to obtain a preset WIFI channel table and an equipment channel table, the preset WIFI channel table includes multiple WIFI channels, a WIFI channel whose channel quality meets a preset quality requirement is screened from the multiple WIFI channels, a first WIFI channel is obtained, and a bluetooth channel matched with the first WIFI channel is determined as a first bluetooth transmission channel, and the method includes:
s51: and receiving the equipment channel list sent by the long power supply node through the first Bluetooth transmission channel.
The device channel table includes addresses of all long powered nodes and channel numbers of corresponding bluetooth channels.
S52: a second bluetooth transport channel is selected based on the device channel list.
And searching the Bluetooth channel corresponding to the address of the receiving node from the equipment channel table to obtain a second Bluetooth transmission channel.
S53: and sending the communication data packet to the receiving node through a second Bluetooth transmission channel.
And sending the communication data packet to a receiving node through a second Bluetooth transmission channel, wherein a sending channel field carried by the communication data packet is a channel number of the second Bluetooth transmission channel.
In a specific embodiment, the low power consumption node may determine whether the acknowledgement information sent by the receiving node is received within a preset time; and if the confirmation information is not received within the preset time, sending a communication data packet to a receiving node through each broadcasting channel in a preset broadcasting channel set, wherein a sending channel field carried by the communication data packet comprises a channel number of a first Bluetooth broadcasting channel, a channel number of a second Bluetooth broadcasting channel and a channel number of a third Bluetooth broadcasting channel.
For example, a low power consumption node is marked as a, a long power supply node is marked as B, the node a pre-sends a communication data packet to the node B, the node a searches a broadcast channel (marked as channel C) corresponding to the node B from an equipment channel table, the communication data packet is sent to the node B through the channel C, and a channel number of the channel C is filled in a sending channel field in the communication data packet; and if the node A does not receive the confirmation information within the preset time, traversing the channels 37-39 to sequentially transmit the communication data packet through the three broadcast channels, wherein the field of the transmission channel in the communication data packet is '37 +38+ 39'.
In another specific embodiment, when the data volume of the communication data packet is greater than the preset data volume, a second WIFI channel may be selected from the remaining WIFI channels in the preset WIFI channel table except for the first WIFI channel; acquiring a Bluetooth channel corresponding to the second WIFI channel to obtain a third Bluetooth transmission channel; judging whether the third Bluetooth transmission channel is the same as the first Bluetooth transmission channel or not; and if the third Bluetooth transmission channel is different from the first Bluetooth transmission channel, updating the current Bluetooth transmission channel into the third Bluetooth transmission channel. Specifically, the low-power-consumption node comprises a WIFI module, when the WIFI module starts to transmit a large number of communication data packets (such as video code streams or equipment upgrade packets), a first WIFI channel is avoided, the rest WIFI channels are traversed, the optimal WIFI channel (namely the WIFI channel with the second highest channel quality in all the WIFI channels or the WIFI channel with the same channel quality as the first WIFI channel) is found, and the optimal WIFI signal is matched with an equipment channel table to determine the optimal Bluetooth channel (namely a third Bluetooth transmission channel); if the third Bluetooth transmission channel is inconsistent with the first Bluetooth transmission channel, informing the Bluetooth module to update the Bluetooth channel; and repeating the operation until the transmission of the communication data packet is finished.
The scheme provided by the embodiment avoids the interference of the WIFI channel to the maximum extent, selects the best Bluetooth channel preferentially, does not need to traverse the Bluetooth channel, reduces the packet loss rate, reduces the sending of redundant messages and reduces the power consumption of low-power-consumption nodes; moreover, the low-power-consumption node can select different Bluetooth channels to communicate with the long power supply node, and can be suitable for different network environments; in addition, the Bluetooth transmission channels can be actively switched when WIFI transmission is adopted, the mutual interference influence of the Bluetooth channels and the WIFI channels is reduced, and the transmission accuracy is improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an embodiment of the long power supply node provided in the present application, and the long power supply node 60 includes a memory 61 and a processor 62 that are connected to each other, where the memory 61 is used for storing a computer program, and the computer program is used for implementing the channel selection method in the foregoing embodiment when being executed by the processor 62.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an embodiment of a low power consumption node 70 provided in the present application, where the low power consumption node includes a memory 71 and a processor 72 connected to each other, where the memory 71 is used for storing a computer program, and the computer program is used for implementing the channel selection method in the foregoing embodiment when being executed by the processor 72.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an embodiment of a Mesh network system provided in the present application, where the Mesh network system 80 includes a long power supply node 81 and a low power consumption node 82 that are connected to each other, the long power supply node 81 is configured to send data to the low power consumption node 82 or receive data sent by the low power consumption node 82, the long power supply node 81 is a long power supply node in the above embodiment, and the low power consumption node 82 is a low power consumption node in the above embodiment.
In the embodiment, the long power supply node finds the channel with the lowest channel occupancy rate as the communication channel of the Bluetooth mesh, so that channel interference can be reduced; moreover, Bluetooth channels can be dynamically switched according to the change of WIFI channels, and the channels between every two Mesh nodes can be different, so that the probability of packet loss and retransmission is reduced; in addition, the low-power-consumption node can immediately sleep after a communication data packet is sent by a certain broadcast channel, and power consumption can be reduced without traversing all the broadcast channels.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an embodiment of a computer-readable storage medium 90 provided in the present application, where the computer-readable storage medium 90 is used to store a computer program 91, and the computer program 91 is used to implement the channel selection method in the foregoing embodiment when being executed by a processor.
The computer-readable storage medium 90 may be a server, a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various media capable of storing program codes.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules or units is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings, or which are directly or indirectly applied to other related technical fields, are intended to be included within the scope of the present application.

Claims (13)

1. A channel selection method is applied to a Mesh network system, wherein the Mesh network system comprises a long power supply node and a low power consumption node, and the method comprises the following steps:
acquiring a preset WIFI channel table and an equipment channel table, wherein the preset WIFI channel table comprises a plurality of WIFI channels, and the equipment channel table comprises addresses of all the long power supply nodes and channel numbers of corresponding Bluetooth channels;
screening out a WIFI channel with channel quality meeting preset quality requirements from the plurality of WIFI channels to obtain a first WIFI channel;
determining a Bluetooth channel matched with the first WIFI channel as a first Bluetooth transmission channel;
and sending the equipment channel list to the low-power consumption node through the first Bluetooth transmission channel, so that the low-power consumption node selects a second Bluetooth transmission channel based on the equipment channel list, and further sending a communication data packet to a receiving node through the second Bluetooth transmission channel.
2. The channel selection method of claim 1, wherein the step of determining the bluetooth channel matching the first WIFI channel as a first bluetooth transmission channel comprises:
determining a WIFI channel number range based on the minimum value and the maximum value of the channel numbers of all WIFI channels in the preset WIFI channel list;
splitting the WIFI channel number range into a plurality of sub-ranges;
establishing a mapping table based on the sub-range and a preset broadcast channel set, wherein the preset broadcast channel set comprises a plurality of broadcast channels, and the mapping table comprises the sub-range and the broadcast channels matched with the sub-range;
and matching the first WIFI channel with the mapping table to obtain the first Bluetooth transmission channel.
3. The channel selection method of claim 2, wherein the plurality of broadcast channels includes a first bluetooth broadcast channel, a second bluetooth broadcast channel, and a third bluetooth broadcast channel, the method further comprising:
when the channel number of the first WIFI channel is larger than a first preset value and smaller than a second preset value, determining the first Bluetooth transmission channel as the first Bluetooth broadcast channel;
when the channel number of the first WIFI channel is greater than or equal to the second preset value and smaller than a third preset value, determining the first Bluetooth transmission channel as the first Bluetooth broadcast channel or the second Bluetooth broadcast channel;
and when the channel number of the first WIFI channel is greater than or equal to the third preset value and smaller than a fourth preset value, determining the first Bluetooth transmission channel as the second Bluetooth broadcast channel or the third Bluetooth broadcast channel.
4. The channel selection method of claim 1, further comprising:
judging whether the establishment request message sent by the low-power-consumption node is monitored in all the broadcast channels in a preset broadcast channel set;
and if so, sending the equipment channel list to the low-power-consumption node.
5. The channel selection method according to claim 1, wherein the step of screening out, from the plurality of WIFI channels, a WIFI channel whose channel quality meets a preset quality requirement to obtain a first WIFI channel includes:
acquiring channel quality information corresponding to each WIFI channel in the preset WIFI channel table, wherein the channel quality information comprises a signal-to-noise ratio or the number of access points in the WIFI channel;
scoring the channel quality information to obtain channel quality;
and determining the WIFI channel with the maximum channel quality in the preset WIFI channel list as the first WIFI channel.
6. A channel selection method is applied to a Mesh network system, the Mesh network system comprises a long power supply node and a low-power consumption node, the long power supply node is used for acquiring a preset WIFI channel list and an equipment channel list, the preset WIFI channel list comprises a plurality of WIFI channels, WIFI channels with channel quality meeting preset quality requirements are screened out from the WIFI channels, a first WIFI channel is obtained, and a Bluetooth channel matched with the first WIFI channel is determined to be a first Bluetooth transmission channel, and the method comprises the following steps:
receiving the device channel list sent by the long power supply node through the first Bluetooth transmission channel;
selecting a second Bluetooth transmission channel based on the equipment channel list;
and sending a communication data packet to a receiving node through the second Bluetooth transmission channel, wherein the equipment channel list comprises the addresses of all the long power supply nodes and the channel numbers of the corresponding Bluetooth channels.
7. The channel selection method of claim 6, further comprising:
searching a Bluetooth channel corresponding to the address of the receiving node from the equipment channel table to obtain a second Bluetooth transmission channel;
and sending the communication data packet to the receiving node through the second Bluetooth transmission channel, wherein a sending channel field carried by the communication data packet is a channel number of the second Bluetooth transmission channel.
8. The channel selection method of claim 7, further comprising:
judging whether the confirmation information sent by the receiving node is received within preset time;
and if not, sending the communication data packet to the receiving node through each broadcast channel in a preset broadcast channel set, wherein a sending channel field carried by the communication data packet comprises a channel number of a first Bluetooth broadcast channel, a channel number of a second Bluetooth broadcast channel and a channel number of a third Bluetooth broadcast channel.
9. The channel selection method of claim 6, further comprising:
when the data volume of the communication data packet is larger than the preset data volume, selecting a second WIFI channel from the rest WIFI channels except the first WIFI channel in the preset WIFI channel table;
acquiring a Bluetooth channel corresponding to the second WIFI channel to obtain a third Bluetooth transmission channel;
judging whether the third Bluetooth transmission channel is the same as the first Bluetooth transmission channel or not;
if not, updating the current Bluetooth transmission channel to be the third Bluetooth transmission channel.
10. A long supply node comprising a memory and a processor connected to each other, wherein the memory is adapted to store a computer program which, when executed by the processor, is adapted to carry out the channel selection method of any of claims 1-5.
11. A low power consumption node comprising a memory and a processor connected to each other, wherein the memory is adapted to store a computer program which, when executed by the processor, is adapted to carry out the channel selection method of any of claims 6-9.
12. A Mesh network system, comprising a long power supply node and a low power consumption node, which are connected to each other, wherein the long power supply node is configured to transmit data to the low power consumption node or receive data transmitted by the low power consumption node, the long power supply node is the long power supply node according to claim 10, and the low power consumption node is the low power consumption node according to claim 11.
13. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, is configured to implement the channel selection method of any of claims 1-9.
CN202210108441.8A 2022-01-28 2022-01-28 Channel selection method, node, system and computer readable storage medium Pending CN114630403A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210108441.8A CN114630403A (en) 2022-01-28 2022-01-28 Channel selection method, node, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210108441.8A CN114630403A (en) 2022-01-28 2022-01-28 Channel selection method, node, system and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114630403A true CN114630403A (en) 2022-06-14

Family

ID=81897982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210108441.8A Pending CN114630403A (en) 2022-01-28 2022-01-28 Channel selection method, node, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114630403A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636478A (en) * 2018-06-22 2019-12-31 阿里巴巴集团控股有限公司 Bluetooth Mesh network system, communication method, device and storage medium thereof
CN112055343A (en) * 2020-08-21 2020-12-08 北京小米移动软件有限公司 Bluetooth Mesh network flooding method, device and storage medium
WO2020252755A1 (en) * 2019-06-20 2020-12-24 华为技术有限公司 Channel selection method and apparatus of bluetooth low energy device
CN112584364A (en) * 2019-09-30 2021-03-30 阿里巴巴集团控股有限公司 Bluetooth network, communication method, device and storage medium thereof
CN113453201A (en) * 2020-03-24 2021-09-28 Tdk株式会社 Bluetooth mesh network
WO2021191780A2 (en) * 2020-03-24 2021-09-30 Tdk Corporation Bluetooth mesh network
US20210377713A1 (en) * 2018-11-30 2021-12-02 Rda Microelectronics Technologies (Shanghai) Co., Ltd. Bluetooth connection method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636478A (en) * 2018-06-22 2019-12-31 阿里巴巴集团控股有限公司 Bluetooth Mesh network system, communication method, device and storage medium thereof
US20210377713A1 (en) * 2018-11-30 2021-12-02 Rda Microelectronics Technologies (Shanghai) Co., Ltd. Bluetooth connection method and device
WO2020252755A1 (en) * 2019-06-20 2020-12-24 华为技术有限公司 Channel selection method and apparatus of bluetooth low energy device
CN112584364A (en) * 2019-09-30 2021-03-30 阿里巴巴集团控股有限公司 Bluetooth network, communication method, device and storage medium thereof
CN113453201A (en) * 2020-03-24 2021-09-28 Tdk株式会社 Bluetooth mesh network
WO2021191780A2 (en) * 2020-03-24 2021-09-30 Tdk Corporation Bluetooth mesh network
CN112055343A (en) * 2020-08-21 2020-12-08 北京小米移动软件有限公司 Bluetooth Mesh network flooding method, device and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孟良;刘林霞;郑风;: "蓝牙与802.11b干扰问题的非协作共存技术解决方法研究", 电子测量与仪器学报, no. 2, 15 December 2008 (2008-12-15) *
秦绍华;陈冬岩;陈桂友;: "LPR-MAC:一种采用并行协商机制的低功耗多信道MAC协议", 计算机工程与科学, no. 11, 15 November 2010 (2010-11-15) *

Similar Documents

Publication Publication Date Title
US11770867B2 (en) Association establishment method and apparatus
CN109673035B (en) Route establishing and maintaining method suitable for wireless self-organizing network
EP2304979B1 (en) Multi-rate peer discovery methods and apparatus
CN104956701B (en) Monitoring size of wireless network
US8601156B2 (en) Methods and apparatus related to peer discovery and/or paging in peer to peer wireless communications
CN111385828B (en) Method, terminal and system for receiving and transmitting data in wireless local area network and network access equipment
JP5256344B2 (en) Inter-node communication method in wireless network
US10462844B2 (en) Dynamic packet relay apparatus and method for sensor network
AU2018442113B2 (en) Model based path selection in a bluetooth low energy, BLE, mesh network
CN105684339A (en) Enhanced subchannel selective transmission procedure
KR20140060098A (en) Apparatus and method for managing slot
CN104303575B (en) System and method for reducing signaling overheads
US20100098001A1 (en) Adaptive Channel Selection by Wireless Nodes for Improved Operating Range
CN108684021B (en) Bluetooth low-power-consumption communication method and device
CN113645017B (en) Channel indication method in wireless local area network and related device
KR101022607B1 (en) Distributed coordination method for common control channel selection in multichannel ad-hoc cognitve radio
EP2337383A1 (en) System for distributing broadband wireless signals indoors
CN114630403A (en) Channel selection method, node, system and computer readable storage medium
CN117042148A (en) Unmanned aerial vehicle cluster data broadcasting method and system based on cache data difference
US20040105414A1 (en) Multi-hop wireless network data forwarding
EP3813311B1 (en) On-demand table and route update after a node failure in a wireless network
CN100550917C (en) Prime number numbered address distribution method and use its unique number address distribution method
KR100956408B1 (en) Energy management method and system of wireless personal area network by considering traffic complication, and Recording medium using by the same
JP7389250B2 (en) Wireless communication device, wireless communication method and program
CN115276935B (en) Signal frame sending method and device

Legal Events

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