CN113676980A - Relay node determination method, device, equipment and readable storage medium - Google Patents

Relay node determination method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN113676980A
CN113676980A CN202110929339.XA CN202110929339A CN113676980A CN 113676980 A CN113676980 A CN 113676980A CN 202110929339 A CN202110929339 A CN 202110929339A CN 113676980 A CN113676980 A CN 113676980A
Authority
CN
China
Prior art keywords
bluetooth mesh
relay node
performance parameters
mesh devices
devices
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.)
Granted
Application number
CN202110929339.XA
Other languages
Chinese (zh)
Other versions
CN113676980B (en
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.)
Shanghai Mxchip Information Technology Co Ltd
Original Assignee
Shanghai Mxchip Information 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 Shanghai Mxchip Information Technology Co Ltd filed Critical Shanghai Mxchip Information Technology Co Ltd
Priority to CN202110929339.XA priority Critical patent/CN113676980B/en
Publication of CN113676980A publication Critical patent/CN113676980A/en
Application granted granted Critical
Publication of CN113676980B publication Critical patent/CN113676980B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/12Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • 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)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a method, a device, equipment and a readable storage medium for determining a relay node, wherein the method is applied to the current Bluetooth Mesh equipment and comprises the following steps: acquiring performance parameters of other Bluetooth Mesh devices in a radio frequency range; comparing the performance parameters of the Bluetooth Mesh device with the performance parameters of other Bluetooth Mesh devices; if the performance parameter of the relay is inferior to the performance parameter of at least one other Bluetooth Mesh device in other Bluetooth Mesh devices, the relay function of the relay is closed; and if the performance parameter of the relay node is superior to that of any one of the other Bluetooth Mesh devices, the relay node is used as the relay node. According to the technical scheme, one Bluetooth Mesh device with the optimal performance parameter is determined to serve as a relay node in the radio frequency range through comparison of performance parameters of all Bluetooth Mesh devices in the radio frequency range, so that generation of redundant messages is reduced, and congestion of a Bluetooth Mesh network is avoided.

Description

Relay node determination method, device, equipment and readable storage medium
Technical Field
The present application relates to the field of bluetooth Mesh technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for determining a relay node.
Background
In bluetooth Mesh (wireless Mesh network), messages need to be transmitted to enable the messages to traverse the entire network.
At present, all bluetooth Mesh devices in a bluetooth Mesh network default to open a relay function, so that after one bluetooth Mesh device sends a message, all other bluetooth Mesh devices can relay and forward the message, and redundant messages can be generated, so that congestion of the bluetooth Mesh network can be caused, even the network is obstructed, and the congestion is more serious as more bluetooth Mesh devices in the bluetooth Mesh network are.
In summary, how to reduce the generation of redundant messages in the bluetooth Mesh network is a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
In view of the above, an object of the present application is to provide a method, an apparatus, a device and a readable storage medium for determining a relay node, which are used to reduce the generation of redundant messages in a bluetooth Mesh network.
In order to achieve the above purpose, the present application provides the following technical solutions:
a relay node determination method is applied to a current Bluetooth Mesh device and comprises the following steps:
acquiring performance parameters of other Bluetooth Mesh devices in a radio frequency range;
comparing the performance parameters of the Bluetooth Mesh device with the performance parameters of other Bluetooth Mesh devices;
if the performance parameter of the self is determined to be inferior to the performance parameter of at least one other Bluetooth Mesh device in other Bluetooth Mesh devices, closing the relay function of the self;
and if the performance parameter of the self is determined to be superior to that of any one of the other Bluetooth Mesh devices, the self is used as a relay node and the relay function of the self is kept.
Preferably, the method further comprises the following steps:
broadcasting the performance parameters of the self.
Preferably, the acquiring performance parameters of other bluetooth Mesh devices in the radio frequency range includes:
and acquiring the performance parameters of other Bluetooth Mesh devices by monitoring the broadcast of other Bluetooth Mesh devices.
Preferably, the performance parameters include power consumption mode, radio frequency transmission power, signal strength, receiving sensitivity, and scanning duty cycle.
Preferably, when acquiring the performance parameters of other bluetooth Mesh devices in the radio frequency range, the method further includes:
acquiring device identifications of other Bluetooth Mesh devices in the radio frequency range;
and distinguishing the performance parameters of other Bluetooth Mesh devices according to the device identifications of the other Bluetooth Mesh devices.
Preferably, after the relay node is used as a relay node, the method further includes:
and sending the equipment information of the relay node to a terminal.
A relay node determination device is applied to a current Bluetooth Mesh device and comprises the following steps:
the first acquisition module is used for acquiring performance parameters of other Bluetooth Mesh devices in a radio frequency range;
the comparison module is used for comparing the performance parameters of the comparison module with the performance parameters of other Bluetooth Mesh devices;
the closing module is used for closing the relay function of the self if the performance parameter of the self is determined to be inferior to the performance parameter of at least one other Bluetooth Mesh device in other Bluetooth Mesh devices;
and the maintaining module is used for taking the self as a relay node and maintaining the self relay function if the performance parameter of the self is determined to be superior to the performance parameter of any one of the other Bluetooth Mesh devices.
Preferably, the method further comprises the following steps:
and the broadcasting module is used for broadcasting the performance parameters of the broadcasting module.
A relay node determination device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the relay node determination method as defined in any one of the above when executing the computer program.
A readable storage medium having stored therein a computer program which, when executed by a processor, implements the steps of the relay node determination method according to any one of the preceding claims.
The application provides a relay node determination method, a relay node determination device and a readable storage medium, wherein the method is applied to the current Bluetooth Mesh device and comprises the following steps: acquiring performance parameters of other Bluetooth Mesh devices in a radio frequency range; comparing the performance parameters of the Bluetooth Mesh device with the performance parameters of other Bluetooth Mesh devices; if the performance parameter of the relay is determined to be inferior to the performance parameter of at least one other Bluetooth Mesh device in the other Bluetooth Mesh devices, the relay function of the relay is closed; and if the performance parameter of the self is determined to be superior to that of any one of the other Bluetooth Mesh devices, the self is used as a relay node and the relay function of the self is kept.
The technical scheme disclosed by the application obtains the performance parameters of other Bluetooth Mesh devices in a radio frequency range, compares the performance parameters of the current Bluetooth Mesh device with the obtained performance parameters of the other Bluetooth Mesh devices, if the performance parameters of the current Bluetooth Mesh device are inferior to the performance parameters of at least one Bluetooth Mesh device in the other Bluetooth Mesh devices, the performance parameters of the current Bluetooth Mesh device are poor, at the moment, the relay function of the current Bluetooth Mesh device is closed, if the performance parameters of the current Bluetooth Mesh device are superior to the performance parameters of any Bluetooth Mesh device in the other Bluetooth Mesh devices, the performance parameters of the current Bluetooth Mesh device are optimal, at the moment, the current Bluetooth Mesh device is taken as a relay node, and the relay function of the current Mesh device is maintained, so that only the Bluetooth Mesh device with the optimal performance parameters is determined as the relay node in the radio frequency range, and the performance of the relay node in the Bluetooth Mesh network is improved, the reliability of message forwarding is improved, the number of relay nodes is reduced, and the generation of redundant messages is reduced, so that congestion of the Bluetooth Mesh network is avoided, and the number of the maximum accessible Bluetooth Mesh devices of the Bluetooth Mesh network is increased.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a relay node determination method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a relay node determination apparatus according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a relay node determining device according to an embodiment of the present application.
Detailed Description
At present, all the bluetooth Mesh devices on the market default to turn on the relay function, that is, all the bluetooth Mesh devices have the message forwarding function, so that after each bluetooth Mesh device receives a message, the message is forwarded once, and this will result in the generation of redundant messages, and the more the bluetooth Mesh devices included in the bluetooth Mesh network are, the more the amount of redundant messages is, so that the congestion of the bluetooth Mesh network can be caused, even the bluetooth Mesh devices cannot be communicated, and this will bring influences to the normal use of the bluetooth Mesh network. In addition, the generation of redundant messages also results in a limited number of bluetooth Mesh devices that are maximally accessible to the bluetooth Mesh network.
Therefore, the application provides a method, a device, equipment and a readable storage medium for determining a relay node, which are used for reducing the generation of redundant messages in a bluetooth Mesh network, so as to avoid congestion of the bluetooth Mesh network and facilitate the increase of the maximum number of devices capable of receiving the bluetooth Mesh network in the bluetooth Mesh network.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, which shows a flowchart of a relay node determining method provided in an embodiment of the present application, applied to a current bluetooth Mesh device, may include:
s11: and acquiring the performance parameters of other Bluetooth Mesh devices in the radio frequency range.
In the bluetooth Mesh network, the current bluetooth Mesh device may acquire the performance parameters of all other bluetooth Mesh devices within its radio frequency range by scanning and the like, so as to determine a bluetooth Mesh device with the optimal performance parameters. The radio frequency range mentioned here specifically refers to the distance, i.e. the physical distance range that the radio frequency signal emitted by the bluetooth Mesh device can reach. In addition, the current bluetooth Mesh device can sequentially acquire the performance parameters of other bluetooth Mesh devices, so as to avoid the influence on the operation of the current bluetooth Mesh device caused by acquiring a large number of performance parameters at the same time. Of course, the current bluetooth Mesh device may also obtain the performance parameters of other bluetooth Mesh devices at the same time, so as to facilitate obtaining and comparing at the same time to improve the determination efficiency of the relay node.
It should be noted that each bluetooth Mesh device in the bluetooth Mesh network may be used as a current bluetooth Mesh device, that is, each bluetooth Mesh device in the bluetooth Mesh network may be used as an execution subject to determine the relay node.
S12: and comparing the performance parameters of the Bluetooth Mesh device with the performance parameters of other Bluetooth Mesh devices.
After the current bluetooth Mesh device acquires the performance parameters of other bluetooth Mesh devices in the radio frequency range, the current bluetooth Mesh device compares the performance parameters of the current bluetooth Mesh device with the performance parameters of all other bluetooth Mesh devices in the radio frequency range to determine whether the performance parameters of the current bluetooth Mesh device are superior to the performance of other bluetooth Mesh devices.
S13: and if the performance parameter of the relay is determined to be inferior to the performance parameter of at least one other Bluetooth Mesh device in the other Bluetooth Mesh devices, closing the relay function of the relay.
On the basis of step S12, if the current bluetooth Mesh device determines that its performance parameter is inferior to the performance parameter of at least one of all other bluetooth Mesh devices, it indicates that the performance of the current bluetooth Mesh device is poor, that is, it indicates that there is a bluetooth Mesh device with better performance than the current bluetooth Mesh device in the radio frequency range, and therefore, the current bluetooth Mesh device closes its own relay function, and does not serve as a relay node any more, that is, does not forward the received message any more.
S14: and if the performance parameter of the self is determined to be superior to that of any one of the other Bluetooth Mesh devices, the self is used as a relay node and the relay function of the self is kept.
On the basis of step S12, if the current bluetooth Mesh device determines that its performance parameter is better than the performance parameter of any one of the other bluetooth Mesh devices, it indicates that the performance of the current bluetooth Mesh device is optimal within the radio frequency range of the current bluetooth Mesh device, i.e., it indicates that there is no bluetooth Mesh device with better performance than the current bluetooth Mesh device within the radio frequency range, and therefore, the current bluetooth Mesh device uses itself as a relay node and continues to start its own relay function, i.e., maintains its own relay function, so as to forward the received message.
According to the process, only one Bluetooth Mesh device in a radio frequency range can be used as a relay node to reduce forwarding of messages, generation of redundant messages is reduced, congestion of the Bluetooth Mesh network is avoided, the Bluetooth Mesh network can be used normally, the number of the Bluetooth Mesh devices which can be accessed to the Bluetooth Mesh network to the maximum extent is convenient to improve, the optimal Bluetooth Mesh device can be used as the relay node, performance of the relay node is convenient to improve, and running performance of the Bluetooth Mesh network is convenient to improve.
The technical scheme disclosed by the application obtains the performance parameters of other Bluetooth Mesh devices in a radio frequency range, compares the performance parameters of the current Bluetooth Mesh device with the obtained performance parameters of the other Bluetooth Mesh devices, if the performance parameters of the current Bluetooth Mesh device are inferior to the performance parameters of at least one Bluetooth Mesh device in the other Bluetooth Mesh devices, the performance parameters of the current Bluetooth Mesh device are poor, at the moment, the relay function of the current Bluetooth Mesh device is closed, if the performance parameters of the current Bluetooth Mesh device are superior to the performance parameters of any Bluetooth Mesh device in the other Bluetooth Mesh devices, the performance parameters of the current Bluetooth Mesh device are optimal, at the moment, the current Bluetooth Mesh device is taken as a relay node, and the relay function of the current Mesh device is maintained, so that only the Bluetooth Mesh device with the optimal performance parameters is determined as the relay node in the radio frequency range, and the performance of the relay node in the Bluetooth Mesh network is improved, the reliability of message forwarding is improved, the number of relay nodes is reduced, and the generation of redundant messages is reduced, so that congestion of the Bluetooth Mesh network is avoided, and the number of the maximum accessible Bluetooth Mesh devices of the Bluetooth Mesh network is increased.
The method for determining a relay node provided in the embodiment of the present application may further include:
broadcasting its own performance parameters.
In the application, the current bluetooth Mesh device can broadcast the performance parameters of the current bluetooth Mesh device, that is, each bluetooth Mesh device in the bluetooth Mesh network can broadcast the performance parameters of the current bluetooth Mesh device, so that each bluetooth Mesh device in the bluetooth Mesh network can conveniently acquire the performance parameters of other bluetooth Mesh devices.
It should be noted that the current bluetooth Mesh device may periodically broadcast its performance parameters, where the broadcast period duration may be specifically set according to requirements.
The method for determining a relay node, provided by the embodiment of the present application, may obtain performance parameters of other bluetooth Mesh devices in a radio frequency range, where the method includes:
and acquiring the performance parameters of other Bluetooth Mesh devices by monitoring the broadcast of other Bluetooth Mesh devices.
In this application, when current bluetooth Mesh device is obtaining the performance parameter of other bluetooth Mesh devices in the radio frequency range, specifically can listen the broadcast of other bluetooth Mesh devices to obtain the performance parameter of all other bluetooth Mesh devices through listening the broadcast of other bluetooth Mesh devices, thereby be convenient for comprehensively and conveniently obtain the performance parameter of all other bluetooth Mesh devices.
In the method for determining a relay node provided in the embodiment of the present application, the performance parameters may include a power consumption mode, radio frequency transmission power, signal strength, reception sensitivity, and a scanning duty cycle.
In this application, the performance parameters may specifically include a power consumption mode, a radio frequency transmission power, a signal strength, a reception sensitivity, and a scanning duty ratio, and priorities of the power consumption mode, the radio frequency transmission power, the signal strength, the reception sensitivity, and the scanning duty ratio are sequentially reduced, that is, when the performance parameters are compared, the comparison is performed according to a sequence from high priority to low priority.
In addition, in the power consumption mode, normal power consumption is superior to low power consumption, and low power consumption is superior to ultra-low power consumption; among the radio frequency transmission power, the radio frequency transmission power is higher than the radio frequency transmission power is lower; among the signal strengths, the signal strength is higher than the signal strength is lower; among the reception sensitivities, the reception sensitivity is higher than the reception sensitivity is lower; in the scan duty, the scan duty is higher than the scan duty is lower.
That is, when comparing the performance parameters, the comparison can be performed according to the priority and the difference between the quality of each parameter, so as to select the bluetooth Mesh device with the highest performance as the relay node, thereby improving the reliability and stability of the relay node and the message forwarding performance.
The method for determining a relay node provided in the embodiment of the present application, when acquiring performance parameters of other bluetooth Mesh devices in a radio frequency range, may further include:
acquiring device identifications of other Bluetooth Mesh devices in a radio frequency range;
and distinguishing the performance parameters of other Bluetooth Mesh devices according to the device identifications of the other Bluetooth Mesh devices.
In the application, while acquiring the performance parameters of other bluetooth Mesh devices in the radio frequency range, the current bluetooth Mesh device may also acquire device identifiers of other bluetooth Mesh devices in the radio frequency range, that is, the current bluetooth Mesh device may receive the performance parameters and the device identifiers of other bluetooth Mesh devices together, where the device identifiers mentioned herein may specifically be address information, names, numbers, and the like of the bluetooth Mesh devices.
After receiving the performance parameters and the device identifiers of other bluetooth Mesh devices, the performance parameters of the other bluetooth Mesh devices can be distinguished according to the device identifiers of the other bluetooth Mesh devices, so that repeated comparison of the performance parameters is avoided, and the bluetooth Mesh device to which each performance parameter belongs is conveniently acquired.
In addition, the acquisition of the device identifiers of other bluetooth Mesh devices can facilitate the current bluetooth Mesh device to know how many bluetooth Mesh devices exist in the radio frequency range.
The method for determining a relay node provided in the embodiment of the present application, after taking itself as the relay node, may further include:
and transmitting the equipment information of the relay node to the terminal.
In the application, after the current bluetooth Mesh device is used as the relay node, the device information of the relay node may be sent to the terminal, where the device information of the current bluetooth Mesh device is sent to the terminal after the current bluetooth Mesh device determines that the current bluetooth Mesh device is used as the relay node, so that a user may obtain, through the terminal, which bluetooth Mesh device is currently used as the relay node.
An embodiment of the present application further provides a relay node determining apparatus, which is applied to a current bluetooth Mesh device, and referring to fig. 2, it shows a schematic structural diagram of the relay node determining apparatus provided in the embodiment of the present application, and the relay node determining apparatus may include:
the first obtaining module 21 is configured to obtain performance parameters of other bluetooth Mesh devices in a radio frequency range;
the comparison module 22 is used for comparing the performance parameters of the bluetooth Mesh device with the performance parameters of other bluetooth Mesh devices;
a closing module 23, configured to close a relay function of the bluetooth Mesh device if it is determined that the performance parameter of the bluetooth Mesh device is inferior to the performance parameter of at least one other bluetooth Mesh device in the other bluetooth Mesh devices;
and the maintaining module 24 is configured to, if it is determined that the performance parameter of the maintaining module is better than that of any one of the other bluetooth Mesh devices, use the maintaining module as a relay node and maintain the relay function of the maintaining module.
The relay node determination apparatus provided in the embodiment of the present application may further include:
and the broadcasting module is used for broadcasting the performance parameters of the broadcasting module.
In an apparatus for determining a relay node provided in an embodiment of the present application, the first obtaining module 21 may include:
and the acquisition unit is used for acquiring the performance parameters of other Bluetooth Mesh devices by monitoring the broadcast of other Bluetooth Mesh devices.
According to the relay node determination device provided by the embodiment of the application, the performance parameters can include a power consumption mode, radio frequency transmission power, signal strength, receiving sensitivity and scanning duty ratio.
The relay node determination apparatus provided in the embodiment of the present application may further include:
the second acquisition module is used for acquiring the device identification of other Bluetooth Mesh devices in the radio frequency range when acquiring the performance parameters of other Bluetooth Mesh devices in the radio frequency range;
and the distinguishing module is used for distinguishing the performance parameters of other Bluetooth Mesh devices according to the device identifications of the other Bluetooth Mesh devices.
The relay node determination apparatus provided in the embodiment of the present application may further include:
and the sending module is used for sending the equipment information of the relay node to the terminal after the terminal is used as the relay node.
An embodiment of the present application further provides a relay node determining device, see fig. 3, which shows a schematic structural diagram of a relay node determining device provided in an embodiment of the present application, and the relay node determining device may include:
a memory 31 for storing a computer program;
the processor 32, when executing the computer program stored in the memory 31, may implement the following steps:
acquiring performance parameters of other Bluetooth Mesh devices in a radio frequency range; comparing the performance parameters of the Bluetooth Mesh device with the performance parameters of other Bluetooth Mesh devices; if the performance parameter of the relay is determined to be inferior to the performance parameter of at least one other Bluetooth Mesh device in the other Bluetooth Mesh devices, the relay function of the relay is closed; and if the performance parameter of the self is determined to be superior to that of any one of the other Bluetooth Mesh devices, the self is used as a relay node and the relay function of the self is kept.
An embodiment of the present application further provides a readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the following steps may be implemented:
acquiring performance parameters of other Bluetooth Mesh devices in a radio frequency range; comparing the performance parameters of the Bluetooth Mesh device with the performance parameters of other Bluetooth Mesh devices; if the performance parameter of the relay is determined to be inferior to the performance parameter of at least one other Bluetooth Mesh device in the other Bluetooth Mesh devices, the relay function of the relay is closed; and if the performance parameter of the self is determined to be superior to that of any one of the other Bluetooth Mesh devices, the self is used as a relay node and the relay function of the self is kept.
The readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
For a description of a relevant part in a relay node determining apparatus, a device, and a readable storage medium provided in the embodiments of the present application, reference may be made to a detailed description of a corresponding part in a relay node determining method provided in the embodiments of the present application, and details are not repeated herein.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include elements inherent in the list. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element. In addition, parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of corresponding technical solutions in the prior art, are not described in detail so as to avoid redundant description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A relay node determination method is applied to a current Bluetooth Mesh device and comprises the following steps:
acquiring performance parameters of other Bluetooth Mesh devices in a radio frequency range;
comparing the performance parameters of the Bluetooth Mesh device with the performance parameters of other Bluetooth Mesh devices;
if the performance parameter of the self is determined to be inferior to the performance parameter of at least one other Bluetooth Mesh device in other Bluetooth Mesh devices, closing the relay function of the self;
and if the performance parameter of the self is determined to be superior to that of any one of the other Bluetooth Mesh devices, the self is used as a relay node and the relay function of the self is kept.
2. The relay node determination method according to claim 1, further comprising:
broadcasting the performance parameters of the self.
3. The method for determining a relay node according to claim 2, wherein the obtaining performance parameters of other bluetooth Mesh devices in a radio frequency range includes:
and acquiring the performance parameters of other Bluetooth Mesh devices by monitoring the broadcast of other Bluetooth Mesh devices.
4. The relay node determination method according to any of claims 1 to 3, wherein the performance parameters comprise power consumption mode, radio frequency transmission power, signal strength, reception sensitivity, scan duty cycle.
5. The method for determining a relay node according to claim 4, wherein when acquiring the performance parameters of other bluetooth Mesh devices in a radio frequency range, the method further comprises:
acquiring device identifications of other Bluetooth Mesh devices in the radio frequency range;
and distinguishing the performance parameters of other Bluetooth Mesh devices according to the device identifications of the other Bluetooth Mesh devices.
6. The relay node determination method according to claim 5, further comprising, after taking itself as a relay node:
and sending the equipment information of the relay node to a terminal.
7. A relay node determination device is applied to a current Bluetooth Mesh device, and comprises the following components:
the first acquisition module is used for acquiring performance parameters of other Bluetooth Mesh devices in a radio frequency range;
the comparison module is used for comparing the performance parameters of the comparison module with the performance parameters of other Bluetooth Mesh devices;
the closing module is used for closing the relay function of the self if the performance parameter of the self is determined to be inferior to the performance parameter of at least one other Bluetooth Mesh device in other Bluetooth Mesh devices;
and the maintaining module is used for taking the self as a relay node and maintaining the self relay function if the performance parameter of the self is determined to be superior to the performance parameter of any one of the other Bluetooth Mesh devices.
8. The relay node determination apparatus according to claim 7, further comprising:
and the broadcasting module is used for broadcasting the performance parameters of the broadcasting module.
9. A relay node determination device, characterized by comprising:
a memory for storing a computer program;
a processor for implementing the steps of the relay node determination method according to any of claims 1 to 6 when executing the computer program.
10. A readable storage medium, characterized in that a computer program is stored therein, which computer program, when being executed by a processor, realizes the steps of the relay node determination method according to any one of claims 1 to 6.
CN202110929339.XA 2021-08-13 2021-08-13 Relay node determining method, device, equipment and readable storage medium Active CN113676980B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110929339.XA CN113676980B (en) 2021-08-13 2021-08-13 Relay node determining method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110929339.XA CN113676980B (en) 2021-08-13 2021-08-13 Relay node determining method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113676980A true CN113676980A (en) 2021-11-19
CN113676980B CN113676980B (en) 2024-05-03

Family

ID=78542939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110929339.XA Active CN113676980B (en) 2021-08-13 2021-08-13 Relay node determining method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113676980B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2211575A2 (en) * 2006-09-15 2010-07-28 Itron, Inc. Traffic load control in a mesh network
CN103684533A (en) * 2012-09-17 2014-03-26 深圳市云通时代科技开发有限公司 Bluetooth communication distance adjustment method and bluetooth relay gateway
US20170134227A1 (en) * 2015-11-11 2017-05-11 Lg Electronics Inc. Method and apparatus for transmitting and receiving data in mesh network using bluetooth
US20170295455A1 (en) * 2016-04-11 2017-10-12 Lg Electronics Inc. Method and apparatus for transmitting and receiving data in mesh network using bluetooth
US20180176851A1 (en) * 2015-04-30 2018-06-21 Lg Electronics Inc. Method and device for transmitting/receiving data in mesh network using bluetooth
CN112055343A (en) * 2020-08-21 2020-12-08 北京小米移动软件有限公司 Bluetooth Mesh network flooding method, device and storage medium
CN112740729A (en) * 2018-09-18 2021-04-30 瑞典爱立信有限公司 Apparatus and method for autonomously configuring relay node apparatus in mesh network
CN113179538A (en) * 2021-05-20 2021-07-27 南京矽力微电子技术有限公司 Data forwarding method and device of Bluetooth Mesh network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2211575A2 (en) * 2006-09-15 2010-07-28 Itron, Inc. Traffic load control in a mesh network
CN103684533A (en) * 2012-09-17 2014-03-26 深圳市云通时代科技开发有限公司 Bluetooth communication distance adjustment method and bluetooth relay gateway
US20180176851A1 (en) * 2015-04-30 2018-06-21 Lg Electronics Inc. Method and device for transmitting/receiving data in mesh network using bluetooth
US20170134227A1 (en) * 2015-11-11 2017-05-11 Lg Electronics Inc. Method and apparatus for transmitting and receiving data in mesh network using bluetooth
US20170295455A1 (en) * 2016-04-11 2017-10-12 Lg Electronics Inc. Method and apparatus for transmitting and receiving data in mesh network using bluetooth
CN112740729A (en) * 2018-09-18 2021-04-30 瑞典爱立信有限公司 Apparatus and method for autonomously configuring relay node apparatus in mesh network
CN112055343A (en) * 2020-08-21 2020-12-08 北京小米移动软件有限公司 Bluetooth Mesh network flooding method, device and storage medium
CN113179538A (en) * 2021-05-20 2021-07-27 南京矽力微电子技术有限公司 Data forwarding method and device of Bluetooth Mesh network

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
MARCO RENO等: "Relay Node Selection in Bluetooth Mesh Networks", 《2020 IEEE 20TH MEDITERRANEAN ELECTROTECHNICAL CONFERENCE ( MELECON)》, 15 July 2020 (2020-07-15) *
杨明霞;王万良;马晨明;: "一种基于反向CDS树的异构WSNs拓扑构建方法", 传感技术学报, no. 02, 15 February 2016 (2016-02-15) *
王艳;潘琛;: "WSANs中基于生物免疫机制的动态数据汇集算法研究", 信息网络安全, no. 06, 10 June 2018 (2018-06-10) *

Also Published As

Publication number Publication date
CN113676980B (en) 2024-05-03

Similar Documents

Publication Publication Date Title
CN110430587B (en) Rapid networking method, internet of things terminal and computer readable storage medium
JP5249383B2 (en) Frequency channel allocation method using efficient spectrum detection in multiple FA systems
KR101602899B1 (en) Network entry and device discovery for cognitive radio networks
JP6096106B2 (en) Method and apparatus for channel scanning to improve acquisition probability and power consumption
JP5763272B2 (en) Method and apparatus for providing flexibility in peer discovery distance and update frequency
JP6193394B2 (en) Selective scanning system and method for ad hoc networks
JP4961989B2 (en) Wireless communication apparatus, wireless communication system, wireless communication method, and program
JP5587496B2 (en) Method and apparatus for preemptive backoff for media access in a wireless peer-to-peer network
CN108616968B (en) Method and apparatus for transmitting frame
JP2014533022A (en) System and method for fast initial network link setup
CN103259618B (en) Assess the method for radio transmission channel quality and the residential gateway using this method
US8812676B2 (en) Methods and apparatus to select and to reselect a resource for peer discovery in peer-to-peer networks
US10039052B2 (en) Anchor assisted communication channel hopping
US20160338086A1 (en) Anchor assisted communication channel hopping
CN111246571B (en) Idle channel searching method and device
KR20140116917A (en) Methods and apparatus for generating and/or using a signal suppression utility metric
US9998930B2 (en) Anchor assisted communication channel hopping
CN106211808B (en) Communication method, equipment and system for requesting relay service
US9148791B2 (en) Method and apparatus for spectrum sensing
JP2007060625A (en) Communication mode under electronic range mode noise environment
CN113676980A (en) Relay node determination method, device, equipment and readable storage medium
CN109041022B (en) Network management method, Bluetooth module, medium and computer
EP3295573A2 (en) Anchor assisted communication channel hopping
JP2013258625A (en) Radio access point device and radio communication control method
CN108684049B (en) Parameter configuration method, device, equipment and storage medium of distributed WiFi network

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
GR01 Patent grant
GR01 Patent grant