CN109275164B - Mesh network-based communication method and device and household appliance - Google Patents

Mesh network-based communication method and device and household appliance Download PDF

Info

Publication number
CN109275164B
CN109275164B CN201811457505.5A CN201811457505A CN109275164B CN 109275164 B CN109275164 B CN 109275164B CN 201811457505 A CN201811457505 A CN 201811457505A CN 109275164 B CN109275164 B CN 109275164B
Authority
CN
China
Prior art keywords
communication module
mesh network
communication
target
data packet
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
CN201811457505.5A
Other languages
Chinese (zh)
Other versions
CN109275164A (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.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment 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 Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201811457505.5A priority Critical patent/CN109275164B/en
Publication of CN109275164A publication Critical patent/CN109275164A/en
Application granted granted Critical
Publication of CN109275164B publication Critical patent/CN109275164B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/20Negotiating bandwidth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/22Negotiating communication rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • 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 provides a communication method, a device and household electrical appliances based on a Mesh network, wherein the Mesh network comprises a plurality of outlet communication modules, and the method comprises the following steps: acquiring a data packet to be sent; determining a target outlet communication module corresponding to the data packet according to a preset transmission probability; and sending the data packet to a target outlet communication module. Therefore, the Mesh network multi-broadband parallel communication is realized, a plurality of broadband resources can be effectively utilized to surf the internet, the network speed is improved, and the problem that partial bandwidth resources are idle due to the fact that the internet is surfed only through one of the bandwidth sources when a plurality of broadband sources exist in the Mesh network in the related technology is solved.

Description

Mesh network-based communication method and device and household appliance
Technical Field
The present application relates to the field of household appliance technologies, and in particular, to a communication method and apparatus based on a Mesh network, and a household appliance.
Background
The Mesh of the wireless Mesh network is a multi-hop (multi-hop) network, is developed from an ad-hoc network, and is one of key technologies for solving the problem of the last kilometer. Mesh networks are Mesh structures, and there may be multiple broadband accesses within the network.
In the related art, when a Mesh network has multiple broadband sources to access, one optimal broadband source is usually selected to access the network, which may cause partial bandwidth resources to be idle.
Disclosure of Invention
The application provides a communication method and device based on a Mesh network and household electrical appliance equipment, so that a plurality of broadband resources are effectively utilized to surf the internet, the network speed is improved, and the problem that in the related art, when a plurality of broadband sources exist in the Mesh network, only one of the broadband sources surfs the internet, and part of the broadband resources are idle is solved.
An embodiment of an aspect of the present application provides a communication method based on a Mesh network, where the Mesh network includes a plurality of egress communication modules, and the method includes:
acquiring a data packet to be sent;
determining a target outlet communication module corresponding to the data packet according to a preset transmission probability;
and sending the data packet to the target outlet communication module.
In another aspect, an embodiment of the present application provides a communication device based on a Mesh network, where the Mesh network includes a plurality of egress communication modules, and the device includes:
the acquisition module is used for acquiring a data packet to be sent;
the first determining module is used for determining a target outlet communication module corresponding to the data packet according to a preset transmission probability;
and the sending module is used for sending the data packet to the target outlet communication module.
In another aspect, an embodiment of the present application provides a communication module, including: the Mesh network-based communication method comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the Mesh network-based communication method as proposed by the previous embodiment of the application.
In another aspect, an embodiment of the present application provides a home appliance, including the communication module in the above aspect; the communication module is configured to implement the Mesh network-based communication method according to the foregoing embodiment of the present application.
In another aspect of the present application, a Mesh network is provided, which includes a plurality of home devices as described in the foregoing embodiments.
In another aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored, and the program, when executed by a processor, implements the Mesh network-based communication method as set forth in the foregoing embodiments of the present application.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: due to the fact that the data packet to be sent is obtained, the target outlet communication module corresponding to the data packet is determined according to the preset transmission probability, and the data packet is sent to the target outlet communication module, the problem that in the related art, when a plurality of broadband sources exist in the Mesh network, a Mesh node only surfs the internet through one of the broadband sources, and therefore partial bandwidth resources are idle can be effectively solved, multi-broadband parallel communication of the Mesh network is achieved, the plurality of broadband resources can be effectively utilized to surf the internet, and the network speed is improved.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a Mesh network-based communication method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a communication method based on a Mesh network according to a second embodiment of the present application;
fig. 3 is a schematic flowchart of a communication method based on a Mesh network according to a third embodiment of the present application;
fig. 4 is a schematic flowchart of a Mesh network-based communication method according to a fourth embodiment of the present application;
fig. 5 is a schematic view of an application scenario provided in the fifth embodiment of the present application;
fig. 6 is a schematic structural diagram of a Mesh network-based communication device according to a sixth embodiment of the present application;
fig. 7 is a schematic structural diagram of another communication device based on a Mesh network according to a sixth embodiment of the present application;
fig. 8 is a schematic structural diagram of a home appliance according to an eighth embodiment of the present application;
fig. 9 is a schematic structural diagram of a Mesh network according to a ninth embodiment of the present application.
Detailed Description
The communication method based on the Mesh network is mainly used for solving the problem that partial bandwidth resources are idle due to the fact that internet access is performed only through one bandwidth source when a plurality of bandwidth sources exist in the Mesh network in the related technology. According to the communication method based on the Mesh network, the data packet to be sent is obtained, the target outlet communication module corresponding to the data packet is determined according to the preset transmission probability, and the data packet is sent to the target outlet communication module, so that multi-broadband parallel communication of the Mesh network is achieved, a plurality of broadband resources are effectively utilized to surf the internet, and the network speed is improved.
In order to better understand the above technical solutions, exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to better understand the technical scheme, the technical scheme is described in detail in the following with reference to the attached drawings of the specification and specific embodiments.
Example one
Fig. 1 is a schematic flowchart of a communication method based on a Mesh network according to an embodiment of the present application.
In the embodiment of the application, the communication method based on the Mesh network is applied to the Mesh network, and the Mesh network comprises a plurality of outlet communication modules. The outlet communication module is a communication module that can access the internet through a connection mode other than the Mesh network, for example, a communication module that is connected to the network through a wired broadband or a wireless router. The communication module may be a communication module disposed in the household appliance, and may be, for example, a Wireless-Fidelity (WiFi) module.
The home appliances include, but are not limited to, air conditioners, televisions, refrigerators, and other home appliances.
As shown in fig. 1, the Mesh network-based communication method includes the following steps:
step 101, acquiring a data packet to be sent.
In the embodiment of the application, when communication is performed through the Mesh network, a communication module in the Mesh network can acquire a data packet to be transmitted. The communication module may be an egress communication module or a non-egress communication module, and is not limited herein.
As an example, the communication module may obtain a data packet to be sent of the home device. For example, taking a digital television in a Mesh network as an example, the digital television includes a communication module 1, the digital television needs to send a data packet when connecting to a network for requesting a program, and the communication module 1 acquires the data packet to be sent by the digital television.
As another example, when the communication module is used to provide a network to other user equipment, the communication module may further obtain a data packet to be sent of the user equipment. For example, the communication module is configured to provide a network in a relay mode or an Access Point (AP) mode, and when a user connects to the communication module through a mobile phone to surf the internet, the communication module obtains a data packet to be sent by the mobile phone.
And 102, determining a target outlet communication module corresponding to the data packet according to the preset transmission probability.
In the embodiment of the present application, since the Mesh network includes a plurality of egress communication modules, that is, the Mesh network may access a plurality of bandwidth sources, for example, the Mesh network includes egress communication modules 1 and 2, the egress communication module 1 is connected to a wired broadband, and the egress communication module 2 is connected to a router. Therefore, after the communication module acquires the data packet to be sent, the corresponding target outlet communication module can be determined according to the preset transmission probability, so that the bandwidth source corresponding to the data packet is determined.
As an example, the transmission probability may be determined from bandwidth traffic information of each egress communication module. For example, network bandwidth and traffic information of each egress communication module may be obtained, and the larger the traffic of the egress communication module is, the smaller the network bandwidth is, and the lower the corresponding transmission probability is.
As another example, the transmission probability may be determined based on link quality information of the communication module and each egress communication module. For example, the higher the link quality between the communication module and the egress communication module, the higher the corresponding transmission probability. Wherein the link quality of the communication module and the egress communication module may be a quality of a link between the communication module and a bandwidth source corresponding to the egress communication module.
It should be noted that, the implementation manner of determining the transmission probability is merely exemplary, and the transmission probability may also be set according to actual requirements, which is not limited herein.
As a possible implementation manner, the communication module may select, according to a preset transmission probability, a corresponding egress communication module as a target egress communication module according to the probability. For example, if the transmission probabilities corresponding to egress communication modules a and B are both 50%, the egress communication module a is selected as the target egress communication module with a probability of 50%, and the egress communication module B is selected as the target egress communication module with a probability of 50%.
As another possible implementation manner, the communication module may determine, according to a preset transmission probability, an egress communication module with the highest transmission probability as the target egress communication module. For example, if the transmission probabilities corresponding to egress communication modules a and B are 30% and 20%, respectively, egress communication module a is determined to be the target egress communication module corresponding to the data packet.
And 103, sending the data packet to the target outlet communication module.
In the embodiment of the application, after the target outlet communication module corresponding to the data packet is determined according to the preset transmission probability, the data packet can be sent to the target outlet communication module, so that the data packet is transmitted to the bandwidth source connected with the target outlet communication module. Therefore, when the Mesh network comprises a plurality of outlet communication modules, the outlet communication modules corresponding to the data packets are determined through the transmission probability, the multi-broadband concurrent communication of the Mesh network is realized, a plurality of bandwidth resources can be effectively utilized to surf the internet, and the network speed is improved.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
due to the adoption of the method and the device, the data packet to be sent is obtained, the target outlet communication module corresponding to the data packet is determined according to the preset transmission probability, and the data packet is sent to the target outlet communication module, so that the problem that partial bandwidth resources are idle because a Mesh node only surfs the internet through one bandwidth source when a plurality of bandwidth sources exist in the Mesh network in the related art can be effectively solved, the multi-bandwidth parallel communication of the Mesh network is realized, a plurality of bandwidth resources can be effectively utilized to surf the internet, and the network speed is improved.
Based on the foregoing embodiment, the communication module may establish a routing table, and send the data packet to the corresponding egress communication module according to the default routing rule in the routing table, and the foregoing process is described in detail below with reference to the second embodiment.
Example two
Fig. 2 is a schematic flowchart of a communication method based on a Mesh network according to a second embodiment of the present application.
As shown in fig. 2, the Mesh network-based communication method may include the steps of:
step 201, obtaining the network connection state of each communication module in the Mesh network.
In the embodiment of the application, each communication module in the Mesh network detects the network connection state of the module, and broadcasts the network connection state of the module to other communication modules through the Mesh network, and then each communication module receives the network connection state of other communication modules. The network connection state may include a connection state of the communication module with a wired broadband, a router, a wireless AP, and the like.
As an example, the communication module detects the network connection state of the module, and when the communication module detects that the module is wirelessly connected with a router, the communication module generates a network connection state a and sends the network connection state a to other communication modules in a Mesh network through Mesh network broadcasting; and when detecting that the module is connected with other equipment only through the Mesh network, generating a network connection state B and sending the network connection state B to other communication modules in the Mesh network through the Mesh network broadcast.
Step 202, determining an exit communication module according to the network connection state of each communication module, and establishing a routing table corresponding to the exit communication module.
In this embodiment of the application, the communication module determines, according to the received network connection state of each other communication module in the Mesh network, an egress communication module according to the network connection state, for example, determines that the communication module whose network connection state is a is the egress communication module. The exit communication module may be a communication module that can access the internet through a connection mode other than the Mesh network, for example, a communication module that is connected to the network through a wired broadband or a wireless router.
As a possible implementation manner, after determining the egress communication module, the communication module may establish a routing table corresponding to the egress communication module. For example, a routing table may be established for each egress communication module, with a one-to-one correspondence to the egress communication module.
Step 203, acquiring a data packet to be sent.
The explanation of step 101 in the foregoing embodiment is also applicable to step 203, and is not described herein again.
And 204, determining a target outlet communication module corresponding to the data packet according to the preset transmission probability.
In the embodiment of the application, the routing table queried when the data packet is sent can be determined according to the preset transmission probability, so that the target outlet communication module corresponding to the data packet is determined according to the routing table.
As a possible implementation manner, bandwidth flow information and link quality information of each egress communication module may be obtained, and then, according to the bandwidth flow information and the link quality information, a transmission probability corresponding to each egress communication module is determined by a correlation algorithm. For example, network bandwidth, traffic information, and link quality information of each egress communication module may be obtained, where the larger the traffic of the egress communication module is, the smaller the network bandwidth is, and the lower the link quality between the communication module and the egress communication module is, the lower the corresponding transmission probability is. Wherein the link quality of the communication module and the egress communication module may be a quality of a link between the communication module and a bandwidth source connected to the egress communication module.
Step 205, querying a default routing rule in a routing table corresponding to the target egress communication module.
Step 206, sending the data packet to the egress communication module according to the default routing rule.
In the embodiment of the present application, a default routing rule may be added in advance in the routing table. The default routing rule is a routing rule that can match any destination ip address in a routing table, and the data packet can be directed to an exit communication module corresponding to the routing table through the default routing rule.
As an example, after a data packet to be sent is obtained, a routing table queried by the data packet may be determined according to a preset transmission probability, and then a default routing rule in the routing table is obtained by querying the routing table, and the data packet is sent to the egress communication module according to the default routing rule.
Compared with the previous embodiment, the technical solution in the embodiment of the present application at least has the following further technical effects or advantages:
on one hand, the bandwidth flow information and the link quality information of each outlet communication module are obtained, and then the transmission probability corresponding to each outlet communication module is determined according to the bandwidth flow information and the link quality information, so that the utilization rate of bandwidth resources can be improved, and the network speed is improved.
On the other hand, due to the adoption of the default routing rule in the routing table corresponding to the target outlet communication module, the data packet is sent to the outlet communication module according to the default routing rule, so that the effective utilization of a plurality of broadband resources for surfing the internet is realized, and the network speed is improved.
Based on the above embodiment, before communication is performed through the Mesh network, the communication module may also be configured according to the route configuration parameter and the Mesh configuration parameter, so as to implement networking in the communication mode + the Mesh mode, which is described in detail below with reference to the third embodiment.
EXAMPLE III
Fig. 3 is a schematic flowchart of a communication method based on a Mesh network according to a third embodiment of the present application.
As shown in fig. 3, the Mesh network-based communication method may include the steps of:
step 301, obtaining a routing configuration parameter and a Mesh configuration parameter of a wireless Mesh network.
In the embodiment of the application, when the communication module performs network configuration, a routing configuration parameter and a Mesh configuration parameter of a wireless Mesh network need to be acquired.
As an example, a user may obtain a routing configuration parameter and a Mesh configuration parameter of a wireless Mesh network through a mobile terminal such as a mobile phone, so as to establish communication between the mobile terminal and a communication module, and send the routing configuration parameter and the Mesh configuration parameter to the communication module. The routing configuration parameter and the Mesh configuration parameter may be pre-stored in the mobile terminal, or a related application program may be set in the mobile terminal, and the routing configuration parameter and the Mesh configuration parameter are obtained through the application program, which is not limited herein.
As a possible implementation manner, the routing configuration parameter may include a Service Set Identifier (SSID) and a password corresponding to the SSID. The SSID may be a character string composed of numbers and letters.
As a possible implementation manner, the Mesh configuration parameters may include a Basic Service Set Identifier (BSSID), a channel, an encryption manner, and a password corresponding to the BSSID. The BSSID may be a character string composed of numbers and letters.
Step 302, determining a target router corresponding to the communication module according to the routing configuration parameters.
In the embodiment of the application, the target router may be a router connected to the internet in a home of the user.
As an example, the routing configuration parameters include SSID and password, where SSID and router have one-to-one correspondence, that is, the target router may be determined according to the routing configuration parameters. After receiving the SSID and the password, the communication module may determine a target router corresponding to the SSID according to the SSID, for example, the communication module obtains the SSID of each router through scanning, matches the SSID with the received SSID, and then determines that the router corresponding to the SSID with the matching result is the target router.
Step 303, configuring the communication module as a target communication module with a corresponding communication mode according to the target router.
In the embodiment of the present application, the communication mode includes, but is not limited to, a relay mode, an Access Point (AP) mode, and the like.
As an example, the communication mode of the communication module may be determined according to the signal strength of the target router. For example, a signal strength threshold value may be set in advance, and when the signal strength of the target router detected by the communication module is equal to or greater than the threshold value, the communication module is set to a relay mode in which the target router can be connected according to the SSID and the password. As a possible implementation manner, the communication module is wirelessly connected with the target router; and when the signal strength of the target router detected by the communication module is less than the threshold value, setting the communication module to be in the AP mode.
As another example, the communication mode of the communication module may also be determined according to the distance of the communication module from the target router. For example, a preset distance may be preset, the distance between the communication module and the target router may be detected, and when the detected distance is less than or equal to the preset distance, the communication module may be set to the relay mode; and when the detected distance is greater than the preset distance, setting the communication module to be in the AP mode.
And step 304, adding the target communication module into the Mesh network according to the Mesh configuration parameters.
As an example, taking Mesh configuration parameters including BSSID, channel, encryption manner, and password as an example, when receiving the Mesh configuration parameters, the communication module determines a corresponding Mesh network according to the BSSID, and adds the communication module to the Mesh network according to the channel, the encryption manner, and the password.
It should be noted that, in the embodiment of the present application, the communication module may also join the Mesh network according to the Mesh configuration parameter, and then determine the corresponding target router according to the route configuration parameter, and further configure the communication module into the corresponding communication mode, where the configuration sequence is not limited herein.
In the embodiment of the application, the communication module can configure according to the received Mesh configuration parameters so as to join in the Mesh network. For example, a relay mode communication module may join the Mesh network, thereby configuring a relay + Mesh mode. For another example, the communication module in the AP mode may join the Mesh network, and thus be configured in the AP + Mesh mode. The communication module in the relay + Mesh mode is connected with the router, amplifies and forwards received router wireless signals through a relay function so as to provide a network for user equipment, and is connected with other communication modules through a Mesh network; the communication module of the AP + Mesh mode may be connected with other communication modules through a Mesh network to receive a network through the Mesh network and provide the network to the user equipment through the AP function.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
the method comprises the steps of obtaining a route configuration parameter and a Mesh configuration parameter of the wireless Mesh network, determining a target router corresponding to a communication module according to the route configuration parameter, configuring the communication module into a target communication module with a corresponding communication mode according to the target router, and adding the target communication module into the Mesh network according to the Mesh configuration parameter, so that the technical problem that the coverage of wireless signals in the related technology needs to be improved is effectively solved, the networking mode of the communication mode of the household appliance and the Mesh mode is realized, the household appliance can provide a network for user equipment through the communication module, and the coverage of the wireless signals is improved.
Based on the above embodiments, the communication module may determine the configured communication mode according to the detected signal strength radiated by the target router, and the above procedure is described in detail with reference to the fourth embodiment.
Example four
Fig. 4 is a schematic flowchart of a communication method based on a Mesh network according to a fourth embodiment of the present application.
As shown in fig. 4, the Mesh network-based communication method may include the steps of:
step 401, obtaining a routing configuration parameter and a Mesh configuration parameter of a wireless Mesh network.
The explanation of step 301 in the foregoing embodiment is also applicable to step 401 in this embodiment, and is not described herein again.
As an example, the user may also trigger the distribution network mode request of the communication module on the home device through a remote control key or a physical key on the home device. Furthermore, after receiving the distribution network mode request, the electric control board on the household appliance sends the distribution network mode request to the communication module through the communication interface, so that the communication module enters the distribution network mode after receiving the request and waits for receiving the routing configuration parameters and the Mesh configuration parameters. The form of the communication interface between the electronic control board and the communication module may be a serial port or others, which is not limited herein.
Step 402, determining a target router corresponding to the communication module according to the routing configuration parameters.
The explanation of step 302 in the foregoing embodiment is also applicable to step 402 in this embodiment, and is not described herein again.
In step 403, the signal strength radiated by the target router is detected.
In this embodiment of the application, the communication module may detect the signal strength radiated by the target router, so as to determine the communication mode according to the signal strength.
As a possible implementation manner, after the target router is determined, the signal strength radiated by the target router may be detected through a related wireless signal detection technology, or the signal strength of a router that can be currently searched by the communication module may be detected, and the signal strength of the target router is determined according to the routing configuration parameter, which is not limited herein.
Step 404, when the signal strength is greater than or equal to a preset threshold value, setting the communication module to be in a relay mode; and when the signal intensity is smaller than the preset threshold value, setting the communication module to be in an access point mode.
In the embodiment of the present application, a signal strength threshold may be preset, the detected signal strength of the target router is compared with a preset signal strength threshold, and the communication mode of the communication module is determined according to the comparison result. The signal intensity threshold may be determined according to a large amount of experimental data, or may be set according to needs, which is not limited herein.
As an example, when the signal strength of the target router detected by the communication module is greater than or equal to the threshold, the communication module sets a relay mode, wherein the communication module in the relay mode is connected with the target router and amplifies and forwards the received wireless signal of the target router to provide a network for the user equipment, thereby improving the wireless signal coverage.
As another example, when the signal strength of the target router detected by the communication module is less than the threshold, the communication module is set to the AP mode, wherein the communication module in the AP mode is connected with other communication modules and provides a network to the user equipment through the AP function, thereby improving the coverage of the wireless signal.
As still another example, there may be a case where the communication module does not detect the target router signal, for example, when the communication module matches the obtained SSID of each router according to the received SSID and the matching result is non-existent, the communication module does not detect the target router signal. When the communication module does not detect the signal of the target router, the communication module may be set to the AP mode.
And step 405, adding the target communication module into the Mesh network according to the Mesh configuration parameters.
In the embodiment of the application, the communication module can configure according to the received Mesh configuration parameters to add into the Mesh network, so that a networking mode of a communication mode + a Mesh mode is realized. The relay + Mesh mode communication module is connected with the router, amplifies and forwards received router wireless signals through a relay function so as to provide a network for user equipment, and is connected with other communication modules through a Mesh network; the communication module of the AP + Mesh mode may be connected with other communication modules through a Mesh network to receive a network through the Mesh network and provide the network to the user equipment through the AP function.
Compared with the previous embodiment, the technical solution in the embodiment of the present application at least has the following further technical effects or advantages:
the method comprises the steps that the signal intensity radiated by a target router is detected, and when the signal intensity is larger than or equal to a preset threshold value, a communication module is set to be in a relay mode; when the signal intensity is smaller than the preset threshold value, the communication module is set to be in an access point mode, the target communication module is added into the Mesh network according to the Mesh configuration parameters, the communication module with the good signal coverage of the router is enabled to improve the wireless signal coverage through a relay mode, the communication modules are connected through the Mesh network to share network resources, the communication module with the poor signal coverage of the router is connected with other communication modules through the Mesh network and provides a network through an AP mode, and the signal intensity is guaranteed while the wireless signal coverage is improved.
EXAMPLE five
Fig. 5 is a schematic view of an application scenario provided in the embodiment of the present application.
In the embodiment of the application, the communication module may be a WiFi module, the WiFi module is disposed on the household appliance, and the communication mode includes a relay mode and an AP mode. The WiFi module 1 and the WiFi module 2 are in a relay + Mesh mode, and the WiFi module 3 is in an AP + Mesh mode. The WiFi module 1 and the WiFi module 2 are respectively in wireless connection with the router and can supply network to the mobile phone of the user through a relay mode. The WiFi modules share network resources through a Mesh network, and the WiFi module 3 can be connected with the network through the Mesh network and can supply network to a mobile phone of a user through an AP mode. In the figure, the user mobile phone is connected with the WiFi module 3 to surf the internet.
In the embodiment of the present application, taking the WiFi module 3 as an example, the WiFi module 3 determines that the WiFi modules 1 and 2 are outlet WiFi modules according to the network connection states broadcasted by the WiFi modules 1 and 2, and establishes a routing table. The routing table 1 corresponds to the WiFi module 1, the routing table 2 corresponds to the WiFi module 2, the default routing rule in the routing table 1 can guide the data packet to the WiFi module 1, and the default routing rule in the routing table 2 can guide the data packet to the WiFi module 2. For example, when a mobile phone sends a data packet, the WiFi module 3 obtains the data packet to be sent, and determines that the probabilities of querying the routing table 1 and the routing table 2 by the data packet are 50% respectively according to a pre-established firewall, and then selects one of the routing tables, for example, selects the querying routing table 1, sends the data packet to the WiFi module 1, and then transmits the data packet to a router connected to the WiFi module 1. For another example, when the household appliance device corresponding to the WiFi module 3 sends a data packet, the household appliance device determines to select the query routing table 2 according to the pre-established firewall, sends the data packet to the WiFi module 2, and then transmits the data packet to the router connected with the WiFi module 2. Therefore, the Mesh network multi-broadband concurrent communication can be realized, and a plurality of bandwidth resources can be effectively utilized to surf the internet, so that the network speed is improved.
Optionally, the firewall may also obtain information about the source of the packet, such as an identifier of the device sending the packet. And when a data packet to be sent is obtained, determining the routing table inquired by the data packet with the same historical source information according to the source information of the data packet, so that the data packet with the same source can inquire the same routing table.
It should be noted that the Mesh network connection shown in the figure is only an example, and in this embodiment, the egress communication module may also establish a routing table corresponding to each egress communication module, which is not limited herein.
Based on the same inventive concept, the embodiment of the present application further provides a device corresponding to the method in the foregoing embodiment, see embodiment six.
Example six
Fig. 6 is a schematic structural diagram of a communication device based on a Mesh network according to a fifth embodiment of the present application, where the Mesh network includes a plurality of egress communication modules.
As shown in fig. 6, the Mesh network-based communication device includes: the device comprises an acquisition module 11, a first determination module 12 and a sending module 13.
The obtaining module 11 is configured to obtain a data packet to be sent.
The first determining module 12 is configured to determine a target egress communication module corresponding to the data packet according to a preset transmission probability.
And a sending module 13, configured to send the data packet to the target egress communication module.
Further, in a possible implementation manner of the embodiment of the present application, referring to fig. 7, on the basis of fig. 6, the communication device based on the Mesh network further includes: a second determination module 14, a building module 15 and a distribution network module 16.
Wherein the second determining module 14 is configured to: acquiring bandwidth flow information and link quality information of each outlet communication module; and determining the transmission probability corresponding to each outlet communication module according to the bandwidth flow information and the link quality information.
The establishing module 15 is configured to: acquiring the network connection state of each communication module in the Mesh network; and determining an exit communication module according to the network connection state of each communication module, and establishing a routing table corresponding to the exit communication module.
The sending module 13 is specifically configured to: inquiring a default routing rule in a routing table corresponding to the target outlet communication module; and sending the data packet to an outlet communication module according to the default routing rule.
The distribution network module 16 is configured to: acquiring a route configuration parameter and a Mesh configuration parameter of a wireless Mesh network;
connecting the communication module with the corresponding target router according to the routing configuration parameters;
configuring the communication module as a target communication module having a corresponding communication mode according to the target router;
and adding the target communication module into the Mesh network according to the Mesh configuration parameters.
Further, the distribution network module 16 is specifically configured to: detecting the signal intensity radiated by the target router;
when the signal intensity is greater than or equal to a preset threshold value, setting the communication module to be in a relay mode;
and when the signal intensity is smaller than a preset threshold value, setting the communication module to be in an access point mode.
It should be noted that, the explanation of the embodiment of the communication method based on the Mesh network in the foregoing embodiment is also applicable to the communication device based on the Mesh network in this embodiment, and details are not described here again.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
on one hand, the data packet to be sent is obtained, the target outlet communication module corresponding to the data packet is determined according to the preset transmission probability, and the data packet is sent to the target outlet communication module, so that the problem that partial bandwidth resources are idle due to the fact that a Mesh node only surfs the internet through one bandwidth source when a plurality of bandwidth sources exist in a Mesh network in the related art can be effectively solved, the purpose of effectively utilizing the plurality of bandwidth resources to surf the internet is achieved, and the network speed is improved.
On the other hand, the bandwidth flow information and the link quality information of each outlet communication module are obtained, and then the transmission probability corresponding to each outlet communication module is determined according to the bandwidth flow information and the link quality information, so that the utilization rate of bandwidth resources can be improved, and the network speed is improved.
In another aspect, the default routing rule in the routing table corresponding to the target outlet communication module is queried, and the data packet is sent to the outlet communication module according to the default routing rule, so that the network access is realized by effectively utilizing a plurality of broadband resources, and the network speed is improved.
In another aspect, because the signal intensity radiated by the target router is detected, when the signal intensity is greater than or equal to a preset threshold value, the communication module is set to a relay mode; when the signal intensity is smaller than the preset threshold value, the communication module is set to be in an access point mode, the target communication module is added into the Mesh network according to the Mesh configuration parameters, the communication module with the good signal coverage of the router is enabled to improve the wireless signal coverage through a relay mode, the communication modules are connected through the Mesh network to share network resources, the communication module with the poor signal coverage of the router is connected with other communication modules through the Mesh network and provides a network through an AP mode, and the signal intensity is guaranteed while the wireless signal coverage is improved.
Since the Mesh network-based communication device described in the sixth embodiment of the present application is a device used for implementing the methods described in the first to fourth embodiments of the present application, a person skilled in the art can understand the specific structure and the modifications of the device based on the methods described in the first to fourth embodiments of the present application, and thus the details are not described herein. All the devices adopted in the methods of the first to fourth embodiments of the present application belong to the scope of the present application.
Based on the same inventive concept, the embodiment of the present application further provides a communication module corresponding to the fourth method of the first embodiment to the seventh embodiment.
EXAMPLE seven
The communication module of the embodiment of the application comprises: the Mesh network-based communication method includes a memory, a processor and a computer program stored in the memory and running on the processor, and when the processor executes the program, the Mesh network-based communication method as set forth in the first to fourth embodiments of the present application is implemented.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
due to the adoption of the method and the device, the data packet to be sent is obtained, the target outlet communication module corresponding to the data packet is determined according to the preset transmission probability, and the data packet is sent to the target outlet communication module, so that the problem that partial bandwidth resources are idle because a Mesh node only surfs the internet through one bandwidth source when a plurality of bandwidth sources exist in a Mesh network in the related art can be effectively solved, the purpose of effectively utilizing the plurality of bandwidth resources to surf the internet is realized, and the network speed is improved.
Since the communication module described in the sixth embodiment of the present application is a communication module used for implementing the methods in the first to third embodiments of the present application, a person skilled in the art can understand the specific structure and the modifications of the communication module based on the methods described in the first to third embodiments of the present application, and thus the details are not described herein. All the communication modules adopted by the methods of the first to third embodiments of the present application belong to the scope to be protected by the present application.
Based on the same inventive concept, the embodiment of the application further provides household electrical appliances corresponding to the first to fourth embodiments, see embodiment eight.
Example eight
Fig. 8 is a schematic structural diagram of a home appliance according to an eighth embodiment of the present application.
As shown in fig. 8, the home device 50 includes the communication module 51 according to the foregoing embodiment, which is used to implement the Mesh network-based communication method according to the foregoing embodiments one to four of the present application.
As an example, the communication module is a WiFi module.
It should be noted that the explanation of the first to fourth embodiments of the communication method based on the Mesh network is also applicable to the household electrical appliance of the embodiments, and details are not described here.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
due to the adoption of the method and the device, the data packet to be sent is obtained, the target outlet communication module corresponding to the data packet is determined according to the preset transmission probability, and the data packet is sent to the target outlet communication module, so that the problem that partial bandwidth resources are idle because a Mesh node only surfs the internet through one bandwidth source when a plurality of bandwidth sources exist in a Mesh network in the related art can be effectively solved, the purpose of effectively utilizing the plurality of bandwidth resources to surf the internet is realized, and the network speed is improved.
Since the home appliance described in the eighth embodiment of the present application is a home appliance used for implementing the method in the first to fourth embodiments of the present application, a person skilled in the art can understand the specific structure and deformation of the home appliance based on the method described in the first to fourth embodiments of the present application, and thus details are not described herein. All the home appliances adopted in the methods of the first to fourth embodiments of the present application belong to the scope of protection intended by the present application.
Based on the same inventive concept, an embodiment of the present application further provides a Mesh network corresponding to the method in the first to fourth embodiments, where the Mesh network includes a plurality of egress communication modules, see the ninth embodiment.
Fig. 9 is a schematic structural diagram of a Mesh network according to a ninth embodiment of the present application.
As shown in fig. 9, the Mesh network includes a plurality of home devices 50 according to the foregoing embodiments, and is used to implement the communication method based on the Mesh network as proposed in the foregoing embodiments one to four of the present application.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
due to the adoption of the method and the device, the data packet to be sent is obtained, the target outlet communication module corresponding to the data packet is determined according to the preset transmission probability, and the data packet is sent to the target outlet communication module, so that the problem that partial bandwidth resources are idle because a Mesh node only surfs the internet through one bandwidth source when a plurality of bandwidth sources exist in a Mesh network in the related art can be effectively solved, the purpose of effectively utilizing the plurality of bandwidth resources to surf the internet is realized, and the network speed is improved.
Based on the same inventive concept, the embodiment of the present application further provides a computer-readable storage medium corresponding to the method in the first to fourth embodiments, see embodiment ten.
Example ten
The computer-readable storage medium of the embodiment of the present application, on which the computer program is stored, is characterized in that the program, when executed by the processor, implements the Mesh network-based communication method as set forth in the foregoing embodiments one to four of the present application.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
due to the adoption of the method and the device, the data packet to be sent is obtained, the target outlet communication module corresponding to the data packet is determined according to the preset transmission probability, and the data packet is sent to the target outlet communication module, so that the problem that partial bandwidth resources are idle because a Mesh node only surfs the internet through one bandwidth source when a plurality of bandwidth sources exist in a Mesh network in the related art can be effectively solved, the purpose of effectively utilizing the plurality of bandwidth resources to surf the internet is realized, and the network speed is improved.
Since the computer-readable storage medium introduced in the tenth embodiment of the present application is a computer-readable storage medium used for implementing the method in the first to fourth embodiments of the present application, based on the method introduced in the first to fourth embodiments of the present application, a person skilled in the art can understand a specific structure and a modification of the computer-readable storage medium, and thus details are not described herein. Any computer readable storage medium used in the methods of the first to fourth embodiments of the present application is within the scope of the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus, device, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A communication method based on a Mesh network is characterized in that the communication method is applied to a communication module in a household appliance, the Mesh network comprises a plurality of exit communication modules, and the method comprises the following steps:
acquiring a data packet to be sent;
determining a target outlet communication module corresponding to the data packet according to a preset transmission probability;
sending the data packet to the target egress communication module;
before acquiring a data packet to be sent, the method further comprises:
acquiring a route configuration parameter and a Mesh configuration parameter of a wireless Mesh network;
determining a target router corresponding to the communication module according to the routing configuration parameters;
configuring the communication module as a target communication module having a corresponding communication mode according to the target router;
adding the target communication module into a Mesh network according to the Mesh configuration parameters, wherein the configuring the communication module into the target communication module with the corresponding communication mode according to the target router comprises:
detecting the signal strength radiated by the target router;
when the signal intensity is greater than or equal to a preset threshold value, setting the communication module to be in a relay mode;
and when the signal intensity is smaller than the preset threshold value, setting the communication module to be in an access point mode.
2. The Mesh network-based communication method as claimed in claim 1, wherein before the determining the destination egress communication module corresponding to the data packet according to the preset transmission probability, the method further comprises:
acquiring bandwidth flow information and link quality information of each outlet communication module;
and determining the transmission probability corresponding to each outlet communication module according to the bandwidth flow information and the link quality information.
3. The Mesh network based communication method of claim 1, wherein the sending the data packet to the target egress communication module comprises:
inquiring a default routing rule in a routing table corresponding to the target outlet communication module;
and sending the data packet to the target outlet communication module according to the default routing rule.
4. The Mesh network-based communication method according to claim 3, further comprising, before obtaining the data packet to be transmitted:
acquiring the network connection state of each communication module in the Mesh network;
and determining an exit communication module according to the network connection state of each communication module, and establishing a routing table corresponding to the exit communication module.
5. A communication device based on a Mesh network, wherein the communication device is applied to a communication module in a household appliance, the Mesh network comprises a plurality of outlet communication modules, and the device comprises:
the acquisition module is used for acquiring a data packet to be sent;
the first determining module is used for determining a target outlet communication module corresponding to the data packet according to a preset transmission probability;
a sending module, configured to send the data packet to the target egress communication module;
the distribution network module is used for: acquiring a route configuration parameter and a Mesh configuration parameter of a wireless Mesh network;
determining a target router corresponding to the communication module according to the routing configuration parameters;
configuring the communication module as a target communication module having a corresponding communication mode according to the target router;
adding the target communication module into a Mesh network according to the Mesh configuration parameters;
the distribution network module is specifically configured to: detecting the signal intensity radiated by the target router;
when the signal intensity is greater than or equal to a preset threshold value, setting the communication module to be in a relay mode;
and when the signal intensity is smaller than the preset threshold value, setting the communication module to be in an access point mode.
6. A communication module, comprising: memory, processor and computer program stored on the memory and executable on the processor, which when executing the program, implements the Mesh network based communication method according to any of claims 1-4.
7. An electric home appliance device, characterized in that it comprises a communication module as claimed in claim 6, said communication module being used to implement the Mesh network-based communication method as claimed in any one of claims 1 to 4.
8. The home device of claim 7, wherein the communication module is a WiFi module.
9. A Mesh network comprising a plurality of home devices according to claim 7 or 8.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a Mesh network-based communication method according to any one of claims 1 to 4.
CN201811457505.5A 2018-11-30 2018-11-30 Mesh network-based communication method and device and household appliance Active CN109275164B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811457505.5A CN109275164B (en) 2018-11-30 2018-11-30 Mesh network-based communication method and device and household appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811457505.5A CN109275164B (en) 2018-11-30 2018-11-30 Mesh network-based communication method and device and household appliance

Publications (2)

Publication Number Publication Date
CN109275164A CN109275164A (en) 2019-01-25
CN109275164B true CN109275164B (en) 2023-03-21

Family

ID=65186708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811457505.5A Active CN109275164B (en) 2018-11-30 2018-11-30 Mesh network-based communication method and device and household appliance

Country Status (1)

Country Link
CN (1) CN109275164B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112202648B (en) * 2019-07-08 2022-12-06 杭州九阳小家电有限公司 Control method and system of networked home equipment
CN110662237B (en) * 2019-10-14 2023-03-24 浙江大华技术股份有限公司 Data transmission method and device, storage medium and electronic device
CN113660163B (en) * 2021-08-18 2023-07-14 奇安信科技集团股份有限公司 Internet path selection method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098301B (en) * 2011-01-06 2015-07-29 复旦大学 The adaptive data transmission method of multilink and system
CN103763218B (en) * 2014-02-18 2020-01-21 网神信息技术(北京)股份有限公司 Internet bandwidth control method, device and storage medium
CN105450536B (en) * 2015-11-12 2018-12-18 北京交通大学 A kind of method and apparatus of data distribution
CN108337184A (en) * 2018-01-11 2018-07-27 山石网科通信技术有限公司 Flow equalization dispatching method and device

Also Published As

Publication number Publication date
CN109275164A (en) 2019-01-25

Similar Documents

Publication Publication Date Title
CN106332224B (en) Equipment network distribution method, device and system
CN109348458B (en) Network access configuration method and device, electronic equipment and network system
WO2017120991A1 (en) Method and apparatus for controlling access of household appliance device to network
US9161291B2 (en) Multi-tier wireless home mesh network with a secure network discovery protocol
CN109275164B (en) Mesh network-based communication method and device and household appliance
CN109088781B (en) Configuration method and device of wireless radio frequency parameters and intelligent household appliance
CN106878165B (en) Data transmission method and device
CN106507330A (en) A kind of equipment networking collocation method and device
CN105554754A (en) Method and system for accessing WIFI module of the internet of things to network
CN105636040B (en) The method and system that equipment networks
CN104010327A (en) Method and system for quickly having access to WIFI wireless network
WO2013081710A1 (en) One-click connect/disconnect feature for wireless devices forming a mesh network
WO2018049823A1 (en) Automatic network distribution method, apparatus and device, and repeater
US20120057489A1 (en) Method for selecting wireless communication path
CN105101464A (en) Wireless network configuration method and wireless network configuration system
CN105392185B (en) A kind of networking method of smart machine, apparatus and system
CN106571985B (en) Network distribution method and system of household appliance, household appliance and router
CN107438247B (en) Wireless relay implementation method and device
CN105338595A (en) Intelligent terminal joining method, apparatus and system based on intelligent terminal system
KR20080027884A (en) A method for finding network service provider and the apparatus
CN105744596B (en) WiFi equipment network access method and device
WO2018120566A1 (en) Wave beam selection method, apparatus and system
CN105916189A (en) Terminal network distribution method and terminal network distribution apparatus
KR20130042456A (en) Method and apparatus for generating connection identifier of device to device communication
CN105101465A (en) Wireless network configuration method and wireless network configuration 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
GR01 Patent grant
GR01 Patent grant