CN110740460B - Network access method and device of equipment, network equipment and storage medium - Google Patents

Network access method and device of equipment, network equipment and storage medium Download PDF

Info

Publication number
CN110740460B
CN110740460B CN201911023457.3A CN201911023457A CN110740460B CN 110740460 B CN110740460 B CN 110740460B CN 201911023457 A CN201911023457 A CN 201911023457A CN 110740460 B CN110740460 B CN 110740460B
Authority
CN
China
Prior art keywords
mesh network
frame
network
host
equipment
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
CN201911023457.3A
Other languages
Chinese (zh)
Other versions
CN110740460A (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 CN201911023457.3A priority Critical patent/CN110740460B/en
Publication of CN110740460A publication Critical patent/CN110740460A/en
Application granted granted Critical
Publication of CN110740460B publication Critical patent/CN110740460B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/065Continuous authentication

Abstract

The embodiment of the invention discloses a network access method and device of equipment, network equipment and a storage medium, wherein the method comprises the following steps: the method comprises the steps that a first device broadcasts a detection request frame to a mesh network host to request to join a mesh network; the mesh network host generates and sends a detection response frame according to the detection request frame, wherein the detection response frame comprises first check information of the mesh network and a current channel of the mesh network; after receiving the detection response frame, the first device judges whether the host computer of the mesh network is in the same group with the host computer of the mesh network according to the first check information of the mesh network; if so, setting the channel of the first equipment and the current channel of the mesh network as the same channel; receiving a first beacon frame broadcast by a mesh network host through the same channel, wherein the content of the first beacon frame comprises authentication information of the mesh network; and sending a connection authentication frame to the mesh network host according to the authentication information of the mesh network so as to establish network connection between the first equipment and the mesh network host. The invention simplifies the user configuration, facilitates the understanding of the user and improves the user experience through the configuration-free automatic group mesh network.

Description

Network access method and device of equipment, network equipment and storage medium
Technical Field
The present invention relates to wireless network technologies, and in particular, to a method and an apparatus for accessing a device, a network device, and a storage medium.
Background
Mesh network (wireless Mesh network) usually comprises more than 2 wireless routers, forms holistic network between the Mesh network node, can solve the more complicated or big square meter user of ordinary user especially house type structure and have the signal dead angle when using wifi, the online card is pause scheduling problem, has the advantage of high bandwidth low time delay. In contrast to conventional switched networks, wireless Mesh networks remove the wiring requirements between nodes, but still have the redundancy mechanisms and rerouting functionality provided by distributed networks. In the wireless Mesh network, if a new device needs to be added, the device only needs to be simply connected with a power supply, and can automatically carry out self-configuration and determine the optimal multi-hop transmission path. When the device is added or moved, the network can automatically discover the topology change and automatically adjust the communication route to acquire the most effective transmission path.
At present, in the coverage range of the Mesh network, the seamless roaming and the non-jamming of the internet of the wireless mobile terminals such as the terminal and the like can be ensured according to the collected information and the algorithm preset by the system, and the good effect brought by the Mesh network is experienced. If the current Mesh network is not covered enough and a new Mesh node needs to be added, the general method is that the Mesh node is added through a wps key, the specific operation is that the wps key of a new device node needs to be pressed for a short time, and the wps key of another Mesh node device in the current Mesh network is pressed for a short time within 2 minutes, so that the new device can be added into the Mesh network, the coverage range is expanded, and the experience is improved.
The user manually configures, or leaves the factory and already specifies the state of the networking equipment, and then adds a new Mesh node through wps keys, so that the state operation of the machine is not troublesome for the user, and the user is not fixed, thereby reducing the experience effect of the user in the using process. If the two devices are far away from each other or the device placement positions are high, the key operation is inconvenient to execute, and the wps key of the other device cannot be pressed in time within 2 minutes easily, so that the connection is failed to be established, and the Mesh network cannot be smoothly added.
Disclosure of Invention
The embodiment of the invention provides a network access method and device of equipment, network equipment and a storage medium, which are used for determining a host by sensing the current network environment through the access equipment, then performing information interaction between the equipment according to a protocol standard to complete mesh networking, and needing no configuration by a user in the whole process.
In a first aspect, an embodiment of the present invention provides a network access method for a device, where the method is applied to a first device that is ready to join a mesh network, and includes:
broadcasting a detection request frame to a mesh network host to request to join the mesh network;
receiving a detection response frame fed back by the mesh network host based on the detection request frame, wherein the detection response frame comprises one or two of first check information of the mesh network and a current channel of the mesh network;
judging whether the host computer of the mesh network is in the same group with the host computer of the mesh network according to the first check information of the mesh network;
if so, setting the channel of the first equipment and the current channel of the mesh network as the same channel;
receiving a first beacon frame broadcast by a mesh network host through the same channel, wherein the content of the first beacon frame comprises authentication information of the mesh network;
and sending a connection authentication frame to the mesh network host according to the authentication information of the mesh network so as to establish network connection between the first equipment and the mesh network host.
Optionally, the content of the first beacon frame further includes second check-up information of the mesh network;
before sending a connection authentication frame to the mesh network host according to the authentication information of the mesh network to establish a network connection between the first device and the mesh network host, the method further includes:
checking whether the second check information of the mesh network is correct or not;
if so, sending a connection authentication frame to the mesh network host according to the authentication information of the mesh network, so that the first equipment establishes network connection with the mesh network host.
Optionally, the first beacon frame is a beacon broadcast frame.
Optionally, the beacon broadcast frame sets different content according to whether the wan port is connected.
Optionally, the beacon broadcast frame sets a first content when the wan port is communicated, where the first content includes one or more of a networking identifier, a manufacturer, mesh networking content, and an encryption factor.
Optionally, the beacon broadcast frame sets a second content when the wan port is not connected, where the second content includes one or more of a networking identifier, a vendor, a device name, and a serial number.
In a second aspect, an embodiment of the present invention further provides a network access method for a device, where the method is applied to a mesh network host in a mesh network, and includes:
receiving a detection request frame sent by first equipment;
generating and sending a detection response frame according to the detection request frame, wherein the detection response frame comprises one or two of first check information of the mesh network and a current channel of the mesh network;
broadcasting a first beacon frame to the first equipment, wherein the content of the first beacon frame comprises authentication information of a mesh network;
receiving a connection authentication frame sent by a first device, wherein the connection authentication frame is generated by the first device through the first beacon frame;
and establishing network connection with the first equipment according to the connection authentication frame.
Optionally, the first beacon frame is a beacon broadcast frame.
In a third aspect, an embodiment of the present invention further provides a network access apparatus for a device, where the apparatus is configured to a first device to be added to a mesh network, and the apparatus includes:
the request broadcasting unit is used for broadcasting a detection request frame to a mesh network host machine so as to request to join the mesh network;
the response receiving unit is used for receiving a detection response frame fed back by the mesh network host based on the detection request frame, and the detection response frame comprises one or two of first check information of the mesh network and a current channel of the mesh network;
the group judgment unit is used for judging whether the host computer of the mesh network is in the same group with the host computer of the mesh network according to the first check information of the mesh network;
the channel setting unit is used for setting the channel of the first equipment and the current channel of the mesh network as the same channel if the channel of the first equipment and the current channel of the mesh network are the same channel;
a content receiving unit, configured to receive a first beacon frame broadcast by a mesh network host through the same channel, where content of the first beacon frame includes authentication information of the mesh network;
and the authentication sending unit is used for sending a connection authentication frame to the mesh network host according to the authentication information of the mesh network so as to establish network connection between the first equipment and the mesh network host.
In a fourth aspect, an embodiment of the present invention further provides a network access device for a device, where the device is configured in a mesh network host in a mesh network, and the device includes:
a request receiving unit, configured to receive a probe request frame sent by a first device;
a response sending unit, configured to generate and send a probe response frame according to the probe request frame, where the probe response frame includes one or two of first check information of the mesh network and a current channel of the mesh network;
a beacon broadcasting unit, configured to broadcast a first beacon frame to the first device, where content of the first beacon frame includes authentication information of a mesh network;
an authentication receiving unit, configured to receive a connection authentication frame initiated by a first device, where the connection authentication frame is generated by the first device through the first beacon frame;
and the network connection unit is used for establishing network connection with the first equipment according to the connection authentication frame.
In a fifth aspect, an embodiment of the present invention further provides a network device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the network access method of the device in any of the foregoing embodiments.
In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the network access method of the device in any of the foregoing embodiments.
According to the technical scheme of the embodiment of the invention, the mesh network is automatically formed without configuration, so that the user configuration is simplified, the user can understand the mesh network conveniently, the user uses the networking equipment with zero configuration, and the user experience is improved.
Drawings
Fig. 1 is a schematic flowchart of a network access method of a device according to a first embodiment of the present invention;
fig. 2 is a schematic flowchart of a network access method of a device according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a network access device of a device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a network access device of an apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus in the fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in greater detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Furthermore, the terms "first," "second," and the like may be used herein to describe various orientations, actions, steps, elements, or the like, but the orientations, actions, steps, or elements are not limited by these terms. These terms are only used to distinguish one direction, action, step or element from another direction, action, step or element. For example, a first speed difference may be referred to as a second speed difference, and similarly, a second speed difference may be referred to as a first speed difference, without departing from the scope of the present application. The first speed difference and the second speed difference are both speed differences, but they are not the same speed difference. The terms "first", "second", etc. are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
The hardware structure related to the technical scheme of the invention comprises mesh network access equipment and a mesh network host, and the invention mainly aims at carrying out technical innovation when new equipment is added into a mesh network. Generally, a router or a network device provides a WEB UI or a mobile APP to perform configuration, maintenance and management on a mesh network, so that a user can conveniently query and configure related states of the mesh network, which all require the user to perform basic settings. In order to enable the method for adding the new device into the mesh to be more in line with the use habit of the user, the invention can automatically add the new device into the mesh network and provides a new scheme. The following describes in detail the implementation and steps of the present invention.
Example one
Fig. 1 is a schematic flow chart of a network access method for a device according to an embodiment of the present invention, which is applicable to a case where a first device to join a mesh network is prepared. The method of the embodiment of the present invention may be executed by a network access device of an apparatus, which may be implemented by software and/or hardware, and may be generally integrated in a router or a network device. Referring to fig. 1, a network access method of a device according to an embodiment of the present invention specifically includes the following steps:
step S110, broadcasting a detection request frame to a mesh network host to request to join the mesh network.
Specifically, the probe request frame refers to a signal that is broadcasted to the surrounding by the first device that is about to join the mesh network, and requests to join the mesh network, and includes but is not limited to a probe request frame, where the probe request frame may carry device identification information, vendor information, and the like of the device in addition to the request information, and those skilled in the art may set the probe request frame according to actual situations, which is not limited by the present invention.
And step S120, receiving a detection response frame fed back by the mesh host based on the detection request frame, wherein the detection response frame comprises one or two of first check information of the mesh and a current channel of the mesh.
Specifically, after receiving a probe request frame broadcast by the first device, the mesh network host generates a probe response frame according to the probe request frame, where the probe response frame refers to a response signal fed back to the first device and includes, but is not limited to, a probe response frame, and the probe response frame carries the first verification information of the mesh network and the current channel of the mesh network. The first check information of the mesh network refers to information provided by the mesh network host to the first device, and the first device judges whether to join or not according to the standard of the first device. For example, the first verification information may be manufacturer information of the mesh network, and the first device determines not to join the mesh network of the manufacturer. The current channel of the mesh network refers to a channel for wirelessly transmitting information between the host of the mesh network and the first device.
In the embodiment of the invention, after broadcasting the detection request frame to the mesh network host, the first device judges whether a detection response frame fed back by the mesh network host based on the detection request frame is received in time, and if the detection response frame is received, the next step is executed.
And step S130, judging whether the host computer of the mesh network is in the same group with the host computer of the mesh network according to the first check information of the mesh network.
And after receiving the detection response frame, the first equipment judges whether the equipment and the mesh host are in the same group or not according to the first check information of the mesh. Specifically, the first verification information may also be manufacturer information of the mesh network, and the first device determines that the first device should not join the mesh network of the manufacturer, or may also be an identification number, and the first device determines that the first device should not join the mesh network under the identification number.
And step S140, if so, setting the channel of the first device and the current channel of the mesh network as the same channel.
Specifically, if the first device detects that the first device is in the same group, the received probe response frame carries the current channel of the mesh network, and the channel of the first device and the current channel of the mesh network are set to be the same channel and used for wirelessly receiving the first beacon frame sent by the host of the mesh network.
Step S150, receiving a first beacon frame broadcast by the mesh network host through the same channel, where the content of the first beacon frame includes authentication information of the mesh network.
Specifically, after a channel of the first device and a current channel of the mesh network are set to be the same channel, a first beacon frame broadcasted by the host of the mesh network is received through the same channel, the first beacon frame includes but is not limited to a beacon broadcast frame, and the content of the beacon broadcast frame includes authentication information of the mesh network. In the invention, after the content of the beacon broadcast frame is set, the mesh network host continuously sends the beacon broadcast frame, and the first equipment actively initiates a request to set the same channel and then receives the beacon broadcast frame.
As an optional embodiment, the beacon broadcast frame sets different contents according to whether the wan port is connected, and if the mesh network host accesses the wan port and the current wan port is already connected to the internet, the contents of the beacon frame are set as the first contents, including a networking identifier (necessary) + a provider (not necessary) + mesh networking contents (necessary) + an encryption factor (not necessary). If the wan port line is pulled out, the beacon frame content is set as a second content, which includes a networking identifier (necessary) + a manufacturer (not necessary) + a device name (not necessary) + a serial number (necessary). And if the wan port line is reinserted and connected to the internet, resetting the content of the beacon frame as the first content, and thus continuously circulating.
As an alternative embodiment, the content of the first beacon frame further comprises second check-up information of the mesh network. The second check information may be an account password assigned to the first device by the mesh network host, and whether the second check information is correct or not is checked, and if the second check information is correct, the next step is executed.
Step S160, sending a connection authentication frame to the mesh network host according to the authentication information of the mesh network, so that the first device and the mesh network host establish network connection.
Specifically, after receiving the first beacon frame, the first device sends a connection authentication frame to the mesh network host according to authentication information of the mesh network in the first beacon frame, where the connection authentication frame is a signal request for establishing network connection between the two devices for wireless transmission, and the network connection can be established only if the mesh network host passes authentication and agrees to join the first device.
According to the technical scheme of the embodiment of the invention, the mesh network is automatically formed without configuration, so that the user configuration is simplified, the user can understand the mesh network conveniently, the user uses the networking equipment with zero configuration, and the user experience is improved.
Example two
Fig. 2 is a flowchart illustrating a network access method for a device according to a second embodiment of the present invention, where the second embodiment of the present invention is applicable to a mesh network host in a mesh network. The method of the embodiment of the present invention may be executed by a network access device of an apparatus, which may be implemented by software and/or hardware, and may be generally integrated in a router or a network device. Referring to fig. 2, the network access method of the device according to the embodiment of the present invention specifically includes the following steps:
step S210, receiving a probe request frame sent by the first device.
Specifically, the probe request frame refers to a signal that is broadcasted to the surrounding by the first device and requests to join the mesh network, and includes, but is not limited to, a probe request frame, where the probe request frame may carry, in addition to the request information, device identification information, vendor information, and the like of the first device, and a person skilled in the art may set the probe request frame according to an actual situation, which is not limited by the present invention.
And step S220, generating and sending a detection response frame according to the detection request frame, wherein the detection response frame comprises one or two of first check information of the mesh network and a current channel of the mesh network.
Specifically, after receiving a probe request frame broadcast by the first device, the mesh network host generates a probe response frame according to the probe request frame, where the probe response frame refers to a response signal fed back to the first device and includes, but is not limited to, a probe response frame, and the probe response frame carries the first verification information of the mesh network and the current channel of the mesh network. And receiving and setting the channel of the first device and the channel of the mesh network host to be the same channel by the first device so as to receive the first beacon frame.
Step S230, broadcasting a first beacon frame to the first device, where the content of the first beacon frame includes authentication information of the mesh network.
Specifically, the mesh network host may continuously and cyclically broadcast a first beacon frame, where the first beacon frame includes, but is not limited to, a beacon broadcast frame, and the content of the beacon broadcast frame includes authentication information of the mesh network.
Step S240, receiving a connection authentication frame sent by a first device, where the connection authentication frame is generated by the first device through the first beacon frame.
Specifically, after receiving the first beacon frame, the first device extracts authentication information carried by the first beacon frame, generates a connection authentication frame according to the authentication information, and sends the connection authentication frame to the mesh network host. And the mesh network host executes the next step after receiving the connection authentication frame.
And step S250, establishing network connection with the first equipment according to the connection authentication frame.
Specifically, after receiving the connection authentication frame, the mesh network host can establish network connection only if the authentication passes and the first device is allowed to join. And if the authentication is not passed, refusing the first equipment to join the mesh network.
According to the technical scheme of the embodiment of the invention, the mesh network is automatically formed without configuration, so that the user configuration is simplified, the user can understand the mesh network conveniently, the user uses the networking equipment with zero configuration, and the user experience is improved.
EXAMPLE III
The network access device of the device provided by the embodiment of the present invention may execute the network access method of the device provided by any embodiment of the present invention, has the corresponding functional modules and beneficial effects of the execution method, may be implemented by software and/or hardware (integrated circuit), and may be generally integrated in a router or a network device. Fig. 3 is a schematic structural diagram of a network access device 300 of an apparatus according to a third embodiment of the present invention. Referring to fig. 3, a network access apparatus 300 of the device according to the embodiment of the present invention may specifically include:
a request broadcasting unit 310, configured to broadcast a probe request frame to a mesh network host to request to join the mesh network;
a response receiving unit 320, configured to receive a probe response frame fed back by the mesh host based on the probe request frame, where the probe response frame includes one or two of first check information of the mesh network and a current channel of the mesh network;
a group judgment unit 330, configured to judge whether the host computer in the mesh network is in the same group as the host computer in the mesh network according to the first check information of the mesh network;
a channel setting unit 340, configured to set, if yes, that the channel of the first device and the current channel of the mesh network are the same channel;
a content receiving unit 350, configured to receive, through the same channel, a first beacon frame broadcast by a mesh network host, where content of the first beacon frame includes authentication information of the mesh network;
and an authentication sending unit 360, configured to send a connection authentication frame to the mesh network host according to the authentication information of the mesh network, so that the first device establishes a network connection with the mesh network host.
Optionally, the content of the first beacon frame further includes second verification information of the mesh network; the apparatus 300 further comprises:
the verification checking unit is used for checking whether the second verification information of the mesh network is correct or not; if so, sending a connection authentication frame to the mesh network host according to the authentication information of the mesh network, so that the first equipment establishes network connection with the mesh network host.
Optionally, the first beacon frame is a beacon broadcast frame.
Optionally, the beacon broadcast frame sets different content according to whether the wan port is connected.
According to the technical scheme of the embodiment of the invention, the mesh network is automatically formed without configuration, so that the user configuration is simplified, the user can understand the mesh network conveniently, the user uses the networking equipment with zero configuration, and the user experience is improved.
Example four
The network access device of the device provided by the embodiment of the present invention may execute the network access method of the device provided by any embodiment of the present invention, has the corresponding functional modules and beneficial effects of the execution method, may be implemented by software and/or hardware (integrated circuit), and may be generally integrated in a router or a network device. Fig. 4 is a schematic structural diagram of a network access apparatus 400 of a device according to a fourth embodiment of the present invention. Referring to fig. 4, a network access apparatus 400 of the device according to the embodiment of the present invention may specifically include:
a request receiving unit 410, configured to receive a probe request frame sent by a first device;
a response sending unit 420, configured to generate and send a probe response frame according to the probe request frame, where the probe response frame includes one or both of the first check information of the mesh network and a current channel of the mesh network;
a beacon broadcasting unit 430, configured to broadcast a first beacon frame to the first device, where content of the first beacon frame includes authentication information of a mesh network;
an authentication receiving unit 440, configured to receive a connection authentication frame initiated by a first device, where the connection authentication frame is generated by the first device through the first beacon frame;
a network connection unit 450, configured to establish a network connection with the first device according to the connection authentication frame.
Optionally, the first beacon frame is a beacon broadcast frame.
According to the technical scheme of the embodiment of the invention, the mesh network is automatically formed without configuration, so that the user configuration is simplified, the user can understand the mesh network conveniently, the user uses the networking equipment with zero configuration, and the user experience is improved.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a network device according to a fifth embodiment of the present invention, as shown in fig. 5, the network device includes a processor 510, a memory 520, an input device 530, and an output device 540; the number of the processors 510 in the network device may be one or more, and one processor 510 is taken as an example in fig. 5; the processor 510, the memory 520, the input device 530, and the output device 540 in the network apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 5.
The memory 520 is a computer-readable storage medium and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the network access method of the device in the embodiment of the present invention (for example, the request broadcasting unit 310, the response receiving unit 320, the peer group judging unit 330, the channel setting unit 340, the content receiving unit 350, and the authentication transmitting unit 360 in the network access apparatus 300 of the device; and also, for example, the request receiving unit 410, the response transmitting unit 420, the beacon broadcasting unit 430, the authentication receiving unit 440, and the network connecting unit 450 in the network access apparatus 400 of the device). The processor 510 executes various functional applications and data processing of the network device by executing software programs, instructions and modules stored in the memory 520, so as to implement the network access method of the device.
The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 520 may further include memory located remotely from processor 510, which may be connected to a network device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the network device. The output device 540 may include a display device such as a display screen.
It should be noted that, when the device in this embodiment is used as a first device to be added to a mesh network, the processor 510 executes various functional applications and data processing by running a program stored in the system memory 520, for example, a method for implementing network access of the device provided in this embodiment of the present invention includes:
broadcasting a detection request frame to a mesh network host to request to join the mesh network;
receiving a detection response frame fed back by the mesh host machine based on the detection request frame, wherein the detection response frame comprises one or two of first check information of the mesh network and a current channel of the mesh network;
judging whether the host computer of the mesh network is in the same group with the host computer of the mesh network according to the first check information of the mesh network;
if so, setting the channel of the first equipment and the current channel of the mesh network as the same channel;
receiving a first beacon frame broadcast by a mesh network host through the same channel, wherein the content of the first beacon frame comprises authentication information of the mesh network;
and sending a connection authentication frame to the mesh network host according to the authentication information of the mesh network so as to establish network connection between the first equipment and the mesh network host.
Of course, the processor of the network device provided in the embodiment of the present invention is not limited to execute the method operations described above, and may also execute related operations in the network access method of the device provided in any embodiment of the present invention.
It should be noted that, when the device in this embodiment is used as a mesh network host, the processor 510 executes various functional applications and data processing by running the program stored in the system memory 520, for example, to implement a network access method of the device provided in this embodiment of the present invention, where the method includes:
receiving a detection request frame sent by first equipment;
generating and sending a detection response frame according to the detection request frame, wherein the detection response frame comprises one or two of first check information of a mesh network and a current channel of the mesh network;
broadcasting a first beacon frame to the first equipment, wherein the content of the first beacon frame comprises authentication information of a mesh network;
receiving a connection authentication frame sent by a first device, wherein the connection authentication frame is generated by the first device through the first beacon frame;
and establishing network connection with the first equipment according to the connection authentication frame.
Of course, the processor of the device provided in the embodiment of the present invention is not limited to execute the method operations described above, and may also execute related operations in the network access method of the device provided in any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, the mesh network is automatically formed without configuration, so that the user configuration is simplified, the user can understand the mesh network conveniently, the user uses the networking equipment with zero configuration, and the user experience is improved.
EXAMPLE six
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a network entry method for a device, the method including:
broadcasting a detection request frame to a mesh network host to request to join the mesh network;
receiving a detection response frame fed back by the mesh network host based on the detection request frame, wherein the detection response frame comprises one or two of first check information of the mesh network and a current channel of the mesh network;
judging whether the host computer of the mesh network is in the same group with the host computer of the mesh network according to the first check information of the mesh network;
if so, setting the channel of the first equipment and the current channel of the mesh network as the same channel;
receiving a first beacon frame broadcast by a mesh network host through the same channel, wherein the content of the first beacon frame comprises authentication information of the mesh network;
and sending a connection authentication frame to the mesh network host according to the authentication information of the mesh network so as to establish network connection between the first equipment and the mesh network host.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the network access method of the device provided by any embodiment of the present invention.
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a network entry method for a device, the method including:
receiving a detection request frame sent by first equipment;
generating and sending a detection response frame according to the detection request frame, wherein the detection response frame comprises one or two of first check information of the mesh network and a current channel of the mesh network;
broadcasting a first beacon frame to the first equipment, wherein the content of the first beacon frame comprises authentication information of a mesh network;
receiving a connection authentication frame sent by a first device, wherein the connection authentication frame is generated by the first device through the first beacon frame;
and establishing network connection with the first equipment according to the connection authentication frame.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the network access method of the device provided by any embodiment of the present invention.
The computer-readable storage media of embodiments of the invention may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or terminal. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
According to the technical scheme of the embodiment of the invention, the mesh network is automatically formed without configuration, so that the user configuration is simplified, the user can understand the mesh network conveniently, the user uses the networking equipment with zero configuration, and the user experience is improved.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. A network access method of a device, the method being applied to a first device that is to join a mesh network, the method comprising:
broadcasting a detection request frame to a mesh network host to request to join the mesh network;
receiving a detection response frame fed back by the mesh network host based on the detection request frame, wherein the detection response frame comprises one or two of first check information of the mesh network and a current channel of the mesh network;
judging whether the host machine of the mesh network is in the same group with the host machine of the mesh network according to the first check information of the mesh network;
if so, setting the channel of the first equipment and the current channel of the mesh network as the same channel;
receiving a first beacon frame broadcast by a mesh network host through the same channel, wherein the content of the first beacon frame comprises authentication information of the mesh network;
sending a connection authentication frame to the mesh network host according to the authentication information of the mesh network so as to enable the first equipment to establish network connection with the mesh network host;
the content of the first beacon frame also comprises second check-up information of the mesh network;
before sending a connection authentication frame to the mesh network host according to the authentication information of the mesh network to establish a network connection between the first device and the mesh network host, the method further includes:
checking whether the second check information of the mesh network is correct or not;
if so, sending a connection authentication frame to the mesh network host according to the authentication information of the mesh network, so that the first equipment establishes network connection with the mesh network host.
2. The network entry method of the device of claim 1, wherein the first beacon frame is a beacon broadcast frame.
3. The network access method of the device according to claim 2, wherein the beacon broadcast frame sets different contents according to whether wan ports are connected.
4. The device networking method according to claim 3, wherein the beacon broadcast frame sets a first content when the wan port is connected, and the first content includes one or more of a networking identifier, a manufacturer, mesh networking content, and an encryption factor.
5. The network access method of the device according to claim 3, wherein the beacon broadcast frame sets a second content when the wan port is disconnected, and the second content includes one or more of a networking identifier, a manufacturer, a device name, and a serial number.
6. A network access method of equipment is applied to a mesh network host in a mesh network, and is characterized by comprising the following steps:
receiving a detection request frame sent by first equipment;
generating and sending a detection response frame according to the detection request frame, wherein the detection response frame comprises one or two of first check information of the mesh network and a current channel of the mesh network;
broadcasting a first beacon frame to the first equipment, wherein the content of the first beacon frame comprises authentication information of a mesh network;
receiving a connection authentication frame sent by a first device, wherein the connection authentication frame is generated by the first device through the first beacon frame;
establishing network connection with the first equipment according to the connection authentication frame;
the verification checking unit is used for checking whether the second verification information of the mesh network is correct or not; if so, sending a connection authentication frame to the mesh network host according to the authentication information of the mesh network, so that the first equipment establishes network connection with the mesh network host.
7. The network access method of the device of claim 6, wherein the first beacon frame is a beacon broadcast frame.
8. A network device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements a network entry method of the device according to any of claims 1-5 or a network entry method of the device according to any of claims 6-7 when executing the computer program.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method for network entry of a device according to any one of claims 1 to 5 or the method for network entry of a device according to any one of claims 6 to 7.
CN201911023457.3A 2019-10-25 2019-10-25 Network access method and device of equipment, network equipment and storage medium Active CN110740460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911023457.3A CN110740460B (en) 2019-10-25 2019-10-25 Network access method and device of equipment, network equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911023457.3A CN110740460B (en) 2019-10-25 2019-10-25 Network access method and device of equipment, network equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110740460A CN110740460A (en) 2020-01-31
CN110740460B true CN110740460B (en) 2023-03-21

Family

ID=69271415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911023457.3A Active CN110740460B (en) 2019-10-25 2019-10-25 Network access method and device of equipment, network equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110740460B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800322B (en) * 2020-08-20 2022-03-08 深圳创维数字技术有限公司 mesh wired ad hoc network method, distributed routing device and equipment
CN111885680A (en) * 2020-09-11 2020-11-03 普联技术有限公司 Method, system and core equipment for establishing network connection
CN112787884B (en) * 2020-12-28 2022-09-30 北京小米移动软件有限公司 Networking method and device and storage medium
CN112770370B (en) * 2021-01-28 2023-04-18 青岛海尔空调器有限总公司 Method and device for intelligent equipment to access network and intelligent equipment
CN112911507B (en) * 2021-01-29 2023-03-24 青岛海尔空调器有限总公司 Network access method and device for intelligent equipment and intelligent equipment
CN113115403B (en) 2021-03-25 2023-05-30 北京小米移动软件有限公司 Method, device, electronic equipment and storage medium for network node to access network
CN116017310A (en) * 2021-10-22 2023-04-25 华为技术有限公司 Network access method and device
CN113950010B (en) * 2021-12-20 2022-04-01 博为科技有限公司 Mesh-based automatic networking opening method and related equipment
CN114302433B (en) * 2021-12-28 2023-09-01 深圳市创维软件有限公司 Mesh networking method for multiple devices, device and readable storage medium
CN114615688B (en) * 2022-03-30 2022-09-30 广州芯德通信科技股份有限公司 Close-distance automatic configuration method between WiFi hotspot device and current access device
CN115606250A (en) * 2022-05-16 2023-01-13 北京小米移动软件有限公司(Cn) Network access method and device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104823488A (en) * 2013-05-06 2015-08-05 Lg电子株式会社 Method and apparatus for active scanning in wireless lan
CN108924907A (en) * 2018-06-22 2018-11-30 四川斐讯信息技术有限公司 A kind of fast access method of wireless network, system and for net equipment
CN109963352A (en) * 2019-04-08 2019-07-02 乐鑫信息科技(上海)股份有限公司 Method of network entry, device, equipment and the storage medium of equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7814322B2 (en) * 2005-05-03 2010-10-12 Sri International Discovery and authentication scheme for wireless mesh networks
KR101421732B1 (en) * 2008-01-11 2014-07-24 엘지전자 주식회사 Active scan method for forming mesh network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104823488A (en) * 2013-05-06 2015-08-05 Lg电子株式会社 Method and apparatus for active scanning in wireless lan
CN108924907A (en) * 2018-06-22 2018-11-30 四川斐讯信息技术有限公司 A kind of fast access method of wireless network, system and for net equipment
CN109963352A (en) * 2019-04-08 2019-07-02 乐鑫信息科技(上海)股份有限公司 Method of network entry, device, equipment and the storage medium of equipment

Also Published As

Publication number Publication date
CN110740460A (en) 2020-01-31

Similar Documents

Publication Publication Date Title
CN110740460B (en) Network access method and device of equipment, network equipment and storage medium
US11201814B2 (en) Configuration of networks using switch device access of remote server
US10142342B2 (en) Authentication of client devices in networks
US9813291B2 (en) Shortest path bridging (SPB) configuration of networks using client device access of remote
KR101743195B1 (en) Method and apparatus for providing information, program and recording medium
CN112291079B (en) Network service configuration method and network management equipment
WO2015116681A1 (en) Context-aware and proximity-aware service layer connectivity management
CN110636483A (en) Network distribution method and system
CN107113892B (en) Method and device for automatically networking gateway equipment
US9370031B2 (en) Wireless network setup and configuration distribution system
CN105099985A (en) Login method and device of multiple applications
CN103974376A (en) Network connection assisting system and method
US20150271016A1 (en) Configuration of networks with server cluster device
CN105338529A (en) Wireless network connecting method and system
JPWO2011129115A1 (en) Terminal device and registration method thereof
JP2020534605A (en) Service layer message template in communication network
CN105915416B (en) Information processing method and terminal equipment
CN113132967A (en) Fusion networking method, device, system and computer readable storage medium
CN113132958B (en) Fusion networking method, device, system and computer readable storage medium
US20160294465A1 (en) Information collection system, relay terminal, control method for relay terminal to connect to center system, sensor terminal, and control method for sensor terminal to connect to center system
CN110535746B (en) Virtual private network VPN sharing method and device, electronic equipment and storage medium
CN113396600B (en) Information verification method, device, equipment and storage medium
CN112817248A (en) Shared device management method and device, storage medium and electronic device
CN113132981A (en) Intelligent terminal network access method and system
CN112073197A (en) Control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant