CN113660646A - Communication method, gateway device, and computer-readable storage medium - Google Patents

Communication method, gateway device, and computer-readable storage medium Download PDF

Info

Publication number
CN113660646A
CN113660646A CN202110706728.6A CN202110706728A CN113660646A CN 113660646 A CN113660646 A CN 113660646A CN 202110706728 A CN202110706728 A CN 202110706728A CN 113660646 A CN113660646 A CN 113660646A
Authority
CN
China
Prior art keywords
relay
message
equipment
bluetooth
reply message
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
CN202110706728.6A
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 CN202110706728.6A priority Critical patent/CN113660646A/en
Publication of CN113660646A publication Critical patent/CN113660646A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • 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
    • 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

Abstract

The application discloses a communication method, a gateway device and a computer readable storage medium, wherein the communication method comprises the following steps: receiving a broadcast message which is forwarded by at least one relay device in a local area network and is sent by a Bluetooth device; analyzing the broadcast message; if the broadcast message is a message to be replied, determining a relay device corresponding to the Bluetooth device in the local area network; and sending the reply message to the corresponding relay equipment so as to forward the reply message to the Bluetooth equipment by using the corresponding relay equipment. The communication method can reduce the power consumption of the network.

Description

Communication method, gateway device, and computer-readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a communication method, a gateway device, and a computer-readable storage medium.
Background
A bluetooth Mesh network is a connectivity technique that can be used to build many-to-many networks containing a large number of bluetooth devices or nodes in which a message sent by one node can be passed between nodes until it reaches its destination. The inventor of the application finds that the existing Bluetooth Mesh network generally has the problem of large power consumption.
Disclosure of Invention
The technical problem mainly solved by the present application is to provide a communication method, a gateway device, and a computer-readable storage medium, which can reduce power consumption of a network.
In order to solve the technical problem, the application adopts a technical scheme that: there is provided a method of communication, the method comprising: receiving a broadcast message which is forwarded by at least one relay device in a local area network and is sent by a Bluetooth device; analyzing the broadcast message; if the broadcast message is a message to be replied, determining a relay device corresponding to the Bluetooth device in the local area network; and sending a reply message to the corresponding relay equipment so as to forward the reply message to the Bluetooth equipment by utilizing the corresponding relay equipment.
In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided a gateway device comprising a processor, a memory and a communication circuit, the processor being coupled to the memory and the communication circuit respectively, the memory having stored therein program data, the processor implementing the steps of the above method by executing the program data in the memory.
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 having stored thereon a computer program executable by a processor to perform the steps of the above method.
The beneficial effect of this application is: in the communication method of the application, the connection relationship between the relay device and the bluetooth device is specified by the gateway device, so that the relay device and the bluetooth device do not need to maintain the connection relationship all the time, the power consumption of the local area network can be reduced, and the number of the bluetooth devices establishing the connection relationship with the relay device can be unlimited under the specification of the gateway device.
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 flow chart diagram of an embodiment of a communication method of the present application;
FIG. 2 is an architecture diagram of a prior art Bluetooth Mesh network;
fig. 3 is a frame format of a broadcast message transmitted by a bluetooth device in the present application;
FIG. 4 is a schematic structural diagram of an embodiment of a gateway device according to the present application;
fig. 5 is a schematic structural diagram of another embodiment of a gateway device according to the present application;
FIG. 6 is a schematic structural diagram of an embodiment of a computer-readable storage medium according to the present application.
Detailed Description
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 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.
It should be noted that, the communication method of the present application is executed by a gateway device in a bluetooth Mesh network, and meanwhile, any one of the relay device and the bluetooth device needs to join a local area network through the gateway device, where the local area network may specifically be a piconet, and the piconet is a network topology established between the bluetooth devices.
The Bluetooth device related to this application is specifically Bluetooth Low Energy (BLE) device.
Referring to fig. 1, fig. 1 is a schematic flow chart diagram of an embodiment of a communication method of the present application, where the method includes:
s110: and receiving the broadcast message which is forwarded by at least one relay device in the local area network and is sent by the Bluetooth device.
Specifically, after monitoring the broadcast message sent by the bluetooth device, the relay device in the local area network sends the monitored broadcast message to the gateway device. Generally speaking, in view of the characteristics of the bluetooth Mesh network, all relay devices in the local area network can listen to the broadcast message sent by the bluetooth device.
The relay device may be some devices that are usually powered on in the local area network.
In an application scenario, after receiving a broadcast message, a relay device determines whether a bluetooth low energy device sending the broadcast message is a device in a local area network (which may be determined according to an MAC address of the bluetooth device), if not, the relay device directly ignores the broadcast message, if so, the relay device forwards the broadcast message to a gateway device, and after receiving the broadcast message, the gateway device performs step S120.
In another application scenario, after receiving the broadcast message, the relay device directly forwards the broadcast message to the gateway device, that is, the relay device only performs a relay function at this time, and then the gateway device determines whether the bluetooth device sending the broadcast message is a device in the lan, if not, the gateway device directly ignores the broadcast message, and if so, the relay device performs step S120.
S120: the broadcast message is parsed.
Specifically, after parsing the broadcast message, the gateway device obtains the type of the broadcast message, where the type of the broadcast message at least includes a message to be replied and a message that does not need to be replied.
When the broadcast message is a reply-free message, the gateway does not perform any processing, namely for the Bluetooth device, no reply packet is received any more subsequently, so that for the Bluetooth device, the Bluetooth device can sleep immediately after sending the broadcast message, thereby reducing power consumption.
When the broadcast message is a message to be replied, step S130 is executed.
S130: and when the broadcast message is a message to be replied, determining the relay equipment corresponding to the Bluetooth equipment in the local area network.
Specifically, in the multiple relay devices in the local area network, not all the relay devices correspond to the bluetooth device that sends the broadcast message, and therefore when the broadcast message is a message to be replied, the relay device corresponding to the bluetooth device is determined, where one or multiple relay devices corresponding to the bluetooth device may be used.
S140: and sending the reply message to the corresponding relay equipment so as to forward the reply message to the Bluetooth equipment by using the corresponding relay equipment.
Specifically, after determining the relay device corresponding to the bluetooth device, the gateway device only sends the reply message to the corresponding relay device, and then the relay device that receives the reply message forwards the reply message to the bluetooth device.
That is to say, when the gateway device replies, it is not necessary for all the relay devices to forward the reply message, and only the relay device corresponding to the bluetooth device is needed.
As shown in fig. 2, in the existing bluetooth Mesh network, data transmission and reception cannot be performed between bluetooth devices, and power consumption is increased due to overhead (the relay device needs to perform data transmission and reception with the bluetooth devices according to a certain period) in the Mesh protocol; in addition, in an actual bluetooth product, an IOT soc scheme module is often used, which is low in cost and high in integration level, but because the chip resource is limited, one relay device can only support a limited number of bluetooth devices (the bluetooth device can only establish fragnship with the relay device to realize data transceiving), and networking cannot be realized when the maximum connection number of the bluetooth device is exceeded, so that in some scenes, the bluetooth device cannot find the relay device and is continuously offline, and meanwhile, the bluetooth device regularly finds the relay device, which also increases power consumption.
By the method of the embodiment, the connection relationship between the relay device and the bluetooth device is specified by the gateway device, so that the relay device and the bluetooth device do not need to maintain the connection relationship all the time, that is, the relay device and the bluetooth device do not need to receive and transmit data according to a certain period, the power consumption of the local area network can be reduced, and the number of the bluetooth devices establishing the connection relationship with the relay device can be unlimited under the specification of the gateway device.
In an application scenario, the message to be replied includes a real-time reply message (that is, the message to be replied needs to be replied immediately) and a delayed reply message (that is, the message to be replied may be replied after being delayed), and the step S140 of sending the reply message to the corresponding relay device specifically includes: if the broadcast message is a real-time reply message, immediately sending the reply message to the corresponding relay equipment; and if the broadcast message is a delayed reply message, acquiring appointed time carried by the broadcast message, and sending the reply message to the corresponding relay equipment when the appointed time is reached.
Specifically, referring to fig. 3, fig. 3 is a frame format of a broadcast message sent by a bluetooth device according to this embodiment, where a Response type field indicates whether the broadcast message is a reply-free message or a real-time reply message or a delayed reply message in a message to be replied, for example, when data written in the Response type field is 01, the broadcast message is a real-time reply message, when the written data is 02, the broadcast message is a delayed reply message, and when the written data is 03, the broadcast message is a reply-free message; meanwhile, the ReceiveDelay field represents the carried appointed time, wherein the appointed time can be a specific time point, and the time point can be a time point for sending the reply message by the gateway device, or the appointed time can also be a duration, and the duration can be a duration from sending the broadcast message by the bluetooth device to receiving the reply message.
It can be understood that, when the appointed time in the ReceiveDelay is one time, if the broadcast message is a reply-free message or a real-time reply message, the appointed time in the ReceiveDelay is equal to zero, and if the broadcast message is a delayed reply message, the appointed time in the ReceiveDelay is greater than zero.
The gateway equipment analyzes the broadcast message after receiving the broadcast message, immediately sends the reply message to the corresponding relay equipment when reading the Response type field in the broadcast message to represent that the broadcast message is a real-time reply message, acquires the appointed time in the ReceiveDelay field when reading the Response type field in the broadcast message to represent that the broadcast message is a delayed reply message, and then sends the reply message to the corresponding relay equipment after the appointed time is reached.
Different from the application scenario, in another application scenario, after the gateway device resolves that the broadcast message is a delayed reply message and further obtains the appointed time carried by the broadcast message, the gateway device immediately sends the reply message and the appointed time I to the corresponding relay device, and then the relay device sends the reply message to the bluetooth device again when the appointed time is reached.
In the two application scenarios, the appointed time is selected for data transceiving, so that data packet loss can be reduced, and the Bluetooth device can immediately enter a dormant state after sending the broadcast message which is the delay reply message, and then awaken after reaching the appointed time, so that the power consumption of the Bluetooth device can be reduced.
In an application scenario, the step of sending the reply message to the corresponding relay device in step S140 specifically includes: acquiring an appointed channel carried by a broadcast message; and sending the reply message and the appointed channel I to the corresponding relay equipment so as to forward the reply message to the Bluetooth equipment on the appointed channel by using the corresponding relay equipment.
Specifically, with continuing to refer to fig. 3, a ReceiveChannel field in the broadcast message represents an agreed channel, when the gateway device parses the broadcast message, if the broadcast message is a message to be replied, the gateway device acquires the agreed channel in the ReceiveChannel field, then sends the reply message and the agreed channel to the corresponding relay device, and the subsequent relay device sends the reply message to the bluetooth device on the agreed channel, where the agreed channel may be one of channels 37, 38, and 39.
In the application scenario, an appointed channel is selected for data transceiving, and data packet loss can be reduced.
It should be noted that, when the broadcast message does not carry the agreed channel, and when the relay device sends the reply message to the bluetooth device, the reply may be performed on all three channels 37, 38, and 39, or one channel may be arbitrarily selected from among the three channels 37, 38, and 39 for reply.
In an application scenario, the step S130 of determining a relay device corresponding to the bluetooth device in the local area network includes: acquiring the received signal strength of the broadcast message received by at least one relay device in step S110; and searching for the relay equipment with the maximum received signal strength in at least one relay equipment, and determining the relay equipment with the maximum received signal strength as the relay equipment corresponding to the Bluetooth equipment.
Specifically, the relay device corresponding to the maximum received signal strength (rssi) specification of the received broadcast message is closest to the bluetooth device that sent the broadcast message, so that the relay device having the maximum received signal strength of the received broadcast message is determined to be the relay device corresponding to the bluetooth device, and it can be ensured that the subsequent relay device can smoothly and quickly send the reply message to the bluetooth device.
That is, at this time, one relay device corresponding to the bluetooth device is present in step S130.
In another application scenario, in order to save the time for determining the relay device corresponding to the bluetooth device, the step S130 of determining the relay device corresponding to the bluetooth device in the local area network includes: and searching the relay equipment corresponding to the Bluetooth equipment in the local area network in a binding list which is preserved in advance.
Specifically, a binding list is pre-stored in the gateway device, and after receiving the broadcast message in step S110, the relay device corresponding to the bluetooth device that sends the broadcast message is directly searched in the binding list.
In one application scenario, there is only one relay device corresponding to a corresponding bluetooth device in the binding list. That is, at this time, one relay device corresponding to the bluetooth device is present in step S130.
The binding relationship between the relay device and the bluetooth device may be recorded in the binding list by recording the binding relationship between the MAC address and the MAC address, which may be specifically referred to in table 1 below.
Table 1 binding list
Figure BDA0003132215110000071
As can be seen from the above binding list, there is only one relay device corresponding to the corresponding bluetooth device, and for the relay device, there may be one or more bluetooth devices corresponding to it.
In an application scenario, the establishment mode of the binding list comprises the following steps:
(a) when the Bluetooth device joins the local area network, the broadcast message which is forwarded by all the relay devices in the local area network and is sent by the Bluetooth device is received.
(b) And searching for the relay equipment with the maximum received signal strength for receiving the broadcast message in all the relay equipment.
(c) And establishing a binding relationship between the relay equipment with the maximum received signal strength and the Bluetooth equipment, and storing the binding relationship in a binding list.
Specifically, when the gateway device finds a new device, it is determined whether the new device is an unpaired bluetooth device or a relay device that is not networked, if so, the new device is added into the lan, and after the addition is successful, the gateway device notifies all relay devices and MAC addresses of all bluetooth devices to all relay devices.
Meanwhile, if the equipment added into the local area network is Bluetooth equipment, the Bluetooth equipment also can send a broadcast message, the broadcast message can be monitored by all the relay equipment in the local area network, then all the relay equipment can forward the received broadcast message to the gateway equipment, then the gateway equipment searches the relay equipment with the maximum received signal intensity in all the relay equipment, the searched relay equipment is the relay equipment closest to the newly added Bluetooth equipment, and then the binding relationship between the relay equipment and the newly added Bluetooth equipment is established in the binding list.
Considering that the relative position between the relay device and the bluetooth device may change, that is, for the same bluetooth device, the relay device closest to the same bluetooth device may not be the same as the relay device over time, the binding relationship of the binding list also needs to be updated, and therefore in an application scenario, after step S130, the method further includes: in step S110, the relay node searches for the relay device with the highest received signal strength that receives the broadcast message, and then updates the relay device corresponding to the bluetooth device in the binding list to the relay device with the highest received signal strength.
That is, after determining a relay device corresponding to the bluetooth device according to the saved binding list at step S130, the binding list is updated for determining a corresponding relay device next time when the broadcast message is received.
It should be noted that, in other embodiments, if it can be ensured that the relative position between the relay device and the bluetooth device is not changed, the binding list may be updated only when a new bluetooth device joins the lan, and not updated at other times.
Or in other embodiments the binding list may also be updated manually by the user installing a new device, i.e. for a newly networked bluetooth device it is not necessary to send a broadcast message.
It can be understood that, when the gateway device needs to actively send a message to a certain bluetooth device, it also determines a relay device corresponding to the bluetooth device, and then sends the message to the corresponding relay device, so as to forward the message to the bluetooth device by using the corresponding relay device.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an embodiment of a gateway device according to the present application. The gateway device 200 includes a processor 210, a memory 220, and a communication circuit 230, wherein the processor 210 is coupled to the memory 220 and the communication circuit 230, respectively, the memory 220 stores program data, and the processor 210 implements the steps in the communication method according to any of the above embodiments by executing the program data in the memory 220, and the detailed steps may refer to the above embodiments and are not described herein again.
When the gateway device 200 sends the message to the bluetooth device, the relay device corresponding to the bluetooth device is designated to forward the message to the bluetooth device, so that the relay device and the bluetooth device in the network do not need to maintain the connection relationship all the time, the power consumption of the local area network can be reduced, and meanwhile, under the designation of the gateway device, the number of the bluetooth devices establishing the connection relationship with the relay device can be unlimited.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another embodiment of the gateway device according to the present application. The gateway device 300 includes a receiving module 310, a parsing module 320, a determining module 330, and a sending module 340.
The receiving module 310 is configured to receive a broadcast message transmitted by a bluetooth device and forwarded by at least one relay device in a local area network.
The parsing module 320 is connected to the receiving module 310 for parsing the broadcast message.
The determining module 330 is connected to the parsing module 320, and configured to determine a relay device corresponding to the bluetooth device in the local area network when the broadcast message is a message to be replied.
The sending module 340 is connected to the determining module 330, and is configured to send the reply message to the corresponding relay device, so as to forward the reply message to the bluetooth device by using the corresponding relay device.
In an embodiment, the message to be replied includes a real-time reply message and a delayed reply message, when the broadcast message is the real-time reply message, the sending module 340 sends the reply message to the corresponding relay device immediately, when the broadcast message is the delayed reply message, the sending module 340 obtains the appointed time carried by the broadcast message, and when the appointed time arrives, sends the reply message to the corresponding relay device.
In another embodiment, the message to be replied includes a real-time reply message and a delayed reply message, when the broadcast message is the real-time reply message, the sending module 340 immediately sends the reply message to the corresponding relay device, and when the broadcast message is the delayed reply message, the sending module 340 obtains the appointed time carried by the broadcast message, and immediately sends the reply message and the appointed time to the corresponding relay device, so as to forward the reply message to the bluetooth device by using the corresponding relay device when the appointed time arrives.
In another embodiment, the sending module 340 is further configured to obtain an appointed channel carried by the broadcast message; and then, the reply message and the appointed channel I are sent to the corresponding relay equipment, so that the corresponding relay equipment is utilized to forward the reply message to the Bluetooth equipment on the appointed channel.
In another embodiment, the determining module 330 is specifically configured to obtain a received signal strength of the broadcast message received by at least one relay device; and searching for the relay equipment with the maximum received signal strength in at least one relay equipment, and determining the relay equipment with the maximum received signal strength as the relay equipment corresponding to the Bluetooth equipment.
In another embodiment, the determining module 330 specifically searches a binding list saved in advance for a relay device corresponding to the bluetooth device in the local area network.
In another embodiment, the receiving module 310 is further configured to receive, when the bluetooth device joins the local area network, a broadcast message sent by the bluetooth device and forwarded by all relay devices in the local area network; then, the determining module 330 searches for the relay device with the maximum received signal strength for receiving the broadcast message from all the relay devices, establishes a binding relationship between the relay device with the maximum received signal strength and the bluetooth device, and finally stores the binding relationship in the binding list.
In another embodiment, after determining the relay device corresponding to the bluetooth device in the local area network, the determining module 330 is further configured to search for the relay device with the highest received signal strength for receiving the broadcast message from the at least one relay device, and then update the relay device corresponding to the bluetooth device in the binding list to the relay device with the highest received signal strength.
When the gateway device 300 sends the message to the bluetooth device, the relay device corresponding to the bluetooth device is designated to forward the message to the bluetooth device, so that the relay device and the bluetooth device in the network do not need to maintain the connection relationship all the time, the power consumption of the local area network can be reduced, and meanwhile, under the designation of the gateway device, the number of the bluetooth devices establishing the connection relationship with the relay device can be unlimited.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an embodiment of a computer-readable storage medium according to the present application. The computer-readable storage medium 400 stores a computer program 410, the computer program 410 being executable by a processor to implement the steps of any of the methods described above.
The computer-readable storage medium 400 may be a device that can store the computer program 410, 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, or may be a server that stores the computer program 410, and the server may send the stored computer program 410 to another device for operation, or may self-operate the stored computer program 410.
The above description is only for the purpose of illustrating embodiments 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 of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. A method of communication, the method comprising:
receiving a broadcast message which is forwarded by at least one relay device in a local area network and is sent by a Bluetooth device;
analyzing the broadcast message;
if the broadcast message is a message to be replied, determining a relay device corresponding to the Bluetooth device in the local area network;
and sending a reply message to the corresponding relay equipment so as to forward the reply message to the Bluetooth equipment by utilizing the corresponding relay equipment.
2. The method according to claim 1, wherein the message to be replied comprises a real-time reply message and a delayed reply message;
the step of sending the reply message to the corresponding relay device includes:
if the broadcast message is the real-time reply message, immediately sending the reply message to the corresponding relay equipment;
if the broadcast message is the delayed reply message, acquiring appointed time carried by the broadcast message, and sending the reply message to the corresponding relay equipment when the appointed time is reached.
3. The method according to claim 1, wherein the message to be replied comprises a real-time reply message and a delayed reply message;
the step of sending the reply message to the corresponding relay device includes:
if the broadcast message is the real-time reply message, immediately sending the reply message to the corresponding relay equipment;
if the broadcast message is the delayed reply message, acquiring appointed time carried by the broadcast message, immediately sending the reply message and the appointed time to the corresponding relay equipment, and forwarding the reply message to the Bluetooth equipment by using the corresponding relay equipment when the appointed time is reached.
4. The method of claim 1, wherein the step of sending the reply message to the corresponding relay device comprises:
acquiring an appointed channel carried by the broadcast message;
and sending the reply message and the appointed channel to the corresponding relay equipment together so as to forward the reply message to the Bluetooth equipment on the appointed channel by using the corresponding relay equipment.
5. The method of claim 1, wherein the step of determining a relay device within the local area network corresponding to the bluetooth device comprises:
acquiring the received signal strength of the broadcast message received by the at least one relay device;
and searching the relay equipment with the maximum received signal strength in the at least one relay equipment, and determining the relay equipment with the maximum received signal strength as the relay equipment corresponding to the Bluetooth equipment.
6. The method of claim 1, wherein the step of determining a relay device within the local area network corresponding to the bluetooth device comprises:
and searching the relay equipment corresponding to the Bluetooth equipment in the local area network in a binding list which is saved in advance.
7. The method of claim 6, further comprising:
when the Bluetooth device joins the local area network, receiving broadcast messages which are forwarded by all the relay devices in the local area network and are sent by the Bluetooth device;
searching for the relay equipment with the maximum received signal strength for receiving the broadcast message in all the relay equipment;
and establishing a binding relationship between the relay equipment with the maximum received signal strength and the Bluetooth equipment, and storing the binding relationship in the binding list.
8. The method of claim 7, further comprising, after said determining a relay device corresponding to said Bluetooth device within said local area network:
searching for a relay device with the maximum received signal strength for receiving the broadcast message in the at least one relay device;
and updating the relay equipment corresponding to the Bluetooth equipment in the binding list into the relay equipment with the maximum received signal strength.
9. A gateway device, comprising a processor, a memory and a communication circuit, wherein the processor is coupled to the memory and the communication circuit respectively, the memory stores program data, and the processor executes the program data in the memory to realize the steps of the method according to any one of claims 1-8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which is executable by a processor to implement the steps in the method according to any one of claims 1-8.
CN202110706728.6A 2021-06-24 2021-06-24 Communication method, gateway device, and computer-readable storage medium Pending CN113660646A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110706728.6A CN113660646A (en) 2021-06-24 2021-06-24 Communication method, gateway device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110706728.6A CN113660646A (en) 2021-06-24 2021-06-24 Communication method, gateway device, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN113660646A true CN113660646A (en) 2021-11-16

Family

ID=78489033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110706728.6A Pending CN113660646A (en) 2021-06-24 2021-06-24 Communication method, gateway device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN113660646A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007019574A (en) * 2005-07-05 2007-01-25 Matsushita Electric Ind Co Ltd Radio ad hoc communication method
CN102291795A (en) * 2010-06-21 2011-12-21 富士通株式会社 Wireless communication device, wireless communication network and control router selection method
KR20170141458A (en) * 2016-06-15 2017-12-26 (주)네스랩 Method and terminal for transferring data in ad-hoc network
CN111614557A (en) * 2020-04-02 2020-09-01 深圳创维-Rgb电子有限公司 Data transmission method and device of Mesh network, gateway and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007019574A (en) * 2005-07-05 2007-01-25 Matsushita Electric Ind Co Ltd Radio ad hoc communication method
CN102291795A (en) * 2010-06-21 2011-12-21 富士通株式会社 Wireless communication device, wireless communication network and control router selection method
KR20170141458A (en) * 2016-06-15 2017-12-26 (주)네스랩 Method and terminal for transferring data in ad-hoc network
CN111614557A (en) * 2020-04-02 2020-09-01 深圳创维-Rgb电子有限公司 Data transmission method and device of Mesh network, gateway and storage medium

Similar Documents

Publication Publication Date Title
US10397970B2 (en) Neighbor awareness networking tree mapping
JP6193394B2 (en) Selective scanning system and method for ad hoc networks
US10171986B2 (en) Radio relay device and system with waiting time optimization
US11102702B2 (en) Method for establishing network clusters between networked devices
KR100513282B1 (en) Apparatus and method for transmitting data using path MTU in ad-hoc network
JP2017184254A (en) System and method for improved communication on wireless network
US20130003654A1 (en) Mesh Node Role Discovery and Automatic Recovery
CN109792287A (en) A kind of method and apparatus of transmission response message
US20040229566A1 (en) Systems and methods for congestion control in a wireless mesh network
CN113630272B (en) Communication method and device
CN110662258A (en) Message forwarding method, device and medium
KR20150111732A (en) Apparatus and methdo for transfering data using concurrent transmission
JP2010093338A (en) Communication system and wireless communication device
US10257667B2 (en) Data transmission method and device
CN113660646A (en) Communication method, gateway device, and computer-readable storage medium
JP2016511948A (en) Shared media bridging
CN115915098A (en) Method for realizing BMCA in 5G and TSN cross-domain PTP
EP2888914B1 (en) Integrated paging technique
JP6802530B2 (en) Communication method
CN107852677B (en) Enhanced power reduction in mesh networks
US11190979B2 (en) Methods and apparatus for forwarding packets between child nodes and parent nodes
JP2006067244A (en) Radio base station, radio communication system and radio communication method
CN114679795A (en) Communication method, device and system in wireless local area network
CN111917868A (en) Addressing method and device for block chain node, routing equipment and storage medium
KR101691561B1 (en) Method for transmitting and receiving signal in heterogeneous transmission power based wireless communication system

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