CN113676980B - Relay node determining method, device, equipment and readable storage medium - Google Patents

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

Info

Publication number
CN113676980B
CN113676980B CN202110929339.XA CN202110929339A CN113676980B CN 113676980 B CN113676980 B CN 113676980B CN 202110929339 A CN202110929339 A CN 202110929339A CN 113676980 B CN113676980 B CN 113676980B
Authority
CN
China
Prior art keywords
bluetooth mesh
performance parameters
relay node
radio frequency
self
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.)
Active
Application number
CN202110929339.XA
Other languages
Chinese (zh)
Other versions
CN113676980A (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

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 relay node determining method, a device, equipment and a readable storage medium, 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 parameters of the self-relay function are inferior to those of at least one other Bluetooth Mesh device in other Bluetooth Mesh devices, the self-relay function is closed; and if the performance parameters of the self-service relay node are superior to those of any Bluetooth Mesh device in other Bluetooth Mesh devices, the self-service relay node is used as the relay node. According to the technical scheme disclosed by the application, the Bluetooth Mesh equipment with the optimal performance parameter is determined as the relay node in the radio frequency range through the comparison of the performance parameters of all the Bluetooth Mesh equipment in the radio frequency range, so that the generation of redundant information is reduced, and the congestion of the Bluetooth Mesh network is avoided.

Description

Relay node determining method, device, equipment and readable storage medium
Technical Field
The present application relates to the field of bluetooth Mesh technology, 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 message to traverse the entire network.
At present, all bluetooth Mesh devices in a bluetooth Mesh network default to open a relay function, so after one bluetooth Mesh device sends a message, all other bluetooth Mesh devices relay and forward, and the message can cause the generation of redundant messages, thereby causing congestion of the bluetooth Mesh network, even causing network failure, and the more bluetooth Mesh devices in the bluetooth Mesh network, the more serious the congestion.
In summary, how to reduce the generation of redundant messages in the bluetooth Mesh network is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
In view of the above, the present application is to provide a method, a device 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.
In order to achieve the above object, the present application provides the following technical solutions:
The relay node determining 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 parameters of the self-relay function are determined to be inferior to the performance parameters of at least one other Bluetooth Mesh device in other Bluetooth Mesh devices, the self-relay function is closed;
And if the performance parameters of the self are superior to those of any Bluetooth Mesh device in other Bluetooth Mesh devices, the self is used as a relay node, and the self relay function is maintained.
Preferably, the method further comprises:
Broadcasting the own performance parameters.
Preferably, acquiring performance parameters of other bluetooth Mesh devices in the radio frequency range includes:
and acquiring performance parameters of other Bluetooth Mesh devices by monitoring the broadcast of the other Bluetooth Mesh devices.
Preferably, the performance parameters include power consumption mode, radio frequency transmit power, signal strength, receive sensitivity, and scan duty cycle.
Preferably, when acquiring the performance parameters of other bluetooth Mesh devices in the radio frequency range, the method further includes:
acquiring device identifiers 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 using itself as a relay node, the method further comprises:
And sending the equipment information of the relay node to a terminal.
A relay node determining apparatus applied to a current bluetooth Mesh device, comprising:
the first acquisition module is used for acquiring performance parameters of other Bluetooth Mesh devices in the 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 if the performance parameter of the self-body 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 self performance parameter is better than the performance parameter of any Bluetooth Mesh device in other Bluetooth Mesh devices.
Preferably, the method further comprises:
and the broadcasting module is used for broadcasting the performance parameters of the broadcasting module.
A relay node determination apparatus comprising:
a memory for storing a computer program;
a processor for implementing the steps of the relay node determination method according to any one of the preceding claims 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 of the preceding claims.
The application provides a relay node determining method, a device, equipment and a readable storage medium, 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 parameters of the self-relay function are determined to be inferior to the performance parameters of at least one other Bluetooth Mesh device in other Bluetooth Mesh devices, the self-relay function is closed; if the performance parameters of the self are better than those of any Bluetooth Mesh device in other Bluetooth Mesh devices, the self is used as a relay node, and the self relay function is maintained.
According to the technical scheme disclosed by the application, the performance parameters of other Bluetooth Mesh devices in the radio frequency range are obtained, the performance parameters of the current Bluetooth Mesh device are compared with the obtained performance parameters of other Bluetooth Mesh devices, if the performance parameters of the current Bluetooth Mesh device are determined to be 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 relatively 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 determined to be 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 determined to be optimal, at the moment, the current Bluetooth Mesh device is used as a relay node, and the relay function of the current Bluetooth Mesh device is maintained, so that only one Bluetooth Mesh device with the optimal performance parameters is determined in the radio frequency range as the relay node, the performance of the relay node in the Bluetooth Mesh network is improved, the reliability of message forwarding is improved, the number of the relay nodes is reduced, the generation of redundant messages is reduced, the congestion of the Bluetooth Mesh network is avoided, and the maximum number of available Bluetooth Mesh devices of the Bluetooth Mesh network is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for determining a relay node according to an embodiment of the present application;
Fig. 2 is a schematic structural diagram of a relay node determining device 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 bluetooth Mesh devices on the market default to open a relay function, that is, all bluetooth Mesh devices have a message forwarding function, so after each bluetooth Mesh device receives a message, the message is forwarded once, and the message will result in the generation of redundant messages, and the more bluetooth Mesh devices contained in the bluetooth Mesh network, the more the amount of redundant messages, the congestion of the bluetooth Mesh network will be caused, even the bluetooth Mesh devices will not be enabled, and the normal use of the bluetooth Mesh network will be affected. In addition, the generation of the redundant message may also cause the limited number of bluetooth Mesh devices that can be maximally accessed by 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 information in a Bluetooth Mesh network, so as to avoid congestion of the Bluetooth Mesh network, and facilitate the improvement of the maximum number of the Bluetooth Mesh devices which can be received by the Bluetooth Mesh network.
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 1, which is a flowchart illustrating a method for determining a relay node according to an embodiment of the present application, the method for determining a relay node according to an embodiment of the present application is applied to a current bluetooth Mesh device, and may include:
S11: and acquiring performance parameters of other Bluetooth Mesh devices in the radio frequency range.
In the Bluetooth Mesh network, the current Bluetooth Mesh device can acquire the performance parameters of all other Bluetooth Mesh devices in the radio frequency range by scanning and other modes so as to determine one Bluetooth Mesh device with the optimal performance parameters from the current Bluetooth Mesh device. The radio frequency range mentioned herein refers to a distance, that is, a physical distance range that can be reached by a radio frequency signal transmitted by the bluetooth Mesh device. In addition, the current Bluetooth Mesh device can sequentially acquire the performance parameters of other Bluetooth Mesh devices, so that the influence on the operation of the current Bluetooth Mesh device caused by acquiring a large number of performance parameters at the same time is avoided. Of course, the current bluetooth Mesh device may also simultaneously acquire performance parameters of other bluetooth Mesh devices, so as to simultaneously acquire and compare the performance parameters, thereby improving 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 body to determine the relay node.
S12: and comparing the performance parameters 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 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: if the performance parameters of the self-relay function are determined to be inferior to the performance parameters of at least one other Bluetooth Mesh device in other Bluetooth Mesh devices, the self-relay function is closed.
On the basis of step S12, if the current bluetooth Mesh device determines that the performance parameter of the current bluetooth Mesh device is inferior to that of at least one bluetooth Mesh device in all other bluetooth Mesh devices, the current bluetooth Mesh device is relatively poor in performance, that is, the current bluetooth Mesh device has a bluetooth Mesh device with better performance than the current bluetooth Mesh device in the radio frequency range, so that the current bluetooth Mesh device turns off its own relay function and does not serve as a relay node any more, that is, the received message is not forwarded any more.
S14: if the performance parameters of the self are better than those of any Bluetooth Mesh device in other Bluetooth Mesh devices, the self is used as a relay node, and the self relay function is maintained.
On the basis of step S12, if the current bluetooth Mesh device determines that the performance parameter of the current bluetooth Mesh device 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 in the radio frequency range of the current bluetooth Mesh device, that is, it indicates that there is no bluetooth Mesh device with better performance than the current bluetooth Mesh device in the radio frequency range, so that the current bluetooth Mesh device takes the current bluetooth Mesh device as a relay node, and continues to start its relay function, that is, maintains its relay function, so as to forward the received message.
According to the method, only one Bluetooth Mesh device can be used as a relay node in a radio frequency range, so that message forwarding is reduced, generation of redundant messages is reduced, congestion of a Bluetooth Mesh network is avoided, the Bluetooth Mesh network can be used normally, the number of Bluetooth Mesh devices which can be accessed to the Bluetooth Mesh network at maximum is conveniently increased, and the optimal one Bluetooth Mesh device can be used as the relay node, so that performance of the relay node is conveniently improved, and operation performance of the Bluetooth Mesh network is conveniently improved.
According to the technical scheme disclosed by the application, the performance parameters of other Bluetooth Mesh devices in the radio frequency range are obtained, the performance parameters of the current Bluetooth Mesh device are compared with the obtained performance parameters of other Bluetooth Mesh devices, if the performance parameters of the current Bluetooth Mesh device are determined to be 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 relatively 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 determined to be 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 determined to be optimal, at the moment, the current Bluetooth Mesh device is used as a relay node, and the relay function of the current Bluetooth Mesh device is maintained, so that only one Bluetooth Mesh device with the optimal performance parameters is determined in the radio frequency range as the relay node, the performance of the relay node in the Bluetooth Mesh network is improved, the reliability of message forwarding is improved, the number of the relay nodes is reduced, the generation of redundant messages is reduced, the congestion of the Bluetooth Mesh network is avoided, and the maximum number of available Bluetooth Mesh devices of the Bluetooth Mesh network is improved.
The method for determining the relay node provided by the embodiment of the application can further comprise the following steps:
The performance parameters of itself are broadcast.
In the application, the current Bluetooth Mesh device can broadcast the performance parameters of the current Bluetooth Mesh device, namely, 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 own performance parameters, where the broadcast period duration may be specifically set according to the requirement.
The method for determining the relay node provided by the embodiment of the application for obtaining the performance parameters of other Bluetooth Mesh devices in the radio frequency range can comprise the following steps:
and acquiring performance parameters of other Bluetooth Mesh devices by monitoring the broadcast of the other Bluetooth Mesh devices.
In the application, when the current Bluetooth Mesh device acquires the performance parameters of other Bluetooth Mesh devices in the radio frequency range, the broadcasting of other Bluetooth Mesh devices can be monitored, so that the performance parameters of all other Bluetooth Mesh devices can be acquired by monitoring the broadcasting of other Bluetooth Mesh devices, and the performance parameters of all other Bluetooth Mesh devices can be acquired comprehensively and conveniently.
The performance parameters of the relay node determining method provided by the embodiment of the application can comprise a power consumption mode, radio frequency transmitting power, signal strength, receiving sensitivity and scanning duty ratio.
In the present application, the performance parameters may include a power consumption mode, a radio frequency transmission power, a signal strength, a receiving sensitivity, and a scanning duty ratio, and the priorities of the power consumption mode, the radio frequency transmission power, the signal strength, the receiving sensitivity, and the scanning duty ratio are sequentially reduced, that is, when the performance parameters are compared, the comparison is performed according to the order from high priority to low priority.
In addition, in the power consumption mode, the normal power consumption is better than the low power consumption, and the low power consumption is better than the ultra-low power consumption; in the radio frequency transmission power, the radio frequency transmission power is higher than the radio frequency transmission power which is lower; in the signal intensity, the signal intensity is higher than the signal intensity is lower; among the reception sensitivities, the reception sensitivity is high better than the reception sensitivity is low; among the scanning duty cycles, the scanning duty cycle ratio is higher than the scanning duty cycle ratio is lower.
That is, when performance parameters are compared, the comparison can be performed according to the priority and the difference between the parameters, so that the bluetooth Mesh device with the highest performance can be selected as the relay node, and the reliability, the stability and the message forwarding performance of the relay node can be improved.
The method for determining the relay node provided by the embodiment of the application can further comprise the following steps when the performance parameters of other Bluetooth Mesh devices in the radio frequency range are acquired:
acquiring device identifiers 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, the current Bluetooth Mesh device can acquire the performance parameters of other Bluetooth Mesh devices in the radio frequency range and acquire the device identifiers of the other Bluetooth Mesh devices in the radio frequency range, namely the current Bluetooth Mesh device can receive the performance parameters and the device identifiers of the other Bluetooth Mesh devices together, wherein the device identifiers can be specifically address information, names, numbers and the like of the Bluetooth Mesh devices.
After the performance parameters and the device identifications of other Bluetooth Mesh devices are received, the performance parameters of the other Bluetooth Mesh devices can be distinguished according to the device identifications of the other Bluetooth Mesh devices, so that repeated comparison of the performance parameters is avoided, and the acquisition of which Bluetooth Mesh device each performance parameter belongs to is facilitated.
In addition, the device identification of other Bluetooth Mesh devices can be acquired so that the current Bluetooth Mesh device can know how many Bluetooth Mesh devices exist in the radio frequency range.
The method for determining the relay node provided by the embodiment of the application can further comprise the following steps after taking the relay node as the relay node:
And sending 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 current Bluetooth Mesh device can send the device information of the relay node to the terminal, namely the current Bluetooth Mesh device can send the device information of the current Bluetooth Mesh device to the terminal after determining the current Bluetooth Mesh device to be used as the relay node, so that a user can acquire which Bluetooth Mesh device is used as the relay node through the terminal.
The embodiment of the application also provides a relay node determining device, which is applied to the current Bluetooth Mesh equipment, and referring to fig. 2, a schematic structural diagram of the relay node determining device provided by the embodiment of the application is shown, and the relay node determining device may include:
a first obtaining module 21, configured to obtain performance parameters of other bluetooth Mesh devices in the radio frequency range;
The comparison module 22 is configured to compare the performance parameter of the device with performance parameters of other bluetooth Mesh devices;
a closing module 23, configured to close the relay function if it is determined that the performance parameter of the relay function is inferior to the performance parameter of at least one other bluetooth Mesh device in other bluetooth Mesh devices;
and the maintaining module 24 is configured to take the self as a relay node and maintain the self relay function if it is determined that the performance parameter of the self is better than the performance parameter of any one of the other bluetooth Mesh devices.
The relay node determining device provided by the embodiment of the application can further comprise:
And the broadcasting module is used for broadcasting the performance parameters of the broadcasting module.
The relay node determining device provided by the 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 the other Bluetooth Mesh devices.
The performance parameters of the relay node determining device provided by the embodiment of the application can comprise a power consumption mode, radio frequency transmitting power, signal strength, receiving sensitivity and scanning duty ratio.
The relay node determining device provided by the embodiment of the application can further comprise:
The second acquisition module is used for acquiring the device identifiers of other Bluetooth Mesh devices in the radio frequency range when acquiring the performance parameters of the 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 identifiers of the other Bluetooth Mesh devices.
The relay node determining device provided by the embodiment of the application can further comprise:
and the sending module is used for sending the equipment information of the relay node to the terminal after taking the sending module as the relay node.
The embodiment of the application also provides a relay node determining device, referring to fig. 3, which shows a schematic structural diagram of the relay node determining device provided by the embodiment of the application, and 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 parameters of the self-relay function are determined to be inferior to the performance parameters of at least one other Bluetooth Mesh device in other Bluetooth Mesh devices, the self-relay function is closed; if the performance parameters of the self are better than those of any Bluetooth Mesh device in other Bluetooth Mesh devices, the self is used as a relay node, and the self relay function is maintained.
The embodiment of the application also provides a readable storage medium, wherein the readable storage medium stores a computer program, and the computer program can realize the following steps when being executed by a processor:
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 parameters of the self-relay function are determined to be inferior to the performance parameters of at least one other Bluetooth Mesh device in other Bluetooth Mesh devices, the self-relay function is closed; if the performance parameters of the self are better than those of any Bluetooth Mesh device in other Bluetooth Mesh devices, the self is used as a relay node, and the self relay function is maintained.
The readable storage medium may include: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The description of the relevant parts in the relay node determining device, the device and the readable storage medium provided by the embodiment of the application can refer to the detailed description of the corresponding parts in the relay node determining method provided by the embodiment of the application, and are not repeated here.
It is noted that relational terms such as first and second, and the like are 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. Moreover, 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 is inherent to. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. In addition, the parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of the corresponding technical solutions in the prior art, are not described in detail, so that redundant descriptions are avoided.
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 (7)

1. The relay node determining method is characterized by being applied to the current Bluetooth Mesh equipment and comprising the following steps of:
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 parameters of the self-relay function are determined to be inferior to the performance parameters of at least one other Bluetooth Mesh device in other Bluetooth Mesh devices, the self-relay function is closed;
If the performance parameters of the self are determined to be superior to those of any Bluetooth Mesh device in other Bluetooth Mesh devices, the self is used as a relay node, and the self relay function is maintained;
Wherein the method further comprises broadcasting the own performance parameters;
The performance parameters comprise a power consumption mode, radio frequency transmitting power, signal strength, receiving sensitivity and scanning duty ratio; in the process of comparing performance parameters, comparing according to the order of priority from high to low; the power consumption mode, the radio frequency transmitting power, the signal strength, the receiving sensitivity and the priority of the scanning duty ratio are sequentially reduced.
2. The method for determining a relay node according to claim 1, wherein obtaining performance parameters of other bluetooth Mesh devices in a radio frequency range includes:
and acquiring performance parameters of other Bluetooth Mesh devices by monitoring the broadcast of the other Bluetooth Mesh devices.
3. The method for determining a relay node according to claim 1, further comprising, when acquiring performance parameters of other bluetooth Mesh devices in a radio frequency range:
acquiring device identifiers 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.
4. The relay node determination method according to claim 3, further comprising, after having made itself a relay node:
And sending the equipment information of the relay node to a terminal.
5. A relay node determining apparatus, which is applied to a current bluetooth Mesh device, comprising:
the first acquisition module is used for acquiring performance parameters of other Bluetooth Mesh devices in the 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 if the performance parameter of the self-body is determined to be inferior to the performance parameter of at least one other Bluetooth Mesh device in other Bluetooth Mesh devices;
The maintenance module is used for taking the self as a relay node and maintaining the self relay function if the self performance parameter is better than the performance parameter of any Bluetooth Mesh device in other Bluetooth Mesh devices;
wherein, the device still includes:
the broadcasting module is used for broadcasting the performance parameters of the broadcasting module;
The performance parameters comprise a power consumption mode, radio frequency transmitting power, signal strength, receiving sensitivity and scanning duty ratio; in the process of comparing performance parameters, comparing according to the order of priority from high to low; the power consumption mode, the radio frequency transmitting power, the signal strength, the receiving sensitivity and the priority of the scanning duty ratio are sequentially reduced.
6. A relay node determination apparatus, characterized by comprising:
a memory for storing a computer program;
Processor for implementing the steps of the relay node determination method according to any of claims 1 to 4 when executing said computer program.
7. A readable storage medium, characterized in that the readable storage medium has stored therein a computer program which, when executed by a processor, implements the steps of the relay node determination method according to any of claims 1 to 4.
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 CN113676980A (en) 2021-11-19
CN113676980B true 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 (5)

* 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
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016175471A1 (en) * 2015-04-30 2016-11-03 엘지전자(주) 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
US10075831B2 (en) * 2016-04-11 2018-09-11 Lg Electronics Inc. Method and apparatus for transmitting and receiving data in mesh network using Bluetooth

Patent Citations (5)

* 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
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
Relay Node Selection in Bluetooth Mesh Networks;Marco Reno等;《2020 IEEE 20th Mediterranean Electrotechnical Conference ( MELECON)》;20200715;全文 *
WSANs中基于生物免疫机制的动态数据汇集算法研究;王艳;潘琛;;信息网络安全;20180610(06);全文 *
一种基于反向CDS树的异构WSNs拓扑构建方法;杨明霞;王万良;马晨明;;传感技术学报;20160215(02);全文 *

Also Published As

Publication number Publication date
CN113676980A (en) 2021-11-19

Similar Documents

Publication Publication Date Title
CN110430587B (en) Rapid networking method, internet of things terminal and computer readable storage medium
KR101602899B1 (en) Network entry and device discovery for cognitive radio networks
US8275314B1 (en) Bluetooth scan modes
Koubâa et al. IEEE 802.15. 4 for wireless sensor networks: a technical overview
US7133398B2 (en) System and method for asynchronous communications employing direct and indirect access protocols
US8155099B2 (en) Method of operating an event-driven, delay-critical wireless sensor network
CN108616968B (en) Method and apparatus for transmitting frame
US11051248B2 (en) Radio-frequency wakeup for vehicle systems
EP2605552A2 (en) Method and apparatus for managing device discovery in wireless system
TWI449361B (en) Adaptive radio repeaters
US9037181B2 (en) Multi-tone wakeup mechanism for a wireless network
CN110557184B (en) Communication method and device based on relay equipment and communication method and device between terminal and base station
CN111161522B (en) Method for processing remote control data, storage medium, computer device and remote control system
CN111314185B (en) Ad hoc network method, ad hoc network response method, controlled equipment and gateway
CN109121096B (en) Method and apparatus for determining broadcast nodes in a mesh network
CN112104528A (en) Communication method, system, device and storage medium for detecting heartbeat
US8488584B2 (en) Method and apparatus for efficient data broadcast within beaconing network
US8126005B2 (en) Beacon transmission method and beacon transmission apparatus
CN113676980B (en) Relay node determining method, device, equipment and readable storage medium
US8532132B2 (en) Communication method in a home-automation installation
US8010091B2 (en) System, method and apparatus employing tone and/or tone patterns to indicate the message type in wireless sensor networks
WO2014007604A1 (en) System and method for pre-emptive address conflict resolution in automatic device address assignments
JP2007060625A (en) Communication mode under electronic range mode noise environment
US9024728B2 (en) Remote activating device
CN105657734A (en) Wireless intelligent roaming method, system 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
GR01 Patent grant
GR01 Patent grant