WO2023124263A1 - 接入WiFi Mesh网络的方法、节点和计算机可读存储介质 - Google Patents
接入WiFi Mesh网络的方法、节点和计算机可读存储介质 Download PDFInfo
- Publication number
- WO2023124263A1 WO2023124263A1 PCT/CN2022/119371 CN2022119371W WO2023124263A1 WO 2023124263 A1 WO2023124263 A1 WO 2023124263A1 CN 2022119371 W CN2022119371 W CN 2022119371W WO 2023124263 A1 WO2023124263 A1 WO 2023124263A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- node
- mesh network
- nfc tag
- wifi mesh
- information
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/18—Selecting a network or a communication service
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present disclosure relates to the field of communication technology, in particular to a method, node and computer-readable storage medium for accessing a WiFi Mesh network.
- CPE Customer Premises Equipment
- the purpose of the embodiments of the present disclosure is to provide a method for accessing a WiFi Mesh network, a node, and a computer-readable storage medium, so as to enable devices to conveniently access the WiFi Mesh network and improve the convenience of WiFi Mesh networking.
- Embodiments of the present disclosure provide a method for accessing a WiFi Mesh network, which is applied to a first node in a WiFi Mesh network, including: near field communication (Near Field Communication, referred to as "NFC”) upon sensing a second node When the field strength is high, confirm whether the NFC tag of the second node includes the information requesting to join the WiFi Mesh network; if the NFC tag of the second node includes the information, update the verification information in the NFC tag of the first node to The first verification information is for the second node to read and join the WiFi Mesh network according to the first verification information.
- NFC Near Field Communication
- Embodiments of the present disclosure also provide a method for accessing a WiFi Mesh network, which is applied to a second node, and the NFC tag of the second node includes information requesting to join the WiFi Mesh network.
- the method includes: sensing the WiFi Mesh network When the NFC field strength of the first node in the first node, read the first verification information used to join the WiFi Mesh network in the NFC tag of the first node; join the WiFi Mesh network according to the first verification information.
- the embodiment of the present disclosure also provides a first node, including: a confirmation module, used to confirm whether the NFC tag of the second node includes information requesting to join the WiFi Mesh network when the NFC field strength of the second node is sensed ;
- the update module is used to update the verification information in the NFC tag of the first node to the first verification information when the information is included in the NFC tag of the second node, for the second node to read and verify according to the first information to join the WiFi Mesh network.
- the embodiment of the present disclosure also provides a second node, the NFC tag of the second node includes information requesting to join the WiFi Mesh network, and the second node includes: a reading module, which is used to detect the first node in the WiFi Mesh network When the NFC field strength of a node is strong, read the first verification information used to join the WiFi Mesh network in the NFC tag of the first node; the networking module is used to join the WiFi Mesh network according to the first verification information.
- Embodiments of the present disclosure also provide a network node, including: at least one processor; and a memory connected in communication with the at least one processor; wherein, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by at least one processor. Executed by a processor, so that at least one processor can execute the above method for accessing the WiFi Mesh network.
- Embodiments of the present disclosure also provide a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the above-mentioned method for accessing a WiFi Mesh network is realized.
- Fig. 1 is a flow chart of a method for accessing a WiFi Mesh network according to an embodiment of the present disclosure
- FIG. 2 is a schematic diagram of an application scenario of a method for accessing a WiFi Mesh network according to an embodiment of the present disclosure
- Fig. 3 is a flow chart of a method for accessing a WiFi Mesh network according to another embodiment of the present disclosure
- Fig. 4 is a schematic structural diagram of a first node according to an embodiment of the present disclosure.
- Fig. 5 is a schematic structural diagram of a second node according to an embodiment of the present disclosure.
- Fig. 6 is a schematic structural diagram of a network node according to another implementation manner of the present disclosure.
- An embodiment of the present disclosure relates to a method for accessing a WiFi Mesh network, which is applied to a first node in the WiFi Mesh network.
- the first node when the first node senses the NFC field strength of the second node, it confirms whether the NFC tag of the second node includes information requesting to join the WiFi Mesh network; the information is included in the NFC tag of the second node In the case of , the verification information in the NFC tag of the first node is updated to the first verification information for the second node to read and join the WiFi Mesh network according to the first verification information.
- the application scenario of this embodiment is shown in FIG. 2 .
- the first node in the WiFi Mesh network involved in this embodiment may include a routing device or CPE that has already accessed the Internet, and the second node may include a routing device or CPE that does not belong to the WiFi Mesh.
- Both nodes are pre-deployed with Near Field Communication ("NFC") modules, and have a card reader function, that is, an NFC Reader function for reading NFC information.
- NFC Near Field Communication
- the NFC module in the node here may be a chip with functions such as an NFC card reader.
- Step 101 when sensing the NFC field strength of the second node, confirm whether the NFC tag of the second node includes information requesting to join the WiFi Mesh network.
- the first node senses the NFC field strength of the second node, indicating that the NFC module of the second node is close to the NFC module of the first node. Then the first node confirms whether the approach of the second node is to request to join the WiFi Mesh network by confirming whether the NFC tag of the second node includes the information of requesting to join the WiFi Mesh network.
- the information involved in this step to request to join the WiFi Mesh network can be the field of requesting to join the WiFi Mesh network written in advance in the NFC tag of the routing device as the second node, such as JOIN_MESH_REQ, etc.
- the above field can be written in the sub-routing device, and it can be used as the second node in this embodiment.
- the first node After the first node clears the above field requesting to join the WiFi Mesh network in its NFC tag, it can write the second verification information for connecting to WiFi in its NFC tag, so that the user equipment can access WiFi through the second verification information network.
- Step 102 in the case that the NFC tag of the second node includes the above information, update the verification information in the NFC tag of the first node to the first verification information for the second node to read and join WiFi according to the first verification information Mesh network.
- the first node updates the verification information in its NFC tag to the first verification information, so that the second node can use the pre-configured card reader function to read the first verification information, and join the WiFi Mesh network according to the first verification information .
- the first verification information involved in this step is the verification information used to join the WiFi Mesh network.
- the first node updates the verification information in the NFC tag of the first node to the second verification information; receives the NFC tag of the second node periodically sent by the second node information in the NFC tag of the second node; when the information in the NFC tag of the second node is different from the second verification information, the second verification information is sent to the second node for the second node to update to the NFC tag of the second node.
- the first node first updates the verification information in the NFC tag to the second verification information, so that the user equipment can read the second verification information and access the WiFi network according to the second verification information. Further, it is periodically detected whether the information in the NFC tag of the second node is the same as the second verification information, and if they are different, the second verification information is sent to the second node. It can ensure that the second verification information in the second node is consistent with the first node, so that when the user equipment joins WiFi through different routing devices in the WiFi Mesh, it joins the same WiFi network. Avoid different second authentication information used to connect to WiFi in different routing devices in WiFi Mesh, which will cause problems when users connect to the Internet through different routing devices.
- the second verification information in the NFC tags of the first node and the second node needs to be periodically detected and unified.
- the second node After the second node joins the WiFi Mesh network, it can also clear the above-mentioned field requesting to join the WiFi Mesh network in its NFC tag, and update it to represent the field that has joined the WiFi Mesh network, such as JOIN_MESH_COMPLETE.
- the method before confirming whether the NFC tag of the second node includes information requesting to join the WiFi Mesh network, it also includes: prohibiting the NFC tag of the first node from being read; After the verification information is updated to the first verification information, the method further includes: allowing the NFC tag of the first node to be read.
- the NFC tag of the first node is prohibited from being read, which can prevent the second node from Read other information including the second verification information in the NFC tag of the first node, resulting in the verification information read by the second node is not the first verification information used to join the WiFi Mesh network, and cannot access the WiFi Mesh purpose of the network.
- Both the first verification information and the second verification information involved in this embodiment may include: a Service Set Identifier (SSID), a key, authentication information, and encryption information.
- SSID Service Set Identifier
- the first node in the WiFi Mesh network when the first node in the WiFi Mesh network senses the NFC field strength of the second node, it can use the NFC information reading function pre-configured in the first node to confirm the information in the NFC tag of the second node. Whether to include information about requesting to join a WiFi Mesh network.
- the first node updates the verification information in the NFC tag to the first verification information, which is read by the second node and based on the first verification information Join a WiFi Mesh network.
- the second node can access the WiFi Mesh network according to the verification information in the NFC tag of the first node. It can greatly reduce the complexity of connecting devices to the WiFi Mesh network, improve the convenience of WiFi Mesh networking, and effectively improve the user experience.
- An embodiment of the present disclosure relates to a method for accessing a WiFi Mesh network, which is applied to a second node, and the NFC tag of the second node includes information requesting to join the WiFi Mesh network.
- the second node when the second node senses the NFC field strength of the first node in the WiFi Mesh network, it reads the first verification information used to join the WiFi Mesh network in the NFC tag of the first node; according to the first node 1. Verification information to join the WiFi Mesh network.
- Step 201 when sensing the NFC field strength of the first node in the WiFi Mesh network, read the first verification information for joining the WiFi Mesh network in the NFC tag of the first node.
- the second node approaches the first node and requests to join the WiFi Mesh network. Then the second node reads the first authentication information for joining the WiFi Mesh network in the NFC tag of the first node.
- Step 202 join the WiFi Mesh network according to the first verification information.
- This step may include, after the second node reads the SSID used to join the WiFi Mesh of the first node, starts the Station process for scanning the SSID and establishing the Mesh channel. After the second node scans the SSID of the first node, it performs operations such as filling in information such as a secret key, and then connects to the WiFi of the first node. After the connection is successful, the Mesh channel between the two nodes is successfully established, indicating that the second node has successfully joined the WiFi Mesh network.
- the second node after the second node joins the WiFi Mesh network, it deletes the information requesting to join the WiFi Mesh network in the NFC tag of the second node, and writes the information indicating that it has joined the WiFi Mesh network in the NFC tag; A node periodically sends the information in the NFC label of the second node; when the information in the NFC label of the second node is different from the second verification information in the NFC label of the first node, the second verification information sent by the first node is received information, and update it to the NFC tag of the second node.
- the information that characterizes that the WiFi Mesh network has been joined in this embodiment may be a field that characterizes that the WiFi Mesh network has been joined, such as JOIN_MESH_COMPLETE, etc.
- the second node may send the information in the NFC tag of the second node to the first node through the established Mesh channel with the first node.
- Multiple second nodes access the WiFi Mesh network through the method provided by this embodiment, and can complete the networking work of a multi-hop WiFi Mesh network.
- the second node including the information requesting to join the WiFi Mesh network in the NFC tag can use the NFC information reading function pre-configured in the second node when sensing the NFC field strength of the first node, Read the first verification information used to join the WiFi Mesh network in the NFC tag of the first node. The second node then joins the WiFi Mesh network according to the first verification information. As long as the NFCs of the two nodes are close to each other, the second node can access the WiFi Mesh network according to the verification information in the NFC tag of the first node. It can greatly reduce the complexity of connecting devices to the WiFi Mesh network, improve the convenience of WiFi Mesh networking, and effectively improve the user experience.
- An embodiment of the present disclosure relates to a first node, as shown in FIG. 4 , including a confirmation module 301 and an update module 302, wherein the confirmation module 301 is configured to confirm that the second node In the NFC tag of the two nodes, whether to include the information of requesting to join the WiFi Mesh network; the update module 302, for including the information in the NFC tag of the second node, update the verification information in the NFC tag of the first node to The first verification information is for the second node to read and join the WiFi Mesh network according to the first verification information.
- the first node may also include: an interaction module (not shown in the figure), which is used to update the verification information in the NFC tag of the first node to the second verification after the second node joins the WiFi Mesh network information; receive the information in the NFC tag of the second node periodically sent by the second node; when the information in the NFC tag of the second node is different from the second verification information, send the second verification information to the second node for The second node is updated into the NFC tag of the second node.
- an interaction module not shown in the figure
- the first node may also include: a read authority setting module (not shown in the figure), before confirming whether the NFC tag of the second node includes the information requesting to join the WiFi Mesh network, prohibiting the first node's The NFC tag is read; after the verification information in the NFC tag of the first node is updated to the first verification information, the NFC tag of the first node is allowed to be read.
- a read authority setting module not shown in the figure
- the NFC tag of the second node includes information requesting to join a WiFi Mesh network, including a reading module 401 and a networking module 402, wherein the reading Module 401 is used to read the first verification information used to join the WiFi Mesh network in the NFC tag of the first node when sensing the NFC field strength of the first node in the WiFi Mesh network; the networking module 402 uses To join the WiFi Mesh network according to the first verification information.
- the second node can also include: an update module (not shown in the figure), used to delete the information of requesting to join the WiFi Mesh network in the NFC tag of the second node after joining the WiFi Mesh network, and Write in the NFC tag the information representing the already joined WiFi Mesh network; periodically send the information in the NFC tag of the second node to the first node; When the second verification information is different, the second verification information sent by the first node is received and updated into the NFC tag of the second node.
- an update module not shown in the figure
- a logical unit can be a physical unit, or a part of a physical unit, and can also be realized by a combination of multiple physical units. .
- units that are not closely related to solving the technical problem proposed by the present disclosure are not introduced in this embodiment, but this does not mean that there are no other units in this embodiment.
- Embodiments of the present disclosure also provide a network node, as shown in FIG. 6 , including at least one processor 501; and a memory 502 communicatively connected to at least one processor 501; wherein, the memory 502 stores information that can be processed by at least one
- the instructions executed by the processor 501 are executed by at least one processor 501, so that the at least one processor 501 can execute the above-mentioned method for accessing a WiFi Mesh network.
- the memory 502 and the processor 501 are connected by a bus, and the bus may include any number of interconnected buses and bridges, and the bus connects one or more processors 501 and various circuits of the memory 502 together.
- the bus may also connect together various other circuits such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and therefore will not be further described herein.
- the bus interface provides an interface between the bus and the transceivers.
- a transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing means for communicating with various other devices over a transmission medium.
- the data processed by the processor 501 is transmitted on the wireless medium through the antenna.
- the antenna also receives the data and transmits the data to the processor 501 .
- the processor 501 is responsible for managing the bus and general processing, and may also provide various functions including timing, peripheral interface, voltage regulation, power management, and other control functions. And the memory 502 may be used to store data used by the processor 501 when performing operations.
- Embodiments of the present disclosure also provide a computer-readable storage medium storing a computer program.
- the computer program is executed by the processor, the above method for accessing the WiFi Mesh network is realized.
- the program is stored in a storage medium and includes several instructions, so that a device (can It is a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present disclosure.
- the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本公开涉及通信技术领域,公开了一种接入WiFi Mesh网络的方法、节点和计算机可读存储介质。本公开中,该接入WiFi Mesh网络的方法,包括:在感应到第二节点的NFC场强时,确认第二节点的NFC标签中是否包括请求加入WiFi Mesh网络的信息;在第二节点中包括该信息的情况下,将第一节点的NFC标签中的验证信息更新为第一验证信息,供第二节点读取并根据第一验证信息加入WiFi Mesh网络。
Description
相关申请的交叉引用
本公开要求享有2021年12月27日提交的名称为“接入WiFi Mesh网络的方法、节点和计算机可读存储介质”的中国专利申请CN202111619539.1的优先权,其全部内容通过引用并入本公开中。
本公开涉及通信技术领域,尤其是涉及一种接入WiFi Mesh网络的方法、节点和计算机可读存储介质。
目前市场上带WiFi Mesh功能的客户终端设备(Customer Premises Equipment,简称“CPE”)或无线路由设备,在进行WiFi Mesh组网时,一般存在两种组网方式。在其中一种组网方式中,首先需要用户在主节点上进行WiFi Mesh部署,然后再在子节点上按起到WiFi保护设置作用的WPS键进行组网。还有一种是在主节点上按WPS键进行部署,然后再在子节点按WPS键加入Mesh网络的组网方式。这两种方式都需要用户阅读产品说明后,分别在主子节点上进行不同的操作才能完成WiFi Mesh的组网。
上述的两种WiFi Mesh组网方式中,组网过程相对复杂,对用户来说有一定的操作门槛。
发明内容
本公开实施方式的目的在于提供一种接入WiFi Mesh网络的方法、节点和计算机可读存储介质,用以使设备便捷地接入WiFi Mesh网络,提高WiFi Mesh组网的便利性。
本公开的实施方式提供了一种接入WiFi Mesh网络的方法,应用于WiFi Mesh网络中的第一节点,包括:在感应到第二节点的近场通信(Near Field Communication,简称“NFC”)场强时,确认第二节点的NFC标签中是否包括请求加入WiFi Mesh网络的信息;在第二节点的NFC标签中包括该信息的情况下,将第一节点的NFC标签中的验证信息更新为第一验证信息,供第二节点读取并根据第一验证信息加入WiFi Mesh网络。
本公开的实施方式还提供了一种接入WiFi Mesh网络的方法,应用于第二节点,第二节点的NFC标签中包括请求加入WiFi Mesh网络的信息,该方法包括:在感应到WiFi Mesh网络中的第一节点的NFC场强时,读取第一节点的NFC标签中的用于加入WiFi Mesh网络的 第一验证信息;根据第一验证信息加入WiFi Mesh网络。
本公开的实施方式还提供了一种第一节点,包括:确认模块,用于在感应到第二节点的NFC场强时,确认第二节点的NFC标签中是否包括请求加入WiFi Mesh网络的信息;更新模块,用于在第二节点的NFC标签中包括该信息的情况下,将第一节点的NFC标签中的验证信息更新为第一验证信息,供第二节点读取并根据第一验证信息加入WiFi Mesh网络。
本公开的实施方式还提供了一种第二节点,第二节点的NFC标签中包括请求加入WiFi Mesh网络的信息,第二节点包括:读取模块,用于在感应到WiFi Mesh网络中的第一节点的NFC场强时,读取第一节点的NFC标签中的用于加入WiFi Mesh网络的第一验证信息;连网模块,用于根据第一验证信息加入WiFi Mesh网络。
本公开的实施方式还提供了一种网络节点,包括:至少一个处理器;以及,与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行上述的接入WiFi Mesh网络的方法。
本公开的实施方式还提供了一种存储有计算机程序的计算机可读存储介质,计算机程序被处理器执行时实现上述的接入WiFi Mesh网络的方法。
一个或多个实施方式通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施方式的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1是根据本公开一实施方式中的接入WiFi Mesh网络的方法流程图;
图2是根据本公开一实施方式中的接入WiFi Mesh网络的方法应用场景示意图;
图3是根据本公开另一实施方式中的接入WiFi Mesh网络的方法流程图;
图4是根据本公开一实施方式中的第一节点的结构示意图;
图5是根据本公开一实施方式中的第二节点的结构示意图;
图6是根据本公开另一实施方式中的网络节点的结构示意图。
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合附图对本公开的各实施方式进行详细的阐述。然而,本领域的普通技术人员可以理解,在本公开各实施方式中,为了使读者更好地理解本公开而提出了许多技术细节。但是,即使没有这些技术细节和基于 以下各实施方式的种种变化和修改,也可以实现本公开所要求保护的技术方案。
本公开的一实施方式涉及一种接入WiFi Mesh网络的方法,应用于WiFi Mesh网络中的第一节点。
在本实施方式中,第一节点在感应到第二节点的NFC场强时,确认第二节点的NFC标签中是否包括请求加入WiFi Mesh网络的信息;在第二节点的NFC标签中包括该信息的情况下,将第一节点的NFC标签中的验证信息更新为第一验证信息,供第二节点读取并根据第一验证信息加入WiFi Mesh网络。
本实施方式的应用场景,即第一节点与第二节点的NFC标签靠近的场景,示意图如图2所示。本实施方式中涉及的WiFi Mesh网络中的第一节点可以包括已经上网的路由设备或CPE,第二节点可以包括不属于该WiFi Mesh的路由设备或CPE。两节点中均预先部署有近场通信(Near Field Communication,简称“NFC”)模块,且具有读卡器功能,即读取NFC信息的NFC Reader功能。此处节点中的NFC模块可以是带有NFC读卡器等功能的芯片。
下面对本实施例中的接入WiFi Mesh网络的方法的实现细节进行具体的说明,以下内容仅为方便理解本方案的实现细节,并非实施本方案的必须。具体流程如图1所示,可包括如下步骤101至102。
步骤101,在感应到第二节点的NFC场强时,确认第二节点的NFC标签中是否包括请求加入WiFi Mesh网络的信息。
在本步骤中,第一节点感应到第二节点的NFC场强,说明第二节点的NFC模块靠近第一节点的NFC模块。进而第一节点通过确认第二节点的NFC标签中是否包括请求加入WiFi Mesh网络的信息,来确认第二节点的靠近是否是请求加入WiFi Mesh网络。
本步骤中涉及的请求加入WiFi Mesh网络的信息可以是在作为第二节点的路由类设备的NFC标签中预先写入的请求加入WiFi Mesh网络的字段,如JOIN_MESH_REQ等。在一实施方式中,对路由类设备进行预先配置的过程中,可以在子路由设备中写入上述字段,并作为本实施方式中的第二节点。也可以在全部路由设备中均写入上述字段,并将首先接入宽带的路由设备作为本实施方式中涉及的第一节点,并在该设备上网后清除其NFC标签中的上述请求加入WiFi Mesh网络的字段,其余未接入网络且需接入WiFi Mesh的路由类设备自动作为第二节点。
第一节点在清除其NFC标签中的上述请求加入WiFi Mesh网络的字段后,可以在其NFC标签中写入用于连接WiFi的第二验证信息,供用户设备通过该第二验证信息接入WiFi网络。
步骤102,在第二节点的NFC标签中包括上述信息的情况下,将第一节点的NFC标签中 的验证信息更新为第一验证信息,供第二节点读取并根据第一验证信息加入WiFi Mesh网络。
在本步骤中,在第二节点的NFC标签中包括请求加入WiFi Mesh网络的信息时,说明第二节点向第一节点靠近是为加入WiFi Mesh网络。于是,第一节点将其NFC标签中的验证信息更新为第一验证信息,使得第二节点能够利用预先配置的读卡器功能读取第一验证信息,并根据第一验证信息加入WiFi Mesh网络。本步骤中涉及的第一验证信息为用于加入WiFi Mesh网络的验证信息。
在一个例子中,在第二节点加入WiFi Mesh网络后,第一节点将第一节点的NFC标签中的验证信息更新为第二验证信息;接收第二节点周期性发送的第二节点的NFC标签中的信息;在第二节点的NFC标签中的信息与第二验证信息不同时,将第二验证信息发送到第二节点,供第二节点更新到第二节点的NFC标签中。
在本实施例中,第一节点首先将NFC标签中的验证信息更新为第二验证信息,供用户设备读取第二验证信息并根据第二验证信息接入WiFi网络。进而周期性检测第二节点的NFC标签中的信息是否与第二验证信息相同,并且在不同的情况下,将第二验证信息发送到第二节点。能够保证第二节点中的第二验证信息与第一节点保持一致,使得用户设备通过WiFi Mesh中的不同路由类设备加入WiFi时,加入的是同一WiFi网络。避免WiFi Mesh中的不同路由类设备中用于连接WiFi的第二验证信息不同,而导致用户通过不同路由类设备联网时产生问题。由于用户可能在WiFi Mesh中的一设备上进行第二验证信息的变更,因此第一节点和第二节点之间仅进行一次第二验证信息的统一无法保证第二验证信息始终一致。因此,第一节点与第二节点的NFC标签中的第二验证信息需进行周期性检测并统一。
第二节点在加入WiFi Mesh网络后,还可以清除其NFC标签中的上述请求加入WiFi Mesh网络的字段,更新为表征已加入WiFi Mesh网络的字段,如JOIN_MESH_COMPLETE等。
在另一个例子中,在确认第二节点的NFC标签中是否包括请求加入WiFi Mesh网络的信息之前,还包括:禁止第一节点的NFC标签被读取;在将第一节点的NFC标签中的验证信息更新为第一验证信息后,还包括:允许第一节点的NFC标签被读取。
在本实施例中,第一节点在感应到第二节点的NFC场强后,在读取第二节点NFC标签中的信息之前,禁止第一节点的NFC标签被读取,能够避免第二节点读取到第一节点的NFC标签中包括第二验证信息在内的其他信息,导致第二节点读取的验证信息并非用于加入WiFi Mesh网络的第一验证信息,而无法达到接入WiFi Mesh网络的目的。
本实施方式中涉及的第一验证信息和第二验证信息,均可以包括:服务集标识SSID(Service Set Identifier,服务集标识)、密钥、鉴权信息以及加密信息。
在本实施方式中,WiFi Mesh网络中的第一节点在感应到第二节点的NFC场强时,能够利用在第一节点中预先配置的NFC信息读取功能,确认第二节点的NFC标签中是否包括请求加入WiFi Mesh网络的信息。在该第二节点的NFC标签中包括请求加入WiFi Mesh网络的信息的情况下,第一节点将NFC标签中的验证信息更新为第一验证信息,供第二节点读取并根据第一验证信息加入WiFi Mesh网络。只需两节点的NFC互相靠近,即可实现第二节点根据第一节点NFC标签中的验证信息接入WiFi Mesh网络。能够大大降低设备接入WiFi Mesh网络的复杂度,提高WiFi Mesh组网的便利性,有效提高用户体验。
本公开的一实施方式涉及一种接入WiFi Mesh网络的方法,应用于第二节点,第二节点的NFC标签中包括请求加入WiFi Mesh网络的信息。
在本实施方式中,第二节点在感应到WiFi Mesh网络中的第一节点的NFC场强时,读取第一节点的NFC标签中的用于加入WiFi Mesh网络的第一验证信息;根据第一验证信息加入WiFi Mesh网络。
下面对本实施例中的接入WiFi Mesh网络的方法的实现细节进行具体的说明,以下内容仅为方便理解本方案的实现细节,并非实施本方案的必须。具体流程如图3所示,可包括如下步骤201至202。
步骤201,在感应到WiFi Mesh网络中的第一节点的NFC场强时,读取第一节点的NFC标签中的用于加入WiFi Mesh网络的第一验证信息。
在本步骤中,第二节点靠近第一节点,请求加入WiFi Mesh网络。进而第二节点读取第一节点的NFC标签中的用于加入WiFi Mesh网络的第一验证信息。
步骤202,根据第一验证信息加入WiFi Mesh网络。
本步骤可以包括,第二节点在读取第一节点的用于加入WiFi Mesh的SSID后,开启用于扫描SSID并建立Mesh信道的Station进程。在第二节点扫描到第一节点的SSID后,进行秘钥等信息的填充等操作,进而连接第一节点的WiFi。连接成功后,两节点间的Mesh信道建立成功,说明第二节点成功加入WiFi Mesh网络。
在一个例子中,第二节点在加入WiFi Mesh网络后,删除第二节点的NFC标签中的请求加入WiFi Mesh网络的信息,并在NFC标签中写入表征已加入WiFi Mesh网络的信息;向第一节点周期性发送第二节点的NFC标签中的信息;在第二节点的NFC标签中的信息与第一节点的NFC标签中的第二验证信息不同时,接收第一节点发送的第二验证信息,并更新到第二节点的NFC标签中。
本实施例中涉及的表征已加入WiFi Mesh网络的信息可以是表征已加入WiFi Mesh网络 的字段,如JOIN_MESH_COMPLETE等。第二节点向第一节点发送第二节点的NFC标签中的信息可以通过建立的与第一节点之间的Mesh信道发送。
多个第二节点通过本实施方式提供的方法接入WiFi Mesh网络,能够完成一张多跳的WiFi Mesh网络的组网工作。
在本实施方式中,NFC标签中包括请求加入WiFi Mesh网络的信息的第二节点,在感应到第一节点的NFC场强时,能够利用在第二节点中预先配置的NFC信息读取功能,读取第一节点的NFC标签中的用于加入WiFi Mesh网络的第一验证信息。第二节点进而根据第一验证信息加入WiFi Mesh网络。只需两节点的NFC互相靠近,即可实现第二节点根据第一节点NFC标签中的验证信息接入WiFi Mesh网络。能够大大降低设备接入WiFi Mesh网络的复杂度,提高WiFi Mesh组网的便利性,有效提高用户体验。
本公开的一实施方式涉及一种第一节点,如图4所示,包括确认模块301和更新模块302,其中,确认模块301,用于在感应到第二节点的NFC场强时,确认第二节点的NFC标签中是否包括请求加入WiFi Mesh网络的信息;更新模块302,用于在第二节点的NFC标签中包括该信息的情况下,将第一节点的NFC标签中的验证信息更新为第一验证信息,供第二节点读取并根据第一验证信息加入WiFi Mesh网络。
在一个例子中,第一节点还可以包括:交互模块(图中未示出),用于在第二节点加入WiFi Mesh网络后,将第一节点的NFC标签中的验证信息更新为第二验证信息;接收第二节点周期性发送的第二节点的NFC标签中的信息;在第二节点的NFC标签中的信息与第二验证信息不同时,将第二验证信息发送到第二节点,供第二节点更新到第二节点的NFC标签中。
在一个例子中,第一节点还可以包括:读取权限设置模块(图中未示出),在确认第二节点的NFC标签中是否包括请求加入WiFi Mesh网络的信息之前,禁止第一节点的NFC标签被读取;在将第一节点的NFC标签中的验证信息更新为第一验证信息后,允许第一节点的NFC标签被读取。
本实施方式的技术效果与上述相应的方法实施方式的技术效果相同,在此不再赘述。
本公开的一实施方式涉及一种第二节点,如图5所示,第二节点的NFC标签中包括请求加入WiFi Mesh网络的信息,包括读取模块401和连网模块402,其中,读取模块401,用于在感应到WiFi Mesh网络中的第一节点的NFC场强时,读取第一节点的NFC标签中的用于加入WiFi Mesh网络的第一验证信息;连网模块402,用于根据第一验证信息加入WiFi Mesh网络。
在一个例子中,第二节点还可以包括:更新模块(图中未示出),用于在加入WiFi Mesh 网络后,删除第二节点的NFC标签中的请求加入WiFi Mesh网络的信息,并在NFC标签中写入表征已加入WiFi Mesh网络的信息;向第一节点周期性发送第二节点的NFC标签中的信息;在第二节点的NFC标签中的信息与第一节点的NFC标签中的第二验证信息不同时,接收第一节点发送的第二验证信息,并更新到第二节点的NFC标签中。
本实施方式的技术效果与上述相应的方法实施方式的技术效果相同,在此不再赘述。
本公开上述实施方式中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,本实施方式中并没有将与解决本公开所提出的技术问题关系不太密切的单元引入,但这并不表明本实施方式中不存在其它的单元。
本公开的实施例还提供一种网络节点,如图6所示,包括至少一个处理器501;以及,与至少一个处理器501通信连接的存储器502;其中,存储器502存储有可被至少一个处理器501执行的指令,指令被至少一个处理器501执行,以使至少一个处理器501能够执行上述接入WiFi Mesh网络的方法。
其中,存储器502和处理器501采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器501和存储器502的各种电路连接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路连接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器501处理的数据通过天线在无线介质上进行传输,在一实施方式中,天线还接收数据并将数据传送给处理器501。
处理器501负责管理总线和通常的处理,还可以提供各种功能,包括定时、外围接口、电压调节、电源管理以及其他控制功能。而存储器502可以被用于存储处理器501在执行操作时所使用的数据。
上述产品可执行本公开实施例所提供的方法,具备执行方法相应的功能模块和有益效果,未在本实施例中详尽描述的技术细节,可参见本公开实施例所提供的方法。
本公开的实施例还提供一种计算机可读存储介质,存储有计算机程序。计算机程序被处理器执行时实现上述接入WiFi Mesh网络的方法。
本领域技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令,用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本公开各个实施例所述方法的全部或 部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
上述实施例是提供给本领域普通技术人员来实现和使用本公开的,本领域普通技术人员可以在不脱离本公开的发明思想的情况下,对上述实施例做出种种修改或变化,因而本公开的保护范围并不被上述实施例所限,而应该符合权利要求书所提到的创新性特征的最大范围。
Claims (10)
- 一种接入WiFi Mesh网络的方法,其中,应用于WiFi Mesh网络中的第一节点,包括:在感应到第二节点的NFC场强时,确认所述第二节点的NFC标签中是否包括请求加入WiFi Mesh网络的信息;在所述第二节点的NFC标签中包括所述信息的情况下,将所述第一节点的NFC标签中的验证信息更新为第一验证信息,供所述第二节点读取并根据所述第一验证信息加入所述WiFi Mesh网络。
- 根据权利要求1所述的接入WiFi Mesh网络的方法,其中,还包括:在所述第二节点加入所述WiFi Mesh网络后,将所述第一节点的NFC标签中的验证信息更新为第二验证信息;接收所述第二节点周期性发送的所述第二节点的NFC标签中的信息;在所述第二节点的NFC标签中的信息与所述第二验证信息不同时,将所述第二验证信息发送到所述第二节点,供所述第二节点更新到所述第二节点的NFC标签中。
- 根据权利要求1所述的接入WiFi Mesh网络的方法,其中,在所述确认所述第二节点的NFC标签中是否包括请求加入WiFi Mesh网络的信息之前,还包括:禁止所述第一节点的NFC标签被读取;在所述将所述第一节点的NFC标签中的验证信息更新为第一验证信息后,还包括:允许所述第一节点的NFC标签被读取。
- 根据权利要求1至3中任一项所述的接入WiFi Mesh网络的方法,其中,所述第一验证信息和第二验证信息,均包括:服务集标识SSID、密钥、鉴权信息以及加密信息。
- 一种接入WiFi Mesh网络的方法,其中,应用于第二节点,所述第二节点的NFC标签中包括请求加入WiFi Mesh网络的信息,所述方法包括:在感应到WiFi Mesh网络中的第一节点的NFC场强时,读取所述第一节点的NFC标签中的第一验证信息;根据所述第一验证信息加入所述WiFi Mesh网络。
- 根据权利要求5所述的接入WiFi Mesh网络的方法,其中,还包括:在加入所述WiFi Mesh网络后,删除所述第二节点的NFC标签中的请求加入WiFi Mesh网络的信息,并在NFC标签中写入表征已加入WiFi Mesh网络的信息;向所述第一节点周期性发送所述第二节点的NFC标签中的信息;在所述第二节点的NFC标签中的信息与所述第一节点的NFC标签中的第二验证信息不同时,接收所述第一节点发送的所述第二验证信息,并更新到所述第二节点的NFC标签中。
- 一种第一节点,其中,包括:确认模块,用于在感应到第二节点的NFC场强时,确认所述第二节点的NFC标签中是否包括请求加入WiFi Mesh网络的信息;更新模块,用于在所述第二节点的NFC标签中包括所述信息的情况下,将所述第一节点的NFC标签中的验证信息更新为第一验证信息,供所述第二节点读取并根据所述第一验证信息加入所述WiFi Mesh网络。
- 一种第二节点,其中,所述第二节点的NFC标签中包括请求加入WiFi Mesh网络的信息,所述第二节点包括:读取模块,用于在感应到WiFi Mesh网络中的第一节点的NFC场强时,读取所述第一节点的NFC标签中的第一验证信息;连网模块,用于根据所述第一验证信息加入所述WiFi Mesh网络。
- 一种网络节点,其中,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至6中任一项所述的接入WiFi Mesh网络的方法。
- 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至6中任一项所述的接入WiFi Mesh网络的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111619539.1 | 2021-12-27 | ||
| CN202111619539.1A CN116405989A (zh) | 2021-12-27 | 2021-12-27 | 接入WiFi Mesh网络的方法、节点和计算机可读存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023124263A1 true WO2023124263A1 (zh) | 2023-07-06 |
Family
ID=86997408
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/119371 Ceased WO2023124263A1 (zh) | 2021-12-27 | 2022-09-16 | 接入WiFi Mesh网络的方法、节点和计算机可读存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN116405989A (zh) |
| WO (1) | WO2023124263A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118921630A (zh) * | 2024-10-09 | 2024-11-08 | 浙江大华技术股份有限公司 | 一种Mesh网络的组播方法、系统、设备及存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150326442A1 (en) * | 2014-05-07 | 2015-11-12 | Fantem Technologies (Shenzhen) Co., Ltd. | Method, node, and gateway for triggering networking |
| CN105451130A (zh) * | 2015-11-04 | 2016-03-30 | 广东欧珀移动通信有限公司 | 一种网络切换方法及移动终端 |
| CN109831769A (zh) * | 2019-04-02 | 2019-05-31 | 东莞市云茂智能科技有限公司 | 一种蓝牙设备通过NFC方式加入蓝牙mesh网络的方法及系统 |
| US20210099835A1 (en) * | 2019-09-30 | 2021-04-01 | Cognitive Systems Corp. | Detecting A Location of Motion Using Wireless Signals and Topologies of Wireless Connectivity |
| CN113115403A (zh) * | 2021-03-25 | 2021-07-13 | 北京小米移动软件有限公司 | 网络节点接入网络的方法、装置、电子设备及存储介质 |
-
2021
- 2021-12-27 CN CN202111619539.1A patent/CN116405989A/zh active Pending
-
2022
- 2022-09-16 WO PCT/CN2022/119371 patent/WO2023124263A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150326442A1 (en) * | 2014-05-07 | 2015-11-12 | Fantem Technologies (Shenzhen) Co., Ltd. | Method, node, and gateway for triggering networking |
| CN105451130A (zh) * | 2015-11-04 | 2016-03-30 | 广东欧珀移动通信有限公司 | 一种网络切换方法及移动终端 |
| CN109831769A (zh) * | 2019-04-02 | 2019-05-31 | 东莞市云茂智能科技有限公司 | 一种蓝牙设备通过NFC方式加入蓝牙mesh网络的方法及系统 |
| US20210099835A1 (en) * | 2019-09-30 | 2021-04-01 | Cognitive Systems Corp. | Detecting A Location of Motion Using Wireless Signals and Topologies of Wireless Connectivity |
| CN113115403A (zh) * | 2021-03-25 | 2021-07-13 | 北京小米移动软件有限公司 | 网络节点接入网络的方法、装置、电子设备及存储介质 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118921630A (zh) * | 2024-10-09 | 2024-11-08 | 浙江大华技术股份有限公司 | 一种Mesh网络的组播方法、系统、设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116405989A (zh) | 2023-07-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9678693B2 (en) | Method of setting wireless connection via near field communication function and image forming apparatus for performing the method | |
| US10492203B2 (en) | Method and apparatus for executing an application automatically according to the approach of wireless device | |
| JP6138184B2 (ja) | 近距離通信における多重アプリケーション管理方法及びシステム | |
| CN101501735B (zh) | 通过识别应用程序在近场通信芯片组中路由输入应用程序数据的方法 | |
| CN101491052B (zh) | 在包括多个主处理器之nfc芯片组中应用控制的方法 | |
| US10470102B2 (en) | MAC address-bound WLAN password | |
| US12082303B2 (en) | Method and apparatus for moving profiles with different versions during device change | |
| CN109327823B (zh) | 组网方法、装置、系统、ZigBee设备及存储介质 | |
| CN106452999B (zh) | 一种智能家电及安全访问智能家电的方法和装置 | |
| US20220174473A1 (en) | System and Method for Registration During Device Onboarding | |
| US12580781B2 (en) | Device management method, system, and apparatus | |
| CN106658488B (zh) | 一种智能家电及安全访问智能家电的方法和装置 | |
| WO2023124263A1 (zh) | 接入WiFi Mesh网络的方法、节点和计算机可读存储介质 | |
| CN114731505B (zh) | 用于在装置之间的包传输后设置包的状态的方法和设备 | |
| CN114244887B (zh) | 通道管理方法、装置和电子设备 | |
| CN113242060B (zh) | 接入网络的方法和装置、存储介质及电子装置 | |
| WO2019011328A1 (zh) | 无线接入方法和装置 | |
| CN119895787A (zh) | 去中心化标识认证和授权 | |
| CN114640992B (zh) | 更新用户身份标识的方法和装置 | |
| WO2019104989A1 (zh) | 终端和通信方法 | |
| CN113709849A (zh) | 待入网设备的入网方法和装置、存储介质及电子装置 | |
| CN109429226B (zh) | 一种临时用户凭证的生成方法、用户卡、终端及网络设备 | |
| WO2025157106A1 (zh) | 一种通信方法及装置 | |
| US20250330809A1 (en) | System and method of a secure virtual wireless leash for wireless peripheral devices | |
| WO2026073505A1 (en) | Method and apparatus for enabling/disabling ambient internet of things (aiot) device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22913528 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22913528 Country of ref document: EP Kind code of ref document: A1 |