CN112511402A - Role mode adjusting method and device, wireless mesh network equipment and storage medium - Google Patents

Role mode adjusting method and device, wireless mesh network equipment and storage medium Download PDF

Info

Publication number
CN112511402A
CN112511402A CN202011393429.3A CN202011393429A CN112511402A CN 112511402 A CN112511402 A CN 112511402A CN 202011393429 A CN202011393429 A CN 202011393429A CN 112511402 A CN112511402 A CN 112511402A
Authority
CN
China
Prior art keywords
mode
feedback information
interface state
role mode
initial role
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011393429.3A
Other languages
Chinese (zh)
Other versions
CN112511402B (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.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital 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 Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN202011393429.3A priority Critical patent/CN112511402B/en
Publication of CN112511402A publication Critical patent/CN112511402A/en
Application granted granted Critical
Publication of CN112511402B publication Critical patent/CN112511402B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone

Landscapes

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

Abstract

The invention belongs to the technical field of wireless mesh networks, and discloses a role mode adjusting method, a role mode adjusting device, wireless mesh network equipment and a storage medium. The method comprises the following steps: setting an initial role mode of the current wireless mesh network equipment, and broadcasting a private message to other wireless mesh network equipment; acquiring reference feedback information corresponding to the initial role mode and interface state information of the current wireless mesh network equipment; and matching the interface state information with the reference feedback information, and judging whether to adjust the initial role mode according to a matching result. By the mode, the proper role mode can be automatically adjusted according to the current interface state of the wireless mesh network equipment and the reference feedback information of the initial role mode, so that a non-professional person can conveniently carry out network distribution, and the applicability of wireless mesh network networking is improved.

Description

Role mode adjusting method and device, wireless mesh network equipment and storage medium
Technical Field
The present invention relates to the field of wireless mesh network technologies, and in particular, to a role mode adjustment method and apparatus, a wireless mesh network device, and a storage medium.
Background
A wireless Mesh network (wireless Mesh network), also called a "multi-hop" network, is a new wireless network technology completely different from a traditional wireless network, and as the application thereof is increasing, the network distribution of devices becomes a hotspot of the current technical research, in the wireless Mesh networking process, the networking mode is that a master device Controller and a plurality of slave devices agents perform networking, and the roles of the master device Controller and the slave device agents are predefined in advance, and then networking configuration is performed, and in general, Mesh is sold in a "master-slave" mode, while most users are not technicians in the field, the wireless Mesh networking causes great difficulty for them, and users and non-professionals cannot perform network distribution quickly and easily.
In addition, at present, in the Mesh network, roles of a master device Controller and a slave device Agent are defined in advance, different image files are compiled respectively and burnt into different devices, so that a role is selected artificially, a factory needs to produce machines with two different roles at the same time, and the production efficiency is reduced.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a role mode adjusting method and device, wireless mesh network equipment and a storage medium, and aims to solve the technical problem that in the prior art, users and non-professionals are difficult to quickly and simply carry out network distribution.
In order to achieve the above object, the present invention provides a role mode adjustment method, including the following steps:
setting an initial role mode of the current wireless mesh network equipment, and broadcasting a private message to other wireless mesh network equipment;
acquiring reference feedback information corresponding to the initial role mode and interface state information of the current wireless mesh network equipment;
and matching the interface state information with the reference feedback information, and judging whether to adjust the initial role mode according to a matching result.
Optionally, the initial role mode is a master device routing mode, the reference feedback information is feedback information that a WAN port is normally connected and acquires an IP address, and connection of a slave device is received within a preset time;
the matching the interface state information with the reference feedback information, and judging whether to adjust the initial role mode according to a matching result includes:
and if the interface state is that the WAN port is in an unconnected state and the feedback information of the connection of the slave equipment is not received, adjusting the initial role mode to be a slave equipment bridging mode.
Optionally, the initial role mode is a master device routing mode, and the reference feedback information is that all interfaces do not receive a fixed private message sent by the master device;
the matching the interface state information with the reference feedback information, and judging whether to adjust the initial role mode according to a matching result includes:
and if the interface state is that any interface receives the fixed private message sent by the master equipment, adjusting the initial role mode to be a slave equipment bridging mode.
Optionally, the initial role mode is a master device routing mode, and the reference feedback information is that the WAN port is in a PPPoE mode or a static IP mode;
the matching the interface state information with the reference feedback information, and judging whether to adjust the initial role mode according to a matching result includes:
and if the interface state is that the WAN port is in a PPPoE mode or a static IP mode, determining that the initial role mode is a main equipment routing mode.
Optionally, the initial role mode is a master device routing mode, the reference feedback information is normal connection of a WAN port and an IP address is obtained, and a slave device is accessed in a WPS manner;
the matching the interface state information with the reference feedback information, and judging whether to adjust the initial role mode according to a matching result includes:
and if the interface state is that the WAN port is normally connected and acquires an IP address and the slave device is accessed in a WPS mode, determining that the initial role mode is a master device routing mode.
Optionally, the initial role mode is a master device routing mode, the reference feedback information is that a WAN port is normally connected and acquires an IP address, and a non-WAN port receives a feedback message sent by a slave device;
the matching the interface state information with the reference feedback information, and judging whether to adjust the initial role mode according to a matching result includes:
and if the interface state is that the WAN port is normally connected and acquires an IP address, and a non-WAN port receives a feedback message sent by the slave device, determining that the initial role mode is a master device routing mode.
Optionally, the matching the interface state information with the reference feedback information, and after determining whether to adjust the initial role mode according to a matching result, further includes:
acquiring a user operation instruction;
and according to the user operation instruction, when the interface state is modified to be that the WAN port is in a bridge mode, adjusting the current initial role mode to be a main equipment bridge mode.
In order to achieve the above object, the present invention further provides a character mode adjustment device, including:
the setting module is used for setting the initial role mode of the current wireless mesh network equipment and broadcasting the private message to other wireless mesh network equipment;
an obtaining module, configured to obtain reference feedback information corresponding to the initial role mode and interface state information of the current wireless mesh network device;
and the adjusting module is used for matching the interface state information with the reference feedback information and judging whether to adjust the initial role mode according to a matching result.
In addition, to achieve the above object, the present invention further provides a character mode adjustment device, including: a memory, a processor and a character mode adjustment program stored on the memory and executable on the processor, the character mode adjustment program configured to implement the steps of the character mode adjustment method as described above.
In addition, to achieve the above object, the present invention further provides a storage medium having a character mode adjustment program stored thereon, the character mode adjustment program implementing the steps of the character mode adjustment method as described above when executed by a processor.
The invention sets the initial role mode of the current wireless mesh network equipment and broadcasts the private message to other wireless mesh network equipment; acquiring reference feedback information corresponding to the initial role mode and interface state information of the current wireless mesh network equipment; and matching the interface state information with the reference feedback information, and judging whether to adjust the initial role mode according to a matching result. By the mode, the proper role mode can be automatically adjusted according to the current interface state of the wireless mesh network equipment and the reference feedback information of the initial role mode, so that a non-professional person can conveniently carry out network distribution, and the applicability of wireless mesh network networking is improved.
Drawings
Fig. 1 is a schematic structural diagram of a role mode adjustment device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a role mode adjustment method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a role mode adjustment method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a role mode adjustment method according to a third embodiment of the present invention;
fig. 5 is a block diagram of a role mode adjustment apparatus according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a role mode adjustment device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the character mode adjustment device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
It will be appreciated by those skilled in the art that the configuration shown in figure 1 does not constitute a limitation of the colour pattern adjustment device and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a character mode adjustment program.
In the character mode adjustment device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the character mode adjustment device according to the present invention may be provided in the character mode adjustment device, and the character mode adjustment device calls the character mode adjustment program stored in the memory 1005 through the processor 1001 and executes the character mode adjustment method provided by the embodiment of the present invention.
An embodiment of the present invention provides a role mode adjustment method, and referring to fig. 2, fig. 2 is a flowchart illustrating a role mode adjustment method according to a first embodiment of the present invention.
In this embodiment, the role mode adjustment method includes the following steps:
step S10: setting an initial role mode of a current wireless mesh network device, and broadcasting a private message to other wireless mesh network devices.
It should be noted that the execution main body of this embodiment may be a wireless mesh network device, for example, a router supporting wireless mesh network networking, and the wireless mesh network device may perform wireless mesh network networking with other wireless mesh network devices, and the wireless mesh network may cover a large area of a distribution network area, usually, only one main device exists in one distribution network area, and a plurality of slave devices may be adapted according to actual needs of a specific environment.
It can be understood that the initial role mode may be a master device routing mode, and the master device is used for connecting with an external network and converting signals, thereby implementing an internet access function in a network distribution area.
It should be understood that before setting the initial role mode of the current wireless mesh network device, the factory settings of the device need to be restored first, and the factory settings can be restored through the device setting web page of the fixed IP, or after the device is connected with the APP, the factory settings can be restored on the APP, and the factory settings restoring key on the body can also be triggered to restore.
Step S20: and acquiring reference feedback information corresponding to the initial role mode and interface state information of the current wireless mesh network equipment.
It should be noted that, the reference feedback information is the state of the wireless mesh network device when the device is in the initial role mode, the state of the device includes the states of the interfaces, for example, whether the interface receives a private message, whether the WAN port is connected and acquires an IP address, whether a key on the device is triggered, and the like, and the interface state information is the state information of all the interfaces of the wireless mesh network device, including the state information of the WAN port and the LAN port, for example, the connection state of the WAN port and the internet access network line, the IP address information of the WAN port, and the like.
Step S30: and matching the interface state information with the reference feedback information, and judging whether to adjust the initial role mode according to a matching result.
It can be understood that the current interface state of the device is matched with the reference state of the current role mode of the device, and when the current interface state of the device is not matched with the reference state of the current role mode of the device, the role mode of the device needs to be adjusted to the role mode corresponding to the current interface state according to the current interface state of the device, the state of a key on the body and the like.
In the embodiment, the private message is broadcasted to other wireless mesh network devices by setting the initial role mode of the current wireless mesh network device; acquiring reference feedback information corresponding to the initial role mode and interface state information of the current wireless mesh network equipment; and matching the interface state information with the reference feedback information, and judging whether to adjust the initial role mode according to a matching result. By the mode, the proper role mode can be automatically adjusted according to the current interface state of the wireless mesh network equipment and the reference feedback information of the initial role mode, so that a non-professional person can conveniently carry out network distribution, and the applicability of wireless mesh network networking is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a role mode adjustment method according to a second embodiment of the present invention.
Based on the first embodiment, in the role mode adjustment method of this embodiment, the initial role mode is a master device routing mode, the reference feedback information is feedback information that a WAN port is normally connected and acquires an IP address, and the feedback information of connection of a slave device is received within a preset time, where step S30 includes:
step S30': and if the interface state is that the WAN port is in an unconnected state and the feedback information of the connection of the slave equipment is not received, adjusting the initial role mode to be a slave equipment bridging mode.
It should be noted that the normal connection of the WAN port and the acquisition of the IP address indicates that the WAN port is in normal connection with the internet access network line and the WAN port acquires the IP address.
In a specific implementation, the initial role mode is usually a master device routing mode, and when the device is in the master device routing mode, the reference feedback information includes: the WAN port is in normal connection with the Internet access network line, acquires the IP address and receives feedback information of the connection of the slave equipment within preset time. And when the WAN port of the device is not connected with the Internet access network cable, the IP address cannot be obtained, the WPS (Wi-Fi Protected Setup) is triggered for more than the preset time, the preset time can be 3 seconds, the WPS connection information of the slave device is not received, and at the moment, the initial role mode of the device is adjusted to the slave device bridging mode. And then, the active change is not performed any more, and when the user needs to change the role mode of the equipment, the equipment can be restored to factory settings, and the role mode is selected again.
Further, the initial role mode is a master device routing mode, and the reference feedback information is that all interfaces do not receive a fixed private message sent by the master device.
The step S30 includes: and if the interface state is that any interface receives the fixed private message sent by the master equipment, adjusting the initial role mode to be a slave equipment bridging mode.
It should be understood that the fixed private message sent by the master device is used to determine the role mode for other devices in the initial role mode, for example: when the device in the initial role mode receives the fixed private message sent by the master device, it indicates that the master device of the current wireless mesh network has determined that the device in the initial role mode will change to a slave device.
In a specific implementation, the initial role mode is usually a master device routing mode, and when the device is in the master device routing mode, the reference feedback information includes: when all interfaces do not receive the fixed private message sent by the master device. When any interface on the current device receives the fixed private message sent by other master devices, the initial role mode of the device is adjusted to the slave device bridge mode. And then, the active change is not performed any more, and when the user needs to change the role mode of the equipment, the equipment can be restored to factory settings, and the role mode is selected again.
Further, the initial role mode is a master device routing mode, and the reference feedback information is that the WAN port is in a PPPoE mode or a static IP mode.
The step S30 includes: and if the interface state is that the WAN port is in a PPPoE mode or a static IP mode, determining that the initial role mode is a main equipment routing mode.
In a specific implementation, the initial role mode is usually a master device routing mode, and when the device is in the master device routing mode, the reference feedback information includes: the WAN port is in PPPoE mode or static IP mode. When the WAN port of the current device is in the PPPoE mode or the static IP mode, the device changes the main device routing mode into the fixed main device routing mode, and does not change actively any more subsequently.
Further, the initial role mode is a master device routing mode, the reference feedback information is normal connection of a WAN port and an obtained IP address, and the slave device is accessed in a WPS mode.
The step S30 includes: and if the interface state is that the WAN port is normally connected and acquires the IP address and a slave device is accessed in a WPS mode, determining that the initial role mode is a master device routing mode.
In a specific implementation, the initial role mode is usually a master device routing mode, and when the device is in the master device routing mode, the reference feedback information is: the WAN port is normally connected and obtains an IP address, and after the WPS is started, the equipment is accessed to the equipment through the WPS. When the WAN port of the current equipment is normally connected and an IP address is obtained, and after the WPS is started, the equipment is accessed to the equipment through the WPS, the routing mode of the slave main equipment is changed into the fixed routing mode of the main equipment by the equipment, the subsequent active change is not needed, and when a user needs to change the role mode of the equipment, the equipment can be restored to factory settings, and the role mode is selected again.
Further, the initial role mode is a master device routing mode, the reference feedback information is that the WAN port is normally connected and acquires an IP address, and the non-WAN port receives a feedback message sent by the slave device.
The step S30 includes: and if the interface state is that the WAN port is normally connected and acquires an IP address, and a non-WAN port receives a feedback message sent by slave equipment, determining that the initial role mode is a master equipment routing mode.
In a specific implementation, the initial role mode is usually a master device routing mode, and when the device is in the master device routing mode, the reference feedback information is: the WAN port is normally connected and acquires the IP address, the equipment and the non-WAN port receive the feedback message sent by the slave equipment, and the non-WAN port can be a LAN port or a WiFi port and receives the feedback message. When the WAN port of the current device is normally connected and acquires the IP address, and the device and the non-WAN port receive the feedback message sent by the slave device, the device changes the slave main device routing mode into the fixed main device routing mode, and does not change actively in the following process.
Referring to fig. 4, fig. 4 is a flowchart illustrating a role mode adjustment method according to a third embodiment of the present invention.
Based on the first embodiment or the second embodiment, a third embodiment of the character mode adjustment method according to the present invention is proposed, and for explanation based on the first embodiment, after step S30, the method includes:
step S40: and acquiring a user operation instruction, modifying the interface state to be in a bridge mode when the WAN port is in the bridge mode according to the user operation instruction, and adjusting the current initial role mode to be in a master device bridge mode.
In specific implementation, a user can set the device on a device setting webpage, when the user sets a WAN port of the device in an initial role mode on the setting webpage to a bridge mode, the device changes a slave host device routing mode into a fixed host device bridge mode, and does not change actively in the following process, and when the user needs to change the role mode of the device, the device can be restored to factory settings, and the role mode can be selected again.
Referring to fig. 5, fig. 5 is a block diagram illustrating a role mode adjustment apparatus according to a first embodiment of the present invention.
As shown in fig. 5, a role mode adjustment apparatus according to an embodiment of the present invention includes:
a setting module 10, configured to set an initial role mode of a current wireless mesh network device, and broadcast a private message to other wireless mesh network devices;
an obtaining module 20, configured to obtain reference feedback information corresponding to the initial role mode and interface state information of the current wireless mesh network device;
and the adjusting module 30 is configured to match the interface state information with the reference feedback information, and determine whether to adjust the initial role mode according to a matching result.
The adjusting module 30 is further configured to adjust the initial role mode to be a slave device bridge mode if the interface state is that the WAN port is in an unconnected state and feedback information of slave device connection is not received.
The adjusting module 30 is further configured to adjust the initial role mode to be a slave device bridge mode if the interface state is that any interface receives a fixed private message sent by the master device.
The adjusting module 30 is further configured to determine that the initial role mode is a master device routing mode if the interface state is that the WAN port is in a PPPoE mode or a static IP mode.
The adjusting module 30 is further configured to determine that the initial role mode is a master device routing mode if the interface state is that the WAN port is normally connected and acquires an IP address and the slave device is accessed in a WPS manner.
The adjusting module 30 is further configured to determine that the initial role mode is a master device routing mode if the interface state is that the WAN port is normally connected and acquires an IP address, and a non-WAN port receives a feedback message sent by a slave device.
The adjusting module 30 is further configured to obtain a user operation instruction; and according to the user operation instruction, when the interface state is modified to be that the WAN port is in a bridge mode, adjusting the current initial role mode to be a main equipment bridge mode.
Furthermore, an embodiment of the present invention further provides a storage medium, where a character mode adjustment program is stored, and the character mode adjustment program, when executed by a processor, implements the steps of the character mode adjustment method as described above.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may refer to the role mode adjustment method provided in any embodiment of the present invention, and are not described herein again.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A character mode adjustment method, comprising:
setting an initial role mode of the current wireless mesh network equipment, and broadcasting a private message to other wireless mesh network equipment;
acquiring reference feedback information corresponding to the initial role mode and interface state information of the current wireless mesh network equipment;
and matching the interface state information with the reference feedback information, and judging whether to adjust the initial role mode according to a matching result.
2. The role mode adjustment method according to claim 1, wherein the initial role mode is a master device routing mode, the reference feedback information is feedback information for normal connection of a WAN port and acquisition of an IP address, and connection of a slave device is received within a preset time;
the matching the interface state information with the reference feedback information, and judging whether to adjust the initial role mode according to a matching result includes:
and if the interface state is that the WAN port is in an unconnected state and the feedback information of the connection of the slave equipment is not received, adjusting the initial role mode to be a slave equipment bridging mode.
3. The method for adjusting role mode according to claim 1, wherein the initial role mode is a master device routing mode, and the reference feedback information is that all interfaces do not receive a fixed private message sent by a master device;
the matching the interface state information with the reference feedback information, and judging whether to adjust the initial role mode according to a matching result includes:
and if the interface state is that any interface receives the fixed private message sent by the master equipment, adjusting the initial role mode to be a slave equipment bridging mode.
4. The method of adjusting role mode according to claim 1, wherein the initial role mode is a master device routing mode, and the reference feedback information is WAN port in PPPoE mode or static IP mode;
the matching the interface state information with the reference feedback information, and judging whether to adjust the initial role mode according to a matching result includes:
and if the interface state is that the WAN port is in a PPPoE mode or a static IP mode, determining that the initial role mode is a main equipment routing mode.
5. The method for adjusting role mode according to claim 1, wherein the initial role mode is a master device routing mode, the reference feedback information is that a WAN port is normally connected and acquires an IP address, and a slave device is accessed in a WPS manner;
the matching the interface state information with the reference feedback information, and judging whether to adjust the initial role mode according to a matching result includes:
and if the interface state is that the WAN port is normally connected and acquires an IP address and the slave device is accessed in a WPS mode, determining that the initial role mode is a master device routing mode.
6. The method for adjusting role mode according to claim 1, wherein the initial role mode is a master device routing mode, the reference feedback information is that a WAN port is normally connected and acquires an IP address, and a non-WAN port receives a feedback message sent by a slave device;
the matching the interface state information with the reference feedback information, and judging whether to adjust the initial role mode according to a matching result includes:
and if the interface state is that the WAN port is normally connected and acquires an IP address, and a non-WAN port receives a feedback message sent by the slave device, determining that the initial role mode is a master device routing mode.
7. The method for adjusting role mode according to any one of claims 1 to 6, wherein after matching the interface state information with the reference feedback information and determining whether to adjust the initial role mode according to a matching result, the method further comprises:
acquiring a user operation instruction;
and according to the user operation instruction, when the interface state is modified to be that the WAN port is in a bridge mode, adjusting the current initial role mode to be a main equipment bridge mode.
8. A character mode adjustment apparatus, comprising:
the setting module is used for setting the initial role mode of the current wireless mesh network equipment and broadcasting the private message to other wireless mesh network equipment;
an obtaining module, configured to obtain reference feedback information corresponding to the initial role mode and interface state information of the current wireless mesh network device;
and the adjusting module is used for matching the interface state information with the reference feedback information and judging whether to adjust the initial role mode according to a matching result.
9. A wireless mesh network device, the device comprising: memory, a processor and a character mode adjustment program stored on the memory and executable on the processor, the character mode adjustment program being configured to implement the steps of the character mode adjustment method according to any one of claims 1 to 7.
10. A storage medium having a character mode adjustment program stored thereon, the character mode adjustment program, when executed by a processor, implementing the steps of the character mode adjustment method according to any one of claims 1 to 7.
CN202011393429.3A 2020-12-02 2020-12-02 Role mode adjusting method and device, wireless mesh network equipment and storage medium Active CN112511402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011393429.3A CN112511402B (en) 2020-12-02 2020-12-02 Role mode adjusting method and device, wireless mesh network equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011393429.3A CN112511402B (en) 2020-12-02 2020-12-02 Role mode adjusting method and device, wireless mesh network equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112511402A true CN112511402A (en) 2021-03-16
CN112511402B CN112511402B (en) 2022-04-08

Family

ID=74969311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011393429.3A Active CN112511402B (en) 2020-12-02 2020-12-02 Role mode adjusting method and device, wireless mesh network equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112511402B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114465947A (en) * 2022-02-15 2022-05-10 青岛海信宽带多媒体技术有限公司 Router and automatic role selection method of router in Mesh networking
CN114945192A (en) * 2022-07-25 2022-08-26 深圳市亿联无限科技有限公司 EasyMesh network rapid networking method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141533A (en) * 2015-08-14 2015-12-09 江苏轩博电子科技有限公司 Router provided with human-computer interaction interface and setting method thereof
US20180270643A1 (en) * 2015-09-21 2018-09-20 Nicoventures Holdings Limited Transmission of data through a mesh network topology
CN108882228A (en) * 2018-05-31 2018-11-23 北京橙鑫数据科技有限公司 The wireless mesh network method for building up of electronic apparatus system, device and system
CN111083055A (en) * 2019-11-26 2020-04-28 深圳市共进电子股份有限公司 Client device management method and device, router and storage medium
CN111182659A (en) * 2019-12-16 2020-05-19 深圳市共进电子股份有限公司 Mode switching method and mode switching device of Mesh equipment and Mesh equipment
CN111404779A (en) * 2020-03-12 2020-07-10 深圳市吉祥腾达科技有限公司 Method, device and system for testing role switching of router nodes
CN111800322A (en) * 2020-08-20 2020-10-20 深圳创维数字技术有限公司 mesh wired ad hoc network method, distributed routing device and equipment
US20210022070A1 (en) * 2018-03-30 2021-01-21 Interdigital Ce Patent Holdings Wireless access point and method for providing backup network connections

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141533A (en) * 2015-08-14 2015-12-09 江苏轩博电子科技有限公司 Router provided with human-computer interaction interface and setting method thereof
US20180270643A1 (en) * 2015-09-21 2018-09-20 Nicoventures Holdings Limited Transmission of data through a mesh network topology
US20210022070A1 (en) * 2018-03-30 2021-01-21 Interdigital Ce Patent Holdings Wireless access point and method for providing backup network connections
CN108882228A (en) * 2018-05-31 2018-11-23 北京橙鑫数据科技有限公司 The wireless mesh network method for building up of electronic apparatus system, device and system
CN111083055A (en) * 2019-11-26 2020-04-28 深圳市共进电子股份有限公司 Client device management method and device, router and storage medium
CN111182659A (en) * 2019-12-16 2020-05-19 深圳市共进电子股份有限公司 Mode switching method and mode switching device of Mesh equipment and Mesh equipment
CN111404779A (en) * 2020-03-12 2020-07-10 深圳市吉祥腾达科技有限公司 Method, device and system for testing role switching of router nodes
CN111800322A (en) * 2020-08-20 2020-10-20 深圳创维数字技术有限公司 mesh wired ad hoc network method, distributed routing device and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
何号: "连接式低功耗BLE Mesh组网研究与设计", 《中国优秀硕士学位论文全文数据库-基础科学辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114465947A (en) * 2022-02-15 2022-05-10 青岛海信宽带多媒体技术有限公司 Router and automatic role selection method of router in Mesh networking
CN114465947B (en) * 2022-02-15 2024-02-27 青岛海信宽带多媒体技术有限公司 Router and automatic role selection method for router in Mesh networking
CN114945192A (en) * 2022-07-25 2022-08-26 深圳市亿联无限科技有限公司 EasyMesh network rapid networking method and system

Also Published As

Publication number Publication date
CN112511402B (en) 2022-04-08

Similar Documents

Publication Publication Date Title
KR101914408B1 (en) Internet access authentication methods and clients, and computer storage media
CN112511402B (en) Role mode adjusting method and device, wireless mesh network equipment and storage medium
US10110774B2 (en) Communication apparatus
CN108366382B (en) WiFi automatic configuration method for mobile terminal
JP2009253811A (en) Terminal device, network connection method, and program
US20170086237A1 (en) Communication Apparatus
US11201950B2 (en) Non-transitory computer-readable recording medium for terminal device
CN106973380B (en) Method and device for switching APN
JP2016224484A (en) Thin client system, server device, policy management apparatus, control method, and control program
CN111147314A (en) Switch upgrading method, device and storage medium
CN103607290A (en) Method and device for setting network connection parameters
CN113708957B (en) Configuration method, terminal device and medium for server BMC
CN111934961A (en) Intelligent household network configuration method, equipment and computer readable storage medium
CN111818613A (en) Wireless network configuration method, device and storage medium
JP5723174B2 (en) Information processing program, information processing system, information processing apparatus, and information processing method
CN110278558B (en) Message interaction method and WLAN system
CN109951549B (en) Network page access method and device and computer readable storage medium
CN111464523A (en) Network monitoring method, terminal device and computer readable storage medium
CN109981365B (en) Data monitoring method and device, user equipment and storage medium
CN107241628B (en) Configuration synchronization method of television equipment, television equipment and storage medium
EP3001729B1 (en) Method and apparatus for selecting an ip type during roaming
CN114726905A (en) Method, device, equipment and storage medium for accessing Tbox network to Android system
CN111147269A (en) Access point configuration method, networking system, access point and storage medium
CN115883383B (en) Network extension communication method, device, equipment and storage medium
CN111147623A (en) Method for realizing whole-network host scanning, server and computer readable storage medium

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